Sirikata
Public Types | Public Member Functions | Private Attributes
Sirikata::SequencedPresenceProperties Class Reference

Stores the basic properties for objects, i.e. More...

#include <PresenceProperties.hpp>

Inheritance diagram for Sirikata::SequencedPresenceProperties:
Collaboration diagram for Sirikata::SequencedPresenceProperties:

List of all members.

Public Types

enum  LOC_PARTS {
  LOC_POS_PART = 0, LOC_ORIENT_PART = 1, LOC_BOUNDS_PART = 2, LOC_MESH_PART = 3,
  LOC_PHYSICS_PART = 4, LOC_IS_AGG_PART = 5, LOC_PARENT_PART = 6, LOC_NUM_PART = 7
}

Public Member Functions

 SequencedPresenceProperties ()
virtual ~SequencedPresenceProperties ()
uint64 getUpdateSeqNo (LOC_PARTS whichPart) const
bool setLocation (const TimedMotionVector3f &reqloc, uint64 seqno)
bool setLocation (const TimedMotionVector3f &l)
bool setOrientation (const TimedMotionQuaternion &reqorient, uint64 seqno)
bool setOrientation (const TimedMotionQuaternion &o)
bool setBounds (const AggregateBoundingInfo &b, uint64 seqno)
bool setBounds (const AggregateBoundingInfo &b)
bool setMesh (const Transfer::URI &m, uint64 seqno)
bool setMesh (const Transfer::URI &m)
bool setPhysics (const String &p, uint64 seqno)
bool setPhysics (const String &p)
bool setIsAggregate (bool isAgg, uint64 seqno)
bool setIsAggregate (bool isAgg)
bool setParent (const ObjectReference &parent, uint64 seqno)
bool setParent (const ObjectReference &parent)
void reset ()
uint64 maxSeqNo () const

Private Attributes

uint64 mUpdateSeqno [LOC_NUM_PART]

Detailed Description

Stores the basic properties for objects, i.e.

location, orientation, mesh, etc., as well sequence numbers for each of those properties. Useful in determining the most up-to-date information for an object.


Member Enumeration Documentation

Enumerator:
LOC_POS_PART 
LOC_ORIENT_PART 
LOC_BOUNDS_PART 
LOC_MESH_PART 
LOC_PHYSICS_PART 
LOC_IS_AGG_PART 
LOC_PARENT_PART 
LOC_NUM_PART 

Constructor & Destructor Documentation

Sirikata::SequencedPresenceProperties::SequencedPresenceProperties ( ) [inline]

References reset().

virtual Sirikata::SequencedPresenceProperties::~SequencedPresenceProperties ( ) [inline, virtual]

Member Function Documentation

uint64 Sirikata::SequencedPresenceProperties::getUpdateSeqNo ( LOC_PARTS  whichPart) const [inline]
uint64 Sirikata::SequencedPresenceProperties::maxSeqNo ( ) const [inline]
void Sirikata::SequencedPresenceProperties::reset ( ) [inline]
bool Sirikata::SequencedPresenceProperties::setBounds ( const AggregateBoundingInfo b,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setBounds ( const AggregateBoundingInfo b) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setBounds().

bool Sirikata::SequencedPresenceProperties::setIsAggregate ( bool  isAgg,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setIsAggregate ( bool  isAgg) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setIsAggregate().

bool Sirikata::SequencedPresenceProperties::setLocation ( const TimedMotionVector3f reqloc,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setLocation ( const TimedMotionVector3f l) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setLocation().

bool Sirikata::SequencedPresenceProperties::setMesh ( const Transfer::URI m,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setMesh ( const Transfer::URI m) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setMesh().

bool Sirikata::SequencedPresenceProperties::setOrientation ( const TimedMotionQuaternion reqorient,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setOrientation ( const TimedMotionQuaternion o) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setOrientation().

bool Sirikata::SequencedPresenceProperties::setParent ( const ObjectReference parent) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setParent().

bool Sirikata::SequencedPresenceProperties::setParent ( const ObjectReference parent,
uint64  seqno 
) [inline]
bool Sirikata::SequencedPresenceProperties::setPhysics ( const String &  p) [inline, virtual]

Reimplemented from Sirikata::PresenceProperties.

References setPhysics().

bool Sirikata::SequencedPresenceProperties::setPhysics ( const String &  p,
uint64  seqno 
) [inline]

Member Data Documentation


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