![]() |
VR-Forces 4.6.1 Class Documentation
|
This builder class is used to attach VR-Forces components and radios to non-VRF remote entities. More...

Public Types | |
| typedef DtRemoteComponentConfigurationBuilder *(* | CreatorFcn )(DtRemoteComponentAttachmentManager *) |
Public Member Functions | |
| DtRemoteComponentConfigurationBuilder (DtRemoteComponentAttachmentManager *pRemoteCompAttachMgr) | |
| Constructor. | |
| virtual | ~DtRemoteComponentConfigurationBuilder () |
| Destructor. | |
| virtual bool | addRemoteConfigurationToObject (const DtString &configKeyName, DtVrfObject *pVrfObj)=0 |
| This is the primary interface for the builder. | |
Static Public Member Functions | |
| static DtRemoteComponentConfigurationBuilder * | create (DtRemoteComponentAttachmentManager *) |
| Factory function to create instances of the builder. | |
Protected Member Functions | |
| DtRemoteComponentConfigurationBuilder () | |
| Default constructor unused. | |
Protected Attributes | |
| DtRemoteComponentAttachmentManager * | pMyRemoteCompAttachMgr |
Private Member Functions | |
| DtRemoteComponentConfigurationBuilder (DtRemoteComponentConfigurationBuilder &) | |
| unused, this is a service class | |
| const DtRemoteComponentConfigurationBuilder & | operator= (const DtRemoteComponentConfigurationBuilder &) |
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 DtVrfObject. It's like an inverted visitor pattern. DtVrfObject visits the builder, and the builder operates on DtVrfObject. Override this class to customize file parsing and DtVrfObject initialization. Then set the builder creator function in DtRemoteComponentAttachmentManager.
| typedef DtRemoteComponentConfigurationBuilder*(* DtRemoteComponentConfigurationBuilder::CreatorFcn)(DtRemoteComponentAttachmentManager *) |
| DtRemoteComponentConfigurationBuilder::DtRemoteComponentConfigurationBuilder | ( | DtRemoteComponentAttachmentManager * | pRemoteCompAttachMgr | ) |
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 DtVrfObjectManager->parameterDatabase(); Then use that file to set up components for pVrfObj.
Implemented in DtMtlRemoteComponentConfigurationBuilder.
|
static |
Factory function to create instances of the builder.
The base class returns NULL.
Reimplemented in DtMtlRemoteComponentConfigurationBuilder.
|
private |
|
protected |