![]() |
VR-Forces Developer's Guide
|
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.
Public Member Functions | |
| DtBackendSelectorManager (DtVrfBackendListener *listener) | |
| virtual | ~DtBackendSelectorManager () |
| virtual DtSimulationAddress | backendCreationAddress (const DtEntityType &ot, const DtSimulationAddress &) const |
| virtual void | setGuiRuntimeLoadBalancing (DtLoadBalancingFcn, void *, const DtString &) |
| DtLoadBalancingFcn | loadBalancingFunction () const |
| void * | loadBalancingUserData () const |
| const DtString & | loadBalancingUserOptions () const |
Protected Member Functions | |
| virtual void | processScenarioStatusChanged (const DtSessionStatus &) |
Static Protected Member Functions | |
| static void | scenarioStatusChangedCallback (const DtSessionStatus &, void *) |
Protected Attributes | |
| DtVrfBackendListener * | myListener |
| DtLoadBalancingFcn | myLoadBalancingFcn |
| DtString | myUserOptions |
| void * | myUserData = nullptr |
| DtBackendSelectorManager::DtBackendSelectorManager | ( | DtVrfBackendListener * | listener | ) |
The listener will be passed to each of the handlers in their init method.
|
virtual |
|
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.
|
virtual |
|
inline |
|
inline |
|
inline |
|
staticprotected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |