Sirikata
Public Member Functions | Public Attributes | Private Attributes
Sirikata::AggregateManager::AggregateObject Struct Reference
Collaboration diagram for Sirikata::AggregateManager::AggregateObject:

List of all members.

Public Member Functions

std::vector< AggregateObjectPtrgetChildrenCopy ()
std::size_t childrenSize ()
void addChild (AggregateObjectPtr child)
bool hasChild (const UUID &child)
void removeChild (const UUID &child)
 AggregateObject (const UUID &uuid, const UUID &parentUUID, bool is_leaf)

Public Attributes

UUID mUUID
std::set< UUIDmParentUUIDs
bool leaf
Time mLastGenerateTime
bool generatedLastRound
Mesh::MeshdataPtr mMeshdata
uint16 mTreeLevel
uint32 mNumObservers
uint32 mNumFailedGenerationAttempts
double mDistance
std::vector< UUIDmLeaves
String cdnBaseName
Time refreshTTL

Private Attributes

boost::mutex mChildrenMutex
std::vector
< std::tr1::shared_ptr< struct
AggregateObject > > 
mChildren

Constructor & Destructor Documentation

Sirikata::AggregateManager::AggregateObject::AggregateObject ( const UUID uuid,
const UUID parentUUID,
bool  is_leaf 
) [inline]

Member Function Documentation

void Sirikata::AggregateManager::AggregateObject::addChild ( AggregateObjectPtr  child) [inline]
std::size_t Sirikata::AggregateManager::AggregateObject::childrenSize ( ) [inline]
std::vector<AggregateObjectPtr> Sirikata::AggregateManager::AggregateObject::getChildrenCopy ( ) [inline]
bool Sirikata::AggregateManager::AggregateObject::hasChild ( const UUID child) [inline]
void Sirikata::AggregateManager::AggregateObject::removeChild ( const UUID child) [inline]

Member Data Documentation

std::vector< std::tr1::shared_ptr<struct AggregateObject> > Sirikata::AggregateManager::AggregateObject::mChildren [private]

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