Public Member Functions |
| | DtEmitterSystemRepository () |
| | default constructor
|
| virtual | ~DtEmitterSystemRepository () |
| | destructor
|
| | DtEmitterSystemRepository (const DtEmitterSystemRepository &orig) |
| | copy constructor
|
| DtEmitterSystemRepository & | operator= (const DtEmitterSystemRepository &orig) |
| | assignment operator
|
| virtual DtStateRepository * | clone (bool copy=false) const |
| | Return a copy/empty object of the same type as this.
|
| virtual void | setEmitterFunction (DtEmissionFunc function) |
| | Set/Get the emitter function.
|
| virtual DtEmissionFunc | emitterFunction () const |
| virtual void | setEmitterName (DtEmitterSysName name) |
| | Set/Get the emitter name.
|
| virtual DtEmitterSysName | emitterName () const |
| virtual void | setEmitterNumber (DtU8 number) |
| | Set/Get the emitter number.
|
| virtual DtU8 | emitterNumber () const |
| virtual void | setEventId (const DtEventId &id) |
| | Set/Get Event Id - not used until RPR 0.7.
|
| virtual const DtEventId & | eventId () const |
| virtual void | printData () const |
| | Print data to the DtInfo stream.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print data to the specified stream.
|
| virtual DtEmitterBeamRepository * | beamSRById (DtU8 beamId, DtEmitterSysRetCode *retcode=NULL) |
| | Return a pointer to the first BeamSR with specified beamID.
|
| virtual DtEmitterBeamRepository * | addBeam (DtU8 beamId=0, DtBeamType type=DtRegularBeam, DtEmitterSysRetCode *retcode=NULL) |
| | Add/remove a new emitter beam within this system.
|
| virtual DtEmitterSysRetCode | removeBeam (DtU8 beamId) |
| | removes an emitter beam, if there are duplicate beams it will remove the first beam with the given beamID.
|
| virtual DtEmitterSysRetCode | removeBeam (const DtGlobalObjectDesignator &id) |
| virtual int | numBeams () const |
| | Returns number of beams.
|
| virtual const DtList * | beamList () const |
| | Returns DtList of DtEmitterBeamStateRepositories.
|
| virtual DtList * | beamList () |
| bool | isMember (DtEmitterBeamRepository *bsr) const |
| | Returns true if the give BSR is in this ESR's list of BSRs.
|
| | DtEmbeddedSystemRepository () |
| | default constructor
|
| | DtEmbeddedSystemRepository (const DtEmbeddedSystemRepository &orig) |
| | copy constructor
|
| virtual | ~DtEmbeddedSystemRepository () |
| | destructor
|
| DtEmbeddedSystemRepository & | operator= (const DtEmbeddedSystemRepository &orig) |
| | assignment operator
|
| virtual void | setEntityId (const DtEntityIdentifier &id) |
| | Set the entity identifier.
|
| virtual const DtEntityIdentifier & | entityId () const |
| | Get the entity identifier.
|
| virtual void | setHostId (const DtGlobalObjectDesignator &id) |
| | Set the host identifier.
|
virtual const
DtGlobalObjectDesignator & | hostId () const |
| | Get the host identifier.
|
| virtual void | setRelativePosition (const DtVector32 &position) |
| | Set the position of the object relative to the entity.
|
| virtual const DtVector32 & | relativePosition () const |
| | Get the position of the object relative to the entity.
|
| | DtStateRepository () |
| | default constructor
|
| | DtStateRepository (const DtStateRepository &orig) |
| | copy constructor
|
| virtual | ~DtStateRepository () |
| | destructor
|
| DtStateRepository & | operator= (const DtStateRepository &orig) |
| | assignment operator
|
| virtual void | setGlobalId (const DtString &id) |
| | Get/Set global identifier, or name.
|
| virtual const DtString & | globalId () const |
| virtual void | setLocalId (const DtObjectId &id) |
| | Get/Set local identifier, or handle.
|
| virtual const DtObjectId & | localId () const |
| virtual bool | publishesAttribute (const RTI::AttributeHandle &val) const |
| | Returns true if the attribute is published.
|
| virtual void | setAttributeByHandle (const RTI::AttributeHandle &attrHdl, const char *attrValue, unsigned size) |
| | Set the attribute with the given handle.
|
| virtual const char * | getAttributeByHandle (const RTI::AttributeHandle &attrHdl, unsigned &size) const |
| | Get a pointer to attribute value for the attribute with the given handle.
|
| 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.
|
| 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.
|
| 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.
|
Instances of DtEmitterSystemRepository are used to store state data for emitter systems in both HLA and DIS environments.