![]() |
VR-Forces 5.0.2 Developer's Guide
|
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.

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 | |
| DtRemoteComponentAttachmentManager * | myRemoteCompAttachMgr |
| DtLocalObjectManager * | myObjectManager |
Private Member Functions | |
| DtRemoteComponentConfigurationBuilder (DtRemoteComponentConfigurationBuilder &) | |
| const DtRemoteComponentConfigurationBuilder & | operator= (const DtRemoteComponentConfigurationBuilder &) |
| typedef DtRemoteComponentConfigurationBuilder*(* DtRemoteComponentConfigurationBuilder::CreatorFcn)(DtRemoteComponentAttachmentManager *, DtLocalObjectManager *) |
| DtRemoteComponentConfigurationBuilder::DtRemoteComponentConfigurationBuilder | ( | DtRemoteComponentAttachmentManager * | pRemoteCompAttachMgr, |
| DtLocalObjectManager * | |||
| ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Default constructor unused.
|
private |
unused, this is a service class
|
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.
|
private |
|
protected |
|
protected |