The DtBackendSelectorManager class will keep track of handlers that can be used to select a back-end on which to create entities.
More...
The DtBackendSelectorManager class will keep track of handlers that can be used to select a back-end on which to create entities.
The handlers are added by back-end address. The default is DtAutomaticBackendSelector which is defined to the DtSimSendToAll address
The listener will be passed to each of the handlers in their init method.
| virtual DtBackendSelectorManager::~DtBackendSelectorManager |
( |
| ) |
|
|
virtual |
| virtual void DtBackendSelectorManager::addBackendSelectorHandler |
( |
const DtSimulationAddress & |
, |
|
|
DtBackendSelectorHandler * |
|
|
) |
| |
|
virtual |
Once added this manager takes control of the memory.
Also, any existing one will be deleted. When addBackendSelectorHandler is called, init will be called on the handler with the current backendListener
| virtual DtBackendSelectorHandler* DtBackendSelectorManager::backendSelectorHandler |
( |
const DtSimulationAddress & |
| ) |
const |
|
virtual |
| virtual DtSimulationAddress DtBackendSelectorManager::backendCreationAddress |
( |
const DtEntityType & |
ot, |
|
|
const DtSimulationAddress & |
|
|
) |
| const |
|
virtual |
Given the backend address, if there is a handler for that address, return the backend that really wants to be created at that address.
Returns given address if no handler specified
The documentation for this class was generated from the following file: