VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
makVrfVrlinkExtToolkit Namespace Reference

Classes

class  DtExtendedAttributeDecoder
class  DtExtendedAttributeEncoder
class  DtExtendedAttributesObjectDecoder
 Instances of DtExtendedAttributesObjectDecoder are used to decode data from the network into DtExtendedAttributesObjectStateRepository objects. More...
class  DtExtendedAttributesObjectEncoder
 Instances of DtExtendedAttributesObjectEncoder encode data from DtExtendedAttributesObjectStateRepository objects to the net structures to be sent to the network. More...
class  DtExtendedAttributesObjectPublisher
 Instances of DtExtendedAttributesObjectPublisher publish ExtendedAttributes objects to the network. More...
class  DtExtendedAttributesObjectStateRepository
 Instances of DtExtendedAttributesObjectStateRepository are used to store state data for ExtendedAttributesObject objects. More...
struct  DtNetExtendedAttributeStruct
 The network structure for the header of each extended attribute. More...
struct  DtNetExtendedAttributeVariableRecord
class  DtExtendedAttributeVariableRecord
 Record for storing VR-Forces extended attributes. More...
class  DtReflectedExtendedAttributesObject
 Instances of DtReflectedExtendedAttributesObject are used to represent a simulated HLAobjectRoot.VrfExtendedAttributes object reflected across a network. More...
class  DtReflectedExtendedAttributesObjectList
 Instances of DtReflectedExtendedAttributesObjectList manage a list of DtReflectedExtendedAttributesObject objects. More...
class  DtStateRepositoryWithExtendedAttributes
 This template class can be used to extend any existing State Repository class to add the ability to process extended attributes in addition to those in the base state repository. More...
class  DtExtendedAttributeInfo
class  DtStateRepositoryWithExtendedAttributesInterface
 Defines the interface for all DtStateRepositoryWithExtendedAttributes classes. More...
class  DtVrfUnknownVariableRecord
class  DtVrfVariableRecordFactory

Typedefs

typedef
makVrfVrlinkExtToolkit::DtNetExtendedAttributeVariableRecord 
DtNetExtendedAttributeVariableRecord
typedef void(* DtExtendedAttributesObjectCallbackFunction )(DtReflectedExtendedAttributesObject *obj, void *userData)
 Signature of the callback function that takes a DtReflectedExtendedAttributesObject and user data.
typedef std::map< DtString,
RTI::AttributeHandle > 
DtAttributeNameToHandleMap
typedef std::map
< RTI::AttributeHandle,
DtString
DtAttributeHandleToNameMap
typedef std::map< DtString,
DtExtendedAttributeInfo * > 
DtAttributesByNameMap
typedef std::map
< RTI::AttributeHandle,
DtExtendedAttributeInfo * > 
DtAttributesByHandleMap
typedef std::set
< RTI::AttributeHandle > 
DtAttributeHandleSet
typedef std::set< DtStringDtAttributeNameSet

Functions

DT_DLL_vrfExtObjects unsigned DtVrfAttributeRecordType ()
 Gets the VRF Attribute Record type.
DT_DLL_vrfExtObjects void DtSetVrfAttributeRecordType (unsigned t)
 Sets the VRF Attribute Record type.
template<typename StateRepType , typename PublisherType , typename ReflectedObjType >
void registerExtendedAttributeClasses (DtExerciseConn *exConn)
 Registers the necessary state rep creators and variable record factory to support extended attributes for the specified publisher and reflected object type in DIS.
template<typename StateRepType >
void setAttributeNameToHandleMap (DtObjClassDesc *desc)
 Sets the attribute name to handle map for the extended state rep for the given FOM class.
void setExtendedAttributesNameToHandleMap (DtObjClassDesc *desc)
 Sets the attribute name to handle map for the Extended Attributes state rep for the given FOM class.
bool areClassNamesEquivalent (const DtString &name1, const DtString &name2)
template<typename StateRepType , typename PublisherType , typename ReflectedObjType >
void registerExtendedAttributeClasses (const DtString &fullBaseClassName, const DtString &publisherName, const DtString &reflListName, const DtFomMapper::DtObjectClassChooserWithUsrData &classChooser, void *classChooserUsr, DtExerciseConn *exConn)
 Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM classes which extend a supported VR-Link class.

Variables

const unsigned DtDefaultDatumVrfAttributeRecordType = 252000
 The default value for the VRF Attribute Record type.

Typedef Documentation

typedef void(* makVrfVrlinkExtToolkit::DtExtendedAttributesObjectCallbackFunction)(DtReflectedExtendedAttributesObject *obj, void *userData)

Signature of the callback function that takes a DtReflectedExtendedAttributesObject and user data.

typedef std::map<DtString, RTI::AttributeHandle> makVrfVrlinkExtToolkit::DtAttributeNameToHandleMap
typedef std::map<RTI::AttributeHandle, DtString> makVrfVrlinkExtToolkit::DtAttributeHandleToNameMap
typedef std::set<RTI::AttributeHandle> makVrfVrlinkExtToolkit::DtAttributeHandleSet

Function Documentation

DT_DLL_vrfExtObjects unsigned makVrfVrlinkExtToolkit::DtVrfAttributeRecordType ( )

Gets the VRF Attribute Record type.

DT_DLL_vrfExtObjects void makVrfVrlinkExtToolkit::DtSetVrfAttributeRecordType ( unsigned  t)

Sets the VRF Attribute Record type.

template<typename StateRepType , typename PublisherType , typename ReflectedObjType >
void makVrfVrlinkExtToolkit::registerExtendedAttributeClasses ( DtExerciseConn *  exConn)

Registers the necessary state rep creators and variable record factory to support extended attributes for the specified publisher and reflected object type in DIS.

Extended attributes will be stored in a extended attribute list without encoding or decoding. These settings will affect all publishers and reflected lists created after this. exConn is the VR-Link exercise connection.

References DtALMOST.

template<typename StateRepType >
void makVrfVrlinkExtToolkit::setAttributeNameToHandleMap ( DtObjClassDesc *  desc)

Sets the attribute name to handle map for the extended state rep for the given FOM class.

void makVrfVrlinkExtToolkit::setExtendedAttributesNameToHandleMap ( DtObjClassDesc *  desc)
inline

Sets the attribute name to handle map for the Extended Attributes state rep for the given FOM class.

References makVrfVrlinkExtToolkit::DtExtendedAttributesObjectStateRepository::setAttributeNameToHandleMap().

Referenced by registerExtendedAttributeClasses().

bool makVrfVrlinkExtToolkit::areClassNamesEquivalent ( const DtString name1,
const DtString name2 
)
inline
template<typename StateRepType , typename PublisherType , typename ReflectedObjType >
void makVrfVrlinkExtToolkit::registerExtendedAttributeClasses ( const DtString fullBaseClassName,
const DtString publisherName,
const DtString reflListName,
const DtFomMapper::DtObjectClassChooserWithUsrData &  classChooser,
void *  classChooserUsr,
DtExerciseConn *  exConn 
)

Registers the necessary state rep creators, encoder, decoder, and checker functions for the given FOM classes which extend a supported VR-Link class.

All attributes of the subclasses will be stored in an extended attribute list without encoding or decoding. These settings will affect all publishers and reflected lists created after this. fullBaseClassName is the full name of the base class to be registered. All subclasses of this class will be registered as well. publisherName is the name of the VR-Link publisher class. Used to register the classChooser function. reflListName is the name of the VR-Link reflected list class. Used to register which classes will be fed into reflected lists of this type. classChooser is a function that will choose which FOM object class a publisher will publish to the network, based on entity type. If 0, will not be set. classChooserUsr is the user data pointer to pass to the classChooser. exConn is the VR-Link exercise connection.

References areClassNamesEquivalent(), DtALMOST, and setExtendedAttributesNameToHandleMap().

Variable Documentation

const unsigned makVrfVrlinkExtToolkit::DtDefaultDatumVrfAttributeRecordType = 252000

The default value for the VRF Attribute Record type.


Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)