VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtRemoteComponentConfigurationBuilder Class Referenceabstract

This builder class is used to attach VR-Forces components and radios to non-VRF remote entities. The builder needs to: (a) read a configuration file and (b) push values into the DtLocalObject. It's like an inverted visitor pattern. DtLocalObject visits the builder, and the builder operates on DtLocalObject. Override this class to customize file parsing and DtLocalObject initialization. Then set the builder creator function in DtRemoteComponentAttachmentManager.

Inheritance diagram for DtRemoteComponentConfigurationBuilder:
Inheritance graph
[legend]

Public Types

typedef
DtRemoteComponentConfigurationBuilder *(* 
CreatorFcn )(DtRemoteComponentAttachmentManager *, DtLocalObjectManager *)
 

Public Member Functions

 DtRemoteComponentConfigurationBuilder (DtRemoteComponentAttachmentManager *pRemoteCompAttachMgr, DtLocalObjectManager *)
 
virtual ~DtRemoteComponentConfigurationBuilder ()
 
virtual bool addRemoteConfigurationToObject (const DtString &configKeyName, DtSimObjectReference pVrfObj)=0
 

Protected Member Functions

 DtRemoteComponentConfigurationBuilder ()
 

Protected Attributes

DtRemoteComponentAttachmentManagermyRemoteCompAttachMgr
 
DtLocalObjectManagermyObjectManager
 

Private Member Functions

 DtRemoteComponentConfigurationBuilder (DtRemoteComponentConfigurationBuilder &)
 
const
DtRemoteComponentConfigurationBuilder
operator= (const DtRemoteComponentConfigurationBuilder &)
 

Member Typedef Documentation

typedef DtRemoteComponentConfigurationBuilder*(* DtRemoteComponentConfigurationBuilder::CreatorFcn)(DtRemoteComponentAttachmentManager *, DtLocalObjectManager *)

Constructor & Destructor Documentation

DtRemoteComponentConfigurationBuilder::DtRemoteComponentConfigurationBuilder ( DtRemoteComponentAttachmentManager pRemoteCompAttachMgr,
DtLocalObjectManager  
)

Constructor.

virtual DtRemoteComponentConfigurationBuilder::~DtRemoteComponentConfigurationBuilder ( )
virtual

Destructor.

DtRemoteComponentConfigurationBuilder::DtRemoteComponentConfigurationBuilder ( )
protected

Default constructor unused.

DtRemoteComponentConfigurationBuilder::DtRemoteComponentConfigurationBuilder ( DtRemoteComponentConfigurationBuilder )
private

unused, this is a service class

Member Function Documentation

virtual bool DtRemoteComponentConfigurationBuilder::addRemoteConfigurationToObject ( const DtString configKeyName,
DtSimObjectReference  pVrfObj 
)
pure virtual

This is the primary interface for the builder. Using configKeyName, look up a configuration filename in DtSimulationServices->parameterDatabase(); Then use that file to set up components for pVrfObj.

Implemented in DtMtlRemoteComponentConfigurationBuilder.

const DtRemoteComponentConfigurationBuilder& DtRemoteComponentConfigurationBuilder::operator= ( const DtRemoteComponentConfigurationBuilder )
private

Member Data Documentation

DtRemoteComponentAttachmentManager* DtRemoteComponentConfigurationBuilder::myRemoteCompAttachMgr
protected
DtLocalObjectManager* DtRemoteComponentConfigurationBuilder::myObjectManager
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)