Public Member Functions |
| | DtEnvironmentProcessRepository () |
| | Default CTOR.
|
| | DtEnvironmentProcessRepository (const DtEnvironmentProcessRepository &orig) |
| | Copy CTOR.
|
| virtual | ~DtEnvironmentProcessRepository () |
| | Virtual DTOR.
|
| DtEnvironmentProcessRepository & | operator= (const DtEnvironmentProcessRepository &orig) |
| | assignment operator
|
| virtual DtStateRepository * | clone (bool copy=false) const |
| | Return a copy/empty object of the same type as this.
|
| virtual void | printData () const |
| | Print data contained within the repository.
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print data contained within the repository.
|
| virtual void | setEnvironmentalProcessID (const DtEntityIdentifier &entity) |
| | Set the originating process id.
|
| virtual const DtEntityIdentifier & | environmentalProcessID () const |
| | Get the originating process id.
|
| virtual void | setEnvironmentType (const DtEnvironmentTypeRecord &type) |
| | Set The type of environmental condition.
|
virtual const
DtEnvironmentTypeRecord & | environmentType () const |
| | Get The type of environmental condition.
|
| virtual void | setModelType (DtEnvironmentalModelType value) |
| | Set The Environmental Model which is used by this process.
|
| virtual DtEnvironmentalModelType | modelType () const |
| | Get The Environmental Model which is used by this process.
|
| virtual void | setEnvironmentalStatus (DtU8 value) |
| | Set status flags for the environment process.
|
| virtual DtU8 | environmentalStatus () const |
| | Get status flags for the environment process.
|
| virtual void | setEnvironmentalProcessActive (bool value) |
| | Set whether the environment process is active.
|
| virtual bool | environmentalProcessActive () const |
| | Get whether the environment process is active.
|
| virtual void | setEnvironmentalProcessIsLast (bool value) |
| | Set whether the environment process is last.
|
| virtual bool | environmentalProcessIsLast () const |
| | Get whether the environment process is last.
|
| virtual void | setSequenceNumber (DtU16 value) |
| | Set/Get the sequence number.
|
| virtual DtU16 | sequenceNumber () const |
| virtual bool | setNumberOfEnvironmentalRecords (DtU16 newNumberOfRecords) |
| | Set/Get number of environment records.
|
| virtual DtU16 | numberOfEnvironmentalRecords () const |
| virtual DtNetEnvironmentalRecord * | recordPointer (int recordIndex) |
| | Get a pointer to an environmental record.
|
virtual const
DtNetEnvironmentalRecord * | recordPointer (int recordIndex) const |
| virtual bool | setRecordBitSize (int recordIndex, int newRecordBitSize) |
| | Set size of an environment record.
|
| virtual const DtVector & | location () const |
| | The standard says the first environmental record will either be a bounding sphere or the only geometry record.
|
| double | radius () const |
| | if the first environmental record is a bounding sphere record, this will return the radius.
|
| virtual int | numberOfGeometryRecords () const |
| | The enumeration document establishes the convention that geometry types use the high order 2 bytes of the type field, while state types use the lower two.
|
| virtual DtEnvironmentalRecordType | geometryRecordType (int index) const |
| | This returns the type of the geometry record with the index specified.
|
| virtual DtEnvironmentalRecordType | stateRecordType (int index) const |
| | This returns the type of the state record associated with the geometry record with the index specified.
|
| virtual bool | getGeometryRecord (int index, DtEnvironmentalGeometryRecord &geometryRecord) const |
| | This returns a reference to the nth geometry record.
|
| virtual bool | getStateRecord (int index, DtEnvironmentalRecord &stateRecord) const |
| | This returns a reference to the state record associated with the nth geometry record.
|
| virtual void | setEnvironmentalRecord (int index, const DtEnvironmentalRecord &envRecord) |
| | This sets the index'th record to the values in the envRecord supplied.
|
| virtual int | protocolVersion () const |
| | Get the published protocol version.
|
| virtual void | setProtocolVersion (int protocol) |
| | 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 DtEnvironmentProcessRepository are used to store state information for environmental process objects in both DIS and HLA environments.
An Environmental Process is an object which represents something in the environment, including things like clouds, chaff, smoke, contrails or other chemical processes.
Examples: Environmental Process Example