Sirikata
|
Public Types | |
typedef std::set< SubscriberType > | SubscriberSet |
typedef std::tr1::shared_ptr < SubscriberInfo > | SubscriberInfoPtr |
typedef std::map < SubscriberType, SubscriberInfoPtr > | SubscriberMap |
typedef std::map< UUID, SubscriberSet * > | ObjectSubscribersMap |
typedef std::tr1::function < void(UpdateInfo &)> | UpdateFunctor |
Public Member Functions | |
SubscriberIndex (AlwaysLocationUpdatePolicy *p, AtomicValue< uint32 > &_sent_count) | |
~SubscriberIndex () | |
void | subscribe (const SubscriberType &remote, const UUID &uuid, SeqNoPtr seqnoPtr) |
void | subscribe (const SubscriberType &remote, const UUID &uuid, ProxIndexID index_id, SeqNoPtr seqnoPtr) |
void | subscribe (const SubscriberType &remote, const UUID &uuid, ProxIndexID *index_id, SeqNoPtr seqnoPtr) |
void | unsubscribe (const SubscriberType &remote, const UUID &uuid) |
void | unsubscribe (const SubscriberType &remote, const UUID &uuid, ProxIndexID index_id) |
void | unsubscribe (const SubscriberType &remote, const UUID &uuid, ProxIndexID *index_id) |
void | unsubscribe (const SubscriberType &remote) |
void | propertyUpdated (const UUID &uuid, LocationService *locservice, UpdateFunctor fup) |
void | propertyUpdatedForSubscriber (const UUID &uuid, LocationService *locservice, SubscriberType sub, UpdateFunctor fup) |
void | locationUpdated (const UUID &uuid, const TimedMotionVector3f &newval, LocationService *locservice) |
void | orientationUpdated (const UUID &uuid, const TimedMotionQuaternion &newval, LocationService *locservice) |
void | boundsUpdated (const UUID &uuid, const AggregateBoundingInfo &newval, LocationService *locservice) |
void | meshUpdated (const UUID &uuid, const String &newval, LocationService *locservice) |
void | physicsUpdated (const UUID &uuid, const String &newval, LocationService *locservice) |
void | service () |
Static Public Member Functions | |
static void | setUILocation (UpdateInfo &ui, const TimedMotionVector3f &newval) |
static void | setUIOrientation (UpdateInfo &ui, const TimedMotionQuaternion &newval) |
static void | setUIBounds (UpdateInfo &ui, const AggregateBoundingInfo &newval) |
static void | setUIMesh (UpdateInfo &ui, const String &newval) |
static void | setUIPhysics (UpdateInfo &ui, const String &newval) |
Public Attributes | |
AlwaysLocationUpdatePolicy * | parent |
AtomicValue< uint32 > & | sent_count |
SubscriberMap | mSubscriptions |
ObjectSubscribersMap | mObjectSubscribers |
typedef std::map<UUID, SubscriberSet*> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::ObjectSubscribersMap |
typedef std::tr1::shared_ptr<SubscriberInfo> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberInfoPtr |
typedef std::map<SubscriberType, SubscriberInfoPtr> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberMap |
typedef std::set<SubscriberType> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberSet |
typedef std::tr1::function<void(UpdateInfo&)> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::UpdateFunctor |
Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberIndex | ( | AlwaysLocationUpdatePolicy * | p, |
AtomicValue< uint32 > & | _sent_count | ||
) | [inline] |
Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::~SubscriberIndex | ( | ) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::boundsUpdated | ( | const UUID & | uuid, |
const AggregateBoundingInfo & | newval, | ||
LocationService * | locservice | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::locationUpdated | ( | const UUID & | uuid, |
const TimedMotionVector3f & | newval, | ||
LocationService * | locservice | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::meshUpdated | ( | const UUID & | uuid, |
const String & | newval, | ||
LocationService * | locservice | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::orientationUpdated | ( | const UUID & | uuid, |
const TimedMotionQuaternion & | newval, | ||
LocationService * | locservice | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::physicsUpdated | ( | const UUID & | uuid, |
const String & | newval, | ||
LocationService * | locservice | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::propertyUpdated | ( | const UUID & | uuid, |
LocationService * | locservice, | ||
UpdateFunctor | fup | ||
) | [inline] |
Referenced by Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::boundsUpdated(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::locationUpdated(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::meshUpdated(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::orientationUpdated(), and Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::physicsUpdated().
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::propertyUpdatedForSubscriber | ( | const UUID & | uuid, |
LocationService * | locservice, | ||
SubscriberType | sub, | ||
UpdateFunctor | fup | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::service | ( | ) | [inline] |
Referenced by Sirikata::AlwaysLocationUpdatePolicy::service().
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIBounds | ( | UpdateInfo & | ui, |
const AggregateBoundingInfo & | newval | ||
) | [inline, static] |
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUILocation | ( | UpdateInfo & | ui, |
const TimedMotionVector3f & | newval | ||
) | [inline, static] |
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIMesh | ( | UpdateInfo & | ui, |
const String & | newval | ||
) | [inline, static] |
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIOrientation | ( | UpdateInfo & | ui, |
const TimedMotionQuaternion & | newval | ||
) | [inline, static] |
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIPhysics | ( | UpdateInfo & | ui, |
const String & | newval | ||
) | [inline, static] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid, | ||
SeqNoPtr | seqnoPtr | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid, | ||
ProxIndexID | index_id, | ||
SeqNoPtr | seqnoPtr | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid, | ||
ProxIndexID * | index_id, | ||
SeqNoPtr | seqnoPtr | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid, | ||
ProxIndexID * | index_id | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid, | ||
ProxIndexID | index_id | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe | ( | const SubscriberType & | remote, |
const UUID & | uuid | ||
) | [inline] |
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe | ( | const SubscriberType & | remote | ) | [inline] |
ObjectSubscribersMap Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::mObjectSubscribers |
Referenced by Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::propertyUpdated(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::subscribe(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::unsubscribe(), and Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::~SubscriberIndex().
SubscriberMap Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::mSubscriptions |
Referenced by Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::propertyUpdatedForSubscriber(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::service(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::subscribe(), Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::unsubscribe(), and Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< OHDP::NodeID >::~SubscriberIndex().
AlwaysLocationUpdatePolicy* Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::parent |
AtomicValue<uint32>& Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::sent_count |