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

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 DtStringloadBalancingUserOptions () const
 

Protected Member Functions

virtual void processScenarioStatusChanged (const DtSessionStatus &)
 

Static Protected Member Functions

static void scenarioStatusChangedCallback (const DtSessionStatus &, void *)
 

Protected Attributes

DtVrfBackendListenermyListener
 
DtLoadBalancingFcn myLoadBalancingFcn
 
DtString myUserOptions
 
void * myUserData = nullptr
 

Constructor & Destructor Documentation

DtBackendSelectorManager::DtBackendSelectorManager ( DtVrfBackendListener listener)

The listener will be passed to each of the handlers in their init method.

virtual DtBackendSelectorManager::~DtBackendSelectorManager ( )
virtual

Member Function Documentation

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.

virtual void DtBackendSelectorManager::setGuiRuntimeLoadBalancing ( DtLoadBalancingFcn  ,
void *  ,
const DtString  
)
virtual
DtLoadBalancingFcn DtBackendSelectorManager::loadBalancingFunction ( ) const
inline
void* DtBackendSelectorManager::loadBalancingUserData ( ) const
inline
const DtString& DtBackendSelectorManager::loadBalancingUserOptions ( ) const
inline
static void DtBackendSelectorManager::scenarioStatusChangedCallback ( const DtSessionStatus ,
void *   
)
staticprotected
virtual void DtBackendSelectorManager::processScenarioStatusChanged ( const DtSessionStatus )
protectedvirtual

Member Data Documentation

DtVrfBackendListener* DtBackendSelectorManager::myListener
protected
DtLoadBalancingFcn DtBackendSelectorManager::myLoadBalancingFcn
protected
DtString DtBackendSelectorManager::myUserOptions
protected
void* DtBackendSelectorManager::myUserData = nullptr
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)