27 virtual DtSimulationAddress
backendCreationAddress(
const DtEntityType& ot,
const DtSimulationAddress& original);
30 static void backedDiscoveredCallback(
const DtSimulationAddress&,
void*);
31 virtual void processBackendDiscovered(
const DtSimulationAddress&);
33 static void backedRemovedCallback(
const DtSimulationAddress&,
void*);
34 virtual void processBackendRemoved(
const DtSimulationAddress&);
36 static void backendStatusMessageCallback(
const DtSimulationAddress&,
void*);
37 virtual void processBackendStatusMessage(
const DtSimulationAddress&);
43 virtual int score(
int kind,
int category)
const;
48 typedef std::map<int, std::vector<DtSimulationAddress> >
Scores;
60 typedef std::map<DtString, BackendStatus>
Backends;
bool loaded
Definition: automaticBackendSelector.h:57
virtual DtSimulationAddress backendCreationAddress(const DtEntityType &ot, const DtSimulationAddress &original)=0
#define DT_DLL_vrfcontrol
This file is used to determine how to build.
Definition: vrfcontrolDefines.h:28
DtVrfBackendListener * myListener
Definition: automaticBackendSelector.h:46
Backends myBackends
Definition: automaticBackendSelector.h:61
Definition: automaticBackendSelector.h:51
Scores myScores
Definition: automaticBackendSelector.h:49
std::map< DtString, BackendStatus > Backends
Definition: automaticBackendSelector.h:60
int score
Definition: automaticBackendSelector.h:56
The DtBackendSelectionHandler is a implementation class that you must subclass in order to be able to...
Definition: backendSelectorHandler.h:16
Instances of DtVrfBackendListener are used to track the status of VRF applications. The applications are tracked in a list which is keyed by their message address. For each entry, isActive is true if the application sends out a status message and isLoaded is true if the application has completed the processing of a load scenario message.
Definition: vrfBackendListener.h:79
std::map< int, std::vector< DtSimulationAddress > > Scores
Definition: automaticBackendSelector.h:48
std::map< short, int > ObjectCounts
Definition: backend.h:84
The DtAutomaticBackendSelector will choose a backend based on the fewest number of simulated objects ...
Definition: automaticBackendSelector.h:20
virtual bool init(DtVrfBackendListener *)=0