VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Static Protected Attributes
DtAggregateExtendedAttributesInitializer Class Reference

The extended attributes initializer for aggregate objects.

Inheritance diagram for DtAggregateExtendedAttributesInitializer:
Inheritance graph
[legend]

Public Member Functions

 DtAggregateExtendedAttributesInitializer ()
 
virtual ~DtAggregateExtendedAttributesInitializer ()
 
- Public Member Functions inherited from DtExtendedAttributesInitializer
 DtExtendedAttributesInitializer ()
 
virtual ~DtExtendedAttributesInitializer ()
 
virtual void initialize (DtExerciseConn *exConn)
 
virtual void setObjectClassChooser (DtObjectClassChooserPtr chooser)
 
virtual void addSupportedClass (const DtString &fullClassName, bool addSubclasses=false)
 

Protected Member Functions

virtual bool needsInitialization (DtExerciseConn *exConn)
 
virtual const DtStringpublisherName () const
 
virtual const DtStringreflectedListName () const
 
virtual const DtStringdefaultBaseObjectClass () const
 
virtual void setUnknownAttributeFunctions (DtObjClassDesc *desc)
 
virtual std::map< DtString,
RTI::AttributeHandle > 
attributeNameToHandleMap (const RTI::ObjectClassHandle &classHdl) const
 
virtual void setAttributeNameToHandleMap (const RTI::ObjectClassHandle &classHdl, const std::map< DtString, RTI::AttributeHandle > &mapping)
 
virtual void setPublisherStateRepCreator ()
 
virtual void setReflectedObjectStateRepCreator ()
 
- Protected Member Functions inherited from DtExtendedAttributesInitializer
virtual bool areClassNamesEquivalent (const DtString &, const DtString &) const
 
virtual void addSupportedSubclasses (DtExerciseConn *exConn)
 
virtual void initializeObjectClassChooser (DtExerciseConn *exConn)
 
virtual void initializeObjectClasses (DtExerciseConn *exConn)
 
virtual void initializeAttributes (DtObjClassDesc *desc)
 
virtual void initializeExtendedAttributes (DtExerciseConn *exConn)
 

Static Protected Attributes

static DtTime thePrevExConnInitTime
 
static bool theExConnNeedsInit
 
- Static Protected Attributes inherited from DtExtendedAttributesInitializer
static tbb::spin_mutex theGlobalHLAMutex
 
static DtString theExtendedAttributesClassName
 

Additional Inherited Members

- Static Public Member Functions inherited from DtExtendedAttributesInitializer
static tbb::spin_mutex & GlobalHLAMutex ()
 
- Protected Attributes inherited from DtExtendedAttributesInitializer
bool myNeedsInitialization
 
DtObjectClassChooserPtr myObjectClassChooser
 
std::list< DtStringmyFullBaseClassNames
 
std::list< DtStringmyFullClassNames
 

Constructor & Destructor Documentation

DtAggregateExtendedAttributesInitializer::DtAggregateExtendedAttributesInitializer ( )

Constructor.

virtual DtAggregateExtendedAttributesInitializer::~DtAggregateExtendedAttributesInitializer ( )
virtual

Destructor.

Member Function Documentation

virtual bool DtAggregateExtendedAttributesInitializer::needsInitialization ( DtExerciseConn *  exConn)
protectedvirtual

Returns true if initialization needs to be performed.

Reimplemented from DtExtendedAttributesInitializer.

virtual const DtString& DtAggregateExtendedAttributesInitializer::publisherName ( ) const
protectedvirtual

The name of the publisher class in VR-Link.

Implements DtExtendedAttributesInitializer.

virtual const DtString& DtAggregateExtendedAttributesInitializer::reflectedListName ( ) const
protectedvirtual

The name of the reflected list class in VR-Link.

Implements DtExtendedAttributesInitializer.

virtual const DtString& DtAggregateExtendedAttributesInitializer::defaultBaseObjectClass ( ) const
protectedvirtual

The base object class that is supported by default. All subclasses will also be supported.

Implements DtExtendedAttributesInitializer.

virtual void DtAggregateExtendedAttributesInitializer::setUnknownAttributeFunctions ( DtObjClassDesc *  desc)
protectedvirtual

Sets the unknown attribute checker, encoder, and decoder functions in order to process them as extended attributes. Specific to a particular state repository class.

Implements DtExtendedAttributesInitializer.

virtual std::map<DtString, RTI::AttributeHandle> DtAggregateExtendedAttributesInitializer::attributeNameToHandleMap ( const RTI::ObjectClassHandle &  classHdl) const
protectedvirtual

Gets the current attribute name to handle mapping for the object class. Specific to a particular state repository class.

Implements DtExtendedAttributesInitializer.

virtual void DtAggregateExtendedAttributesInitializer::setAttributeNameToHandleMap ( const RTI::ObjectClassHandle &  classHdl,
const std::map< DtString, RTI::AttributeHandle > &  mapping 
)
protectedvirtual

SEts the attribute name to handle mapping for the object class. Specific to a particular state repository class.

Implements DtExtendedAttributesInitializer.

virtual void DtAggregateExtendedAttributesInitializer::setPublisherStateRepCreator ( )
protectedvirtual

Sets the state rep creator for the associated publisher. Specific to a particular publisher class and state repository class.

Implements DtExtendedAttributesInitializer.

virtual void DtAggregateExtendedAttributesInitializer::setReflectedObjectStateRepCreator ( )
protectedvirtual

Sets the state rep creator for the associated reflected object. Specific to a particular reflected object class and state repository class.

Implements DtExtendedAttributesInitializer.

Member Data Documentation

DtTime DtAggregateExtendedAttributesInitializer::thePrevExConnInitTime
staticprotected
bool DtAggregateExtendedAttributesInitializer::theExConnNeedsInit
staticprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)