Sirikata
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType > Struct Template Reference
Collaboration diagram for Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >:

List of all members.

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

AlwaysLocationUpdatePolicyparent
AtomicValue< uint32 > & sent_count
SubscriberMap mSubscriptions
ObjectSubscribersMap mObjectSubscribers

template<typename SubscriberType>
struct Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >


Member Typedef Documentation

template<typename SubscriberType>
typedef std::map<UUID, SubscriberSet*> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::ObjectSubscribersMap
template<typename SubscriberType>
typedef std::tr1::shared_ptr<SubscriberInfo> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberInfoPtr
template<typename SubscriberType>
typedef std::map<SubscriberType, SubscriberInfoPtr> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberMap
template<typename SubscriberType>
typedef std::set<SubscriberType> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberSet
template<typename SubscriberType>
typedef std::tr1::function<void(UpdateInfo&)> Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::UpdateFunctor

Constructor & Destructor Documentation

template<typename SubscriberType>
Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::SubscriberIndex ( AlwaysLocationUpdatePolicy p,
AtomicValue< uint32 > &  _sent_count 
) [inline]
template<typename SubscriberType>
Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::~SubscriberIndex ( ) [inline]

Member Function Documentation

template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::boundsUpdated ( const UUID uuid,
const AggregateBoundingInfo newval,
LocationService locservice 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::locationUpdated ( const UUID uuid,
const TimedMotionVector3f newval,
LocationService locservice 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::meshUpdated ( const UUID uuid,
const String &  newval,
LocationService locservice 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::orientationUpdated ( const UUID uuid,
const TimedMotionQuaternion newval,
LocationService locservice 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::physicsUpdated ( const UUID uuid,
const String &  newval,
LocationService locservice 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::propertyUpdated ( const UUID uuid,
LocationService locservice,
UpdateFunctor  fup 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::propertyUpdatedForSubscriber ( const UUID uuid,
LocationService locservice,
SubscriberType  sub,
UpdateFunctor  fup 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::service ( ) [inline]
template<typename SubscriberType>
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIBounds ( UpdateInfo ui,
const AggregateBoundingInfo newval 
) [inline, static]
template<typename SubscriberType>
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUILocation ( UpdateInfo ui,
const TimedMotionVector3f newval 
) [inline, static]
template<typename SubscriberType>
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIMesh ( UpdateInfo ui,
const String &  newval 
) [inline, static]
template<typename SubscriberType>
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIOrientation ( UpdateInfo ui,
const TimedMotionQuaternion newval 
) [inline, static]
template<typename SubscriberType>
static void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::setUIPhysics ( UpdateInfo ui,
const String &  newval 
) [inline, static]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe ( const SubscriberType &  remote,
const UUID uuid,
SeqNoPtr  seqnoPtr 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe ( const SubscriberType &  remote,
const UUID uuid,
ProxIndexID  index_id,
SeqNoPtr  seqnoPtr 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::subscribe ( const SubscriberType &  remote,
const UUID uuid,
ProxIndexID index_id,
SeqNoPtr  seqnoPtr 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe ( const SubscriberType &  remote,
const UUID uuid,
ProxIndexID index_id 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe ( const SubscriberType &  remote,
const UUID uuid,
ProxIndexID  index_id 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe ( const SubscriberType &  remote,
const UUID uuid 
) [inline]
template<typename SubscriberType>
void Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::unsubscribe ( const SubscriberType &  remote) [inline]

Member Data Documentation

template<typename SubscriberType>
SubscriberMap Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::mSubscriptions
template<typename SubscriberType>
AlwaysLocationUpdatePolicy* Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::parent
template<typename SubscriberType>
AtomicValue<uint32>& Sirikata::AlwaysLocationUpdatePolicy::SubscriberIndex< SubscriberType >::sent_count

The documentation for this struct was generated from the following file: