VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Enumerations | Functions | Variables
makVrfVrlinkExtToolkit Namespace Reference

Classes

class  DtExtendedAttributeDecoder
 
class  DtExtendedAttributeEncoder
 
class  DtExtendedAttributesObjectDecoder
 
class  DtExtendedAttributesObjectEncoder
 
class  DtExtendedAttributesObjectPublisher
 
class  DtExtendedAttributesObjectStateRepository
 
struct  DtNetExtendedAttributeStruct
 
struct  DtNetExtendedAttributeVariableRecord
 
class  DtExtendedAttributeVariableRecord
 
class  DtReflectedExtendedAttributesObject
 
class  DtReflectedExtendedAttributesObjectList
 
class  DtStateRepositoryWithExtendedAttributes
 
class  DtExtendedAttributeInfo
 
class  DtStateRepositoryWithExtendedAttributesInterface
 
class  DtVrfVariableRecordFactory
 

Typedefs

typedef
makVrfVrlinkExtToolkit::DtNetExtendedAttributeVariableRecord 
DtNetExtendedAttributeVariableRecord
 
typedef void(* DtExtendedAttributesObjectCallbackFunction )(DtReflectedExtendedAttributesObject *obj, void *userData)
 
typedef std::shared_ptr
< DtExtendedAttributeInfo
DtExtendedAttributeInfoPtr
 
typedef std::map
< RTI::AttributeHandle,
DtString
DtAttributeHandleToNameMap
 
typedef std::map< DtString,
DtExtendedAttributeInfoPtr
DtAttributesByNameMap
 
typedef std::map
< RTI::AttributeHandle,
DtExtendedAttributeInfoPtr
DtAttributesByHandleMap
 
typedef std::set
< RTI::AttributeHandle > 
DtAttributeHandleSet
 
typedef std::set< DtStringDtAttributeNameSet
 
typedef DtGenericVariableRecord DtVrfUnknownVariableRecord
 

Enumerations

enum  DtGetAttributeFilter {
  DtNoAttributeFilter = 0, DtOnlyUpdatedAttributes = 1 << 0, DtOnlyFullAttributes = 1 << 1, DtNoAttributeFilter = 0,
  DtOnlyUpdatedAttributes = 1 << 0, DtOnlyFullAttributes = 1 << 1
}
 
enum  DtGetAttributeFilter {
  DtNoAttributeFilter = 0, DtOnlyUpdatedAttributes = 1 << 0, DtOnlyFullAttributes = 1 << 1, DtNoAttributeFilter = 0,
  DtOnlyUpdatedAttributes = 1 << 0, DtOnlyFullAttributes = 1 << 1
}
 

Functions

DT_DLL_vrfExtObjects unsigned DtVrfAttributeRecordTypeStart ()
 
DT_DLL_vrfExtObjects void DtSetVrfAttributeRecordTypeStart (unsigned t)
 
DT_DLL_vrfExtObjects unsigned DtVrfAttributeRecordTypeEnd ()
 
DT_DLL_vrfExtObjects void DtSetVrfAttributeRecordTypeEnd (unsigned t)
 
DT_DLL_vrfExtObjects bool DtIsVrfAttributeRecordType (unsigned t)
 
DT_DLL_vrfExtObjects unsigned DtVrfObjectDataRecordTypeStart ()
 
DT_DLL_vrfExtObjects void DtSetVrfObjectDataRecordTypeStart (unsigned t)
 
DT_DLL_vrfExtObjects unsigned DtVrfObjectDataRecordType (unsigned offset)
 
template<typename StateRepType , typename PublisherType , typename ReflectedObjType >
void registerExtendedAttributeClasses (DtExerciseConn *exConn)
 
template<typename StateRepType >
void setAttributeNameToHandleMap (DtObjClassDesc *desc)
 
void setExtendedAttributesNameToHandleMap (DtObjClassDesc *desc)
 
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)
 

Variables

const unsigned DtDefaultDatumVrfAttributeRecordTypeStart = 252000
 
const unsigned DtDefaultDatumVrfAttributeRecordTypeEnd = 252100
 
const unsigned DtDefaultDatumVrfObjectDataRecordTypeStart = 252200
 

Detailed Description

Contains makVrf::DtVrfDriver class.

VR-Forces includes

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<RTI::AttributeHandle, DtString> makVrfVrlinkExtToolkit::DtAttributeHandleToNameMap
typedef std::set<RTI::AttributeHandle> makVrfVrlinkExtToolkit::DtAttributeHandleSet
typedef DtGenericVariableRecord makVrfVrlinkExtToolkit::DtVrfUnknownVariableRecord

Enumeration Type Documentation

This enumeration defines filters can be used when requesting attributes. If an attribute does not match all specified filters, it will not be returned.

Enumerator
DtNoAttributeFilter 

No filter, will return any requested attribute.

DtOnlyUpdatedAttributes 

Returns only attributes that have been updated since the last request for them.

DtOnlyFullAttributes 

Returns only attributes that are considered "full" attributes. In DIS, this means that the attribute is not dynamically assigned an attribute record type by VRF, but has one defined in the OPE. Such attributes do not require the VRF generic extended attribute encoding, but can use an encoding defined externally.

Returns only attributes that are considered "full" attributes. In HLA, this means that the attribute is a defined FOM class attribute, not just one of the generic VRF extended attributes in VrfExtendedAttributes.ExtendedAttributes.

DtNoAttributeFilter 

No filter, will return any requested attribute.

DtOnlyUpdatedAttributes 

Returns only attributes that have been updated since the last request for them.

DtOnlyFullAttributes 

Returns only attributes that are considered "full" attributes. In DIS, this means that the attribute is not dynamically assigned an attribute record type by VRF, but has one defined in the OPE. Such attributes do not require the VRF generic extended attribute encoding, but can use an encoding defined externally.

Returns only attributes that are considered "full" attributes. In HLA, this means that the attribute is a defined FOM class attribute, not just one of the generic VRF extended attributes in VrfExtendedAttributes.ExtendedAttributes.

This enumeration defines filters can be used when requesting attributes. If an attribute does not match all specified filters, it will not be returned.

Enumerator
DtNoAttributeFilter 

No filter, will return any requested attribute.

DtOnlyUpdatedAttributes 

Returns only attributes that have been updated since the last request for them.

DtOnlyFullAttributes 

Returns only attributes that are considered "full" attributes. In DIS, this means that the attribute is not dynamically assigned an attribute record type by VRF, but has one defined in the OPE. Such attributes do not require the VRF generic extended attribute encoding, but can use an encoding defined externally.

Returns only attributes that are considered "full" attributes. In HLA, this means that the attribute is a defined FOM class attribute, not just one of the generic VRF extended attributes in VrfExtendedAttributes.ExtendedAttributes.

DtNoAttributeFilter 

No filter, will return any requested attribute.

DtOnlyUpdatedAttributes 

Returns only attributes that have been updated since the last request for them.

DtOnlyFullAttributes 

Returns only attributes that are considered "full" attributes. In DIS, this means that the attribute is not dynamically assigned an attribute record type by VRF, but has one defined in the OPE. Such attributes do not require the VRF generic extended attribute encoding, but can use an encoding defined externally.

Returns only attributes that are considered "full" attributes. In HLA, this means that the attribute is a defined FOM class attribute, not just one of the generic VRF extended attributes in VrfExtendedAttributes.ExtendedAttributes.

Function Documentation

DT_DLL_vrfExtObjects unsigned makVrfVrlinkExtToolkit::DtVrfAttributeRecordTypeStart ( )

Gets the starting VRF Attribute Record type.

DT_DLL_vrfExtObjects void makVrfVrlinkExtToolkit::DtSetVrfAttributeRecordTypeStart ( unsigned  t)

Sets the starting VRF Attribute Record type.

DT_DLL_vrfExtObjects unsigned makVrfVrlinkExtToolkit::DtVrfAttributeRecordTypeEnd ( )

Gets the ending VRF Attribute Record type.

DT_DLL_vrfExtObjects void makVrfVrlinkExtToolkit::DtSetVrfAttributeRecordTypeEnd ( unsigned  t)

Sets the ending VRF Attribute Record type.

DT_DLL_vrfExtObjects bool makVrfVrlinkExtToolkit::DtIsVrfAttributeRecordType ( unsigned  t)

Sets the ending VRF Attribute Record type.

DT_DLL_vrfExtObjects unsigned makVrfVrlinkExtToolkit::DtVrfObjectDataRecordTypeStart ( )

Gets the starting VRF Object Data Record type.

DT_DLL_vrfExtObjects void makVrfVrlinkExtToolkit::DtSetVrfObjectDataRecordTypeStart ( unsigned  t)

Sets the starting VRF Object Data Record type.

DT_DLL_vrfExtObjects unsigned makVrfVrlinkExtToolkit::DtVrfObjectDataRecordType ( unsigned  offset)

Returns the VRF Object Data Record type for the type with the given offset.

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::DtDefaultDatumVrfAttributeRecordTypeStart = 252000

The default starting value for the VRF Attribute Record type.

const unsigned makVrfVrlinkExtToolkit::DtDefaultDatumVrfAttributeRecordTypeEnd = 252100

The default ending value for the VRF Attribute Record type.

const unsigned makVrfVrlinkExtToolkit::DtDefaultDatumVrfObjectDataRecordTypeStart = 252200

The default starting value for the VRF Object Data record type.


Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)