![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects. More...
Inheritance diagram for DtDIGuyObjectStateRepository:
Collaboration diagram for DtDIGuyObjectStateRepository:Public Member Functions | |
| DtDIGuyObjectStateRepository () | |
| Constructor. More... | |
| virtual | ~DtDIGuyObjectStateRepository () |
| Destructor. More... | |
| DtDIGuyObjectStateRepository (const DtDIGuyObjectStateRepository &orig) | |
| Copy Constructor. More... | |
| DtDIGuyObjectStateRepository & | operator= (const DtDIGuyObjectStateRepository &orig) |
| Assignment Operator. More... | |
| virtual DtStateRepository * | clone (bool copy) const |
| Return a copy/empty object of the same type as this. More... | |
| virtual void | printData () const |
| Print data to the DtInfo stream. More... | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print data to the specified stream. More... | |
| virtual void | setEntityIdentifier (const DtEntityIdentifier &val) |
| Set the EntityIdentifier. More... | |
| virtual const DtEntityIdentifier & | entityIdentifier () const |
| Get the EntityIdentifier.". More... | |
| virtual void | setObjectIdentifier (const DtGlobalObjectDesignator &val) |
| Set the HostObjectIdentifier. More... | |
| virtual const DtGlobalObjectDesignator & | objectIdentifier () const |
| Get the HostObjectIdentifier.". More... | |
| virtual void | setType (const DtString &newType, const DtString &newAppearance) |
| When updating type, it will typically make sense to also update the Appearance. More... | |
| virtual void | setType (const DtString &val) |
| virtual const DtString & | type () const |
| virtual void | setBodyAppearance (const DtString &val) |
| Set/Get body appearance. More... | |
| virtual const DtString & | bodyAppearance () const |
| Set/Get body appearance. More... | |
| virtual void | setHeadAppearance (const DtString &val) |
| Set/Get head appearance (only supported in DI-Guy 13 and later) More... | |
| virtual const DtString & | headAppearance () const |
| Set/Get head appearance (only supported in DI-Guy 13 and later) More... | |
| virtual void | setBodyWeight (double val) |
| Set/Get body weight. More... | |
| virtual double | bodyWeight () const |
| Set/Get body weight. More... | |
| virtual void | setItemAppearance (const DtString &val) |
| Set/Get item appearance (only supported in DI-Guy 13 and later) More... | |
| virtual const DtString & | itemAppearance () const |
| Set/Get item appearance (only supported in DI-Guy 13 and later) More... | |
| virtual bool | setAccessoryAppearance (unsigned int index, const DtString &val) |
| Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false. More... | |
| virtual const DtString & | accessoryAppearance (unsigned int index) const |
| Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false. More... | |
| virtual void | setAccessoryAppearanceCount (unsigned int index) |
| Set/Get the accessory appearance count (only supported in DI-Guy 13 and later). More... | |
| virtual unsigned int | accessoryAppearanceCount () const |
| Set/Get the accessory appearance count (only supported in DI-Guy 13 and later). More... | |
| virtual void | setAction (const DtString &val) |
| Set/Get action. More... | |
| virtual void | setAction (const DtString &val, bool paused, double speed=0.0, bool useActionPositioning=false, const DtVector &offset=DtVector(0, 0, 0), double transitionSpeed=1.0) |
| Set/Get action. More... | |
| virtual const DtString & | action () const |
| Set/Get action. More... | |
| virtual bool | useActionPositioning () const |
| Set/Get action. More... | |
| virtual const DtVector & | actionOffset () const |
| Set/Get action. More... | |
| virtual void | setActionPaused (bool paused) |
| Set/Get action pause state. More... | |
| virtual bool | isActionPaused () const |
| Set/Get action pause state. More... | |
| virtual double | actionSpeed () const |
| Set/Get action speed. More... | |
| virtual void | setActionSpeed (double speed) |
| Set/Get action speed. More... | |
| virtual double | transitionSpeed () const |
| Set/Get transition speed. More... | |
| virtual void | setTransitionSpeed (double speed) |
| Set/Get transition speed. More... | |
| virtual void | setVisible (bool visibile) |
| Set/Get visible state. More... | |
| virtual bool | isVisible () const |
| Set/Get visible state. More... | |
| virtual const DtVector & | characterScale () const |
| Set/Get character scale (only supported in DI-Guy 13 and later) More... | |
| virtual void | setCharacterScale (const DtVector &scale) |
| Set/Get character scale (only supported in DI-Guy 13 and later) More... | |
| virtual void | setUnit (const DtPatchIdentifier &patchId) |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual const DtPatchIdentifier & | unit () const |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual void | setPersonalUnit (const DtPatchIdentifier &patchId) |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual const DtPatchIdentifier & | personalUnit () const |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual void | setRank (const DtPatchIdentifier &patchId) |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual const DtPatchIdentifier & | rank () const |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual void | setName (const DtString &val) |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
| virtual const DtString & | name () const |
| Set/Get patch values for Rank, Unit, Personal Unit, and Name. More... | |
Public Member Functions inherited from DtStateRepository | |
| DtStateRepository () | |
| default constructor More... | |
| DtStateRepository (const DtStateRepository &orig) | |
| copy constructor More... | |
| virtual | ~DtStateRepository () |
| destructor More... | |
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| assignment operator More... | |
| virtual void | setGlobalId (const DtString &id) |
| Get/Set global identifier, or name. More... | |
| virtual const DtString & | globalId () const |
| virtual void | setLocalId (const DtObjectId &id) |
| Get/Set local identifier, or handle. More... | |
| virtual const DtObjectId & | localId () const |
| virtual bool | publishesAttribute (const RTI::AttributeHandle &val) const |
| Returns true if the attribute is published. More... | |
| virtual void | setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size) |
| Set the attribute with the given handle. More... | |
| virtual const char * | getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| Get a pointer to attribute value for the attribute with the given handle. More... | |
| virtual void | setAttributeByName (const DtString &attrName, const char *attrValue, unsigned size, DtHlaObject *hlaObj) |
| Set the attribute with the given name. Note that in order to do this you must provide a DtHlaObject. More... | |
| virtual const char * | getAttributeByName (const DtString &attrName, unsigned &size, DtHlaObject *hlaObj) const |
| Get a pointer to attribute value for the attribute with the given name. More... | |
| virtual const char * | getAttributeByHandleIfUpdated (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| Get a pointer to attribute value for the attribute with the given handle, but only if it's been updated since the last time we read it. More... | |
| virtual DtStateRepositoryExtension * | stateRepositoryExtension (DtString srExtName) const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual std::vector< DtString > | stateRepositoryExtensionNames () const |
| Returns a set of the registered state repository extension names. More... | |
| virtual void | setStateRepositoryExtensions (std::map< DtString, DtStateRepositoryExtension * > extensions) |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
| virtual const std::map < DtString, DtStateRepositoryExtension * > | stateRepositoryExtensions () const |
| Returns pointer to a DtStateRepositoryExtension object with the given name Returns 0 if no extension with given name is found. More... | |
Static Public Member Functions | |
| static DtDIGuyObjectStateRepository * | create () |
| Create a DtDIGuyObjectStateRepository. More... | |
Static Public Member Functions inherited from DtStateRepository | |
| static bool | addStateRepositoryExtension (DtString srExtName, DtSrExtCreatorFnc fnc) |
| The following functions are for extending state repositories through State Repository Extension classes. More... | |
Protected Attributes | |
| DtEntityIdentifier | myEntityIdentifier |
| DtGlobalObjectDesignator | myObjectIdentifier |
| DtString | myAction |
| bool | myActionPaused |
| double | myActionSpeed |
| bool | myVisible |
| DtString | myBodyAppearance |
| DtString | myHeadAppearance |
| DtString | myItemAppearance |
| std::vector< DtString > | myAccessoryAppearance |
| DtString | myType |
| DtDiGuyLinkShapeMap | myShapeVariations |
| DtVector | myCharacterScale |
| bool | myIsShapeVariationsDirty |
| bool | myUseActionPositioningFlag |
| DtVector | myActionOffset |
| double | myTransitionSpeed |
| double | myBodyWeight |
| DtPatchIdentifier | myUnit |
| DtPatchIdentifier | myPersonalUnit |
| DtPatchIdentifier | myRank |
| DtString | myName |
| virtual void | addShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, const DtDiGuyPixelData &pixelData) |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual void | removeShapeVariation (unsigned int linkIndex, unsigned int shapeIndex) |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual const DtDiGuyPixelData & | shapeVariation (unsigned int linkIndex, unsigned int shapeIndex, bool &dataIsValid) const |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual bool | getShapeVariation (unsigned int linkIndex, unsigned int shapeIndex, DtDiGuyPixelData &pixelData) const |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual void | setShapeVariations (const DtDiGuyLinkShapeMap &variations) |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual const DtDiGuyLinkShapeMap & | shapeVariations () const |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual DtDiGuyLinkShapeMap & | shapeVariations () |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
| virtual void | setShapeVariationsDirty () |
| Flags the shape variation data as dirty. More... | |
| virtual bool | isShapeVariationsDirty () const |
| Indicates if variation data received over the network was flagged as changed or has been modified since last network update. More... | |
| virtual void | clearShapeVariationsDirty () const |
| Clears dirty flag. More... | |
| static const DtDiGuyPixelData & | shapeVariation (const DtDiGuyLinkShapeMap &shapeVariations, int linkIndex, unsigned int shapeIndex, bool &dataIsValid) |
| Set/Get share variations (only supported in DI-Guy 13 and later) More... | |
Additional Inherited Members | |
Public Types inherited from DtStateRepository | |
| typedef std::map< DtString, DtStateRepositoryExtension * > | DtStateRepositoryExtensionMap |
Public Attributes inherited from DtStateRepository | |
| DtString | myGlobalId |
| DtObjectId | myLocalId |
| std::map< RTI::AttributeHandle, DtGenericAttributeInfo * > | myAttributesByHandle |
| Attributes by handle. More... | |
| DtStateRepositoryExtensionMap | myStateRepositoryExtensionMap |
Static Public Attributes inherited from DtStateRepository | |
| static std::map< DtString, DtSrExtCreatorFnc > | theStateRepositoryExtensionCreatorMap |
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects.
| DtDIGuyObjectStateRepository::DtDIGuyObjectStateRepository | ( | ) |
Constructor.
|
virtual |
Destructor.
| DtDIGuyObjectStateRepository::DtDIGuyObjectStateRepository | ( | const DtDIGuyObjectStateRepository & | orig | ) |
Copy Constructor.
|
virtual |
Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false.
|
virtual |
Set/Get the accessory appearance count (only supported in DI-Guy 13 and later).
|
virtual |
Set/Get action.
|
virtual |
Set/Get action.
|
virtual |
Set/Get action speed.
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get body appearance.
|
virtual |
Set/Get body weight.
|
virtual |
Set/Get character scale (only supported in DI-Guy 13 and later)
|
virtual |
Clears dirty flag.
|
virtual |
Return a copy/empty object of the same type as this.
Reimplemented from DtStateRepository.
|
static |
Create a DtDIGuyObjectStateRepository.
|
virtual |
Get the EntityIdentifier.".
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get head appearance (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get action pause state.
|
virtual |
Indicates if variation data received over the network was flagged as changed or has been modified since last network update.
|
virtual |
Set/Get visible state.
|
virtual |
Set/Get item appearance (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Get the HostObjectIdentifier.".
| DtDIGuyObjectStateRepository& DtDIGuyObjectStateRepository::operator= | ( | const DtDIGuyObjectStateRepository & | orig | ) |
Assignment Operator.
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Print data to the DtInfo stream.
Reimplemented from DtStateRepository.
|
virtual |
Print data to the specified stream.
Reimplemented from DtStateRepository.
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get accessory appearance (only supported in DI-Guy 13 and later) If the index is larger than the count, this will do nothing and return false.
|
virtual |
Set/Get the accessory appearance count (only supported in DI-Guy 13 and later).
|
virtual |
Set/Get action.
|
virtual |
Set/Get action.
|
virtual |
Set/Get action pause state.
|
virtual |
Set/Get action speed.
|
virtual |
Set/Get body appearance.
|
virtual |
Set/Get body weight.
|
virtual |
Set/Get character scale (only supported in DI-Guy 13 and later)
|
virtual |
Set the EntityIdentifier.
|
virtual |
Set/Get head appearance (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get item appearance (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set the HostObjectIdentifier.
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Flags the shape variation data as dirty.
|
virtual |
Set/Get transition speed.
|
virtual |
When updating type, it will typically make sense to also update the Appearance.
Prefer the setType form that also updates appearance.
|
virtual |
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set/Get visible state.
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
static |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get share variations (only supported in DI-Guy 13 and later)
|
virtual |
Set/Get transition speed.
|
virtual |
|
virtual |
Set/Get patch values for Rank, Unit, Personal Unit, and Name.
|
virtual |
Set/Get action.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |