#include <objecttoactor.h>
Public Member Functions | |
| ObjectToActor () | |
| Constructor. | |
| const dtDAL::ActorType & | GetActorType () const |
| Gets the Game ActorType from the Object to Actor mapping. | |
| bool | IsRemoteOnly () const |
| |
| bool | IsLocalOnly () const |
| |
| void | SetLocalOrRemoteType (LocalOrRemoteType &newType) |
| REMOTE_ONLY means this mapping should only apply to objects simulated remotely. | |
| const std::string & | GetDDMCalculatorName () const |
| Gets the name of the DDMRegionCalculator to use for subscription and publishing. | |
| void | SetDDMCalculatorName (const std::string &newName) |
| Gets the name of the DDMRegionCalculator to use for subscription and publishing. | |
| const std::string & | GetObjectClassName () const |
| Gets the HLA Object Type Name from the Object to Actor mapping. | |
| const RTI::ObjectClassHandle | GetObjectClassHandle () const |
| Gets the HLA Object Class Handle from the Object to Actor mapping. | |
| const RTI::AttributeHandle | GetEntityIdAttributeHandle () const |
| |
| const RTI::AttributeHandle | GetDisIDAttributeHandle () const |
| |
| const EntityType * | GetDisID () const |
| Gets the Object DIS ID from the Object to Actor mapping. | |
| EntityType * | GetDisID () |
| Gets the Object DIS ID from the Object to Actor mapping. | |
| const std::string & | GetEntityIdAttributeName () const |
| |
| void | SetEntityIdAttributeName (const std::string &newName) |
| Assigns the attribute name that holds the entity id so that it can be mapped to an actor id. Set to empty string for unused. | |
| const std::vector < AttributeToPropertyList > & | GetOneToManyMappingVector () const |
| std::vector < AttributeToPropertyList > & | GetOneToManyMappingVector () |
| void | SetActorType (const dtDAL::ActorType &type) |
| Sets the Game ActorType for this Object to Actor mapping. | |
| void | SetObjectClassName (const std::string &objTypeName) |
| Sets the HLA Object Type Name for this Object to Actor mapping. | |
| void | SetObjectClassHandle (const RTI::ObjectClassHandle &objClassHandle) |
| Sets the HLA Object Class Handle for this Object to Actor mapping. | |
| void | SetEntityIdAttributeHandle (const RTI::AttributeHandle newEntityIdAttributeHandle) |
| Sets The attribute handle storing the entity id attribute. | |
| void | SetDisIDAttributeHandle (const RTI::AttributeHandle newDisIDAttributeHandle) |
| Sets The attribute handle storing DIS Id attribute. | |
| void | SetDisID (const EntityType *thisDisID) |
| Sets the Object DIS ID for this Object to Actor mapping. | |
| void | SetOneToManyMappingVector (std::vector< AttributeToPropertyList > &thisOneToManyMapping) |
| Sets the One to One Mapping vector for this Object to Actor Mapping. | |
| ObjectToActor & | operator= (const ObjectToActor &setTo) |
| bool | operator== (const ObjectToActor &toCompare) const |
| bool | operator!= (const ObjectToActor &toCompare) const |
Classes | |
| class | LocalOrRemoteType |
| dtHLAGM::ObjectToActor::ObjectToActor | ( | ) |
Constructor.
| const dtDAL::ActorType & dtHLAGM::ObjectToActor::GetActorType | ( | ) | const |
Gets the Game ActorType from the Object to Actor mapping.
| bool dtHLAGM::ObjectToActor::IsRemoteOnly | ( | ) | const |
| bool dtHLAGM::ObjectToActor::IsLocalOnly | ( | ) | const |
| void dtHLAGM::ObjectToActor::SetLocalOrRemoteType | ( | ObjectToActor::LocalOrRemoteType & | newType | ) |
REMOTE_ONLY means this mapping should only apply to objects simulated remotely.
LOCAL_ONLY if it for locally simulated ones only. LOCAL_AND_REMOTE for both. This defaults to LOCAL_AND_REMOTE.
if more than one actor type intends to use the same DIS ID, only one may have this property set to anything other than LOCAL_ONLY.
| newType | the new value of the property |
| const std::string & dtHLAGM::ObjectToActor::GetDDMCalculatorName | ( | ) | const |
Gets the name of the DDMRegionCalculator to use for subscription and publishing.
| void dtHLAGM::ObjectToActor::SetDDMCalculatorName | ( | const std::string & | newName | ) |
Gets the name of the DDMRegionCalculator to use for subscription and publishing.
| const std::string & dtHLAGM::ObjectToActor::GetObjectClassName | ( | ) | const |
Gets the HLA Object Type Name from the Object to Actor mapping.
| const RTI::ObjectClassHandle dtHLAGM::ObjectToActor::GetObjectClassHandle | ( | ) | const |
Gets the HLA Object Class Handle from the Object to Actor mapping.
| const RTI::AttributeHandle dtHLAGM::ObjectToActor::GetEntityIdAttributeHandle | ( | ) | const |
| const RTI::AttributeHandle dtHLAGM::ObjectToActor::GetDisIDAttributeHandle | ( | ) | const |
| const EntityType * dtHLAGM::ObjectToActor::GetDisID | ( | ) | const |
Gets the Object DIS ID from the Object to Actor mapping.
| EntityType * dtHLAGM::ObjectToActor::GetDisID | ( | ) |
Gets the Object DIS ID from the Object to Actor mapping.
| const std::string & dtHLAGM::ObjectToActor::GetEntityIdAttributeName | ( | ) | const |
| void dtHLAGM::ObjectToActor::SetEntityIdAttributeName | ( | const std::string & | newName | ) |
Assigns the attribute name that holds the entity id so that it can be mapped to an actor id. Set to empty string for unused.
| const std::vector< AttributeToPropertyList > & dtHLAGM::ObjectToActor::GetOneToManyMappingVector | ( | ) | const |
| std::vector< AttributeToPropertyList > & dtHLAGM::ObjectToActor::GetOneToManyMappingVector | ( | ) |
| void dtHLAGM::ObjectToActor::SetActorType | ( | const dtDAL::ActorType & | type | ) |
Sets the Game ActorType for this Object to Actor mapping.
| type | the Game Actor Type |
| void dtHLAGM::ObjectToActor::SetObjectClassName | ( | const std::string & | objTypeName | ) |
Sets the HLA Object Type Name for this Object to Actor mapping.
| objTypeName | the HLA Object Type Name |
| void dtHLAGM::ObjectToActor::SetObjectClassHandle | ( | const RTI::ObjectClassHandle & | objClassHandle | ) |
Sets the HLA Object Class Handle for this Object to Actor mapping.
| objClassHandle | the HLA Object Class Handle |
| void dtHLAGM::ObjectToActor::SetEntityIdAttributeHandle | ( | const RTI::AttributeHandle | newEntityIdAttributeHandle | ) |
Sets The attribute handle storing the entity id attribute.
| void dtHLAGM::ObjectToActor::SetDisIDAttributeHandle | ( | const RTI::AttributeHandle | newDisIDAttributeHandle | ) |
Sets The attribute handle storing DIS Id attribute.
| void dtHLAGM::ObjectToActor::SetDisID | ( | const EntityType * | thisDisID | ) |
Sets the Object DIS ID for this Object to Actor mapping.
| objectDisID | the DIS ID |
| void dtHLAGM::ObjectToActor::SetOneToManyMappingVector | ( | std::vector< AttributeToPropertyList > & | thisOneToManyMapping | ) |
Sets the One to One Mapping vector for this Object to Actor Mapping.
¶m thisOneToManyMapping the OnetoOneMapping vector
| ObjectToActor & dtHLAGM::ObjectToActor::operator= | ( | const ObjectToActor & | setTo | ) |
| bool dtHLAGM::ObjectToActor::operator== | ( | const ObjectToActor & | toCompare | ) | const |
| bool dtHLAGM::ObjectToActor::operator!= | ( | const ObjectToActor & | toCompare | ) | const |