Holds all radio networks for the current exercise.
More...
Holds all radio networks for the current exercise.
The DtCommModelManager must be initialized with data about what radio networks to use in a scenario by calling the initializeForScenario() method.
| DtCommModelManager::DtCommModelManager |
( |
| ) |
|
|
private |
| DtCommModelManager::DtCommModelManager |
( |
DtSimManager * |
simManager | ) |
|
|
protected |
Use the create() method instead of calling the constructor.
| virtual DtCommModelManager::~DtCommModelManager |
( |
| ) |
|
|
virtual |
| virtual bool DtCommModelManager::init |
( |
| ) |
|
|
protectedvirtual |
Virtual init. Called from the create method.
Call this method to create a new instance instead of using the constructor.
Calls the constructor, and then calls init() on the new instance before returning it.
| virtual void DtCommModelManager::reset |
( |
| ) |
|
|
virtual |
Resets the radio network manager to the state when no scenario is loaded.
All radio networks are removed from the system.
| virtual bool DtCommModelManager::initializeForScenario |
( |
const DtFilename & |
paramsFile | ) |
|
|
virtual |
Sets up all radio networks for a new scenario.
The descriptorList specified indicates the radio networks for the scenario. After this call, the network manager is ready for a scenario run.
| virtual bool DtCommModelManager::loadCommModelFile |
( |
const DtFilename & |
paramsFile | ) |
|
|
virtual |
Loads a comm model file into the descriptor list (which it will create if it does not exist).
Called from initialzeForScenario, but, can be used to load more than one comm model file into the system. If this routine is used and not initializeForScenario, make sure to call setupCommModels() after all loads are complete
| virtual bool DtCommModelManager::setupCommModels |
( |
| ) |
|
|
virtual |
Calls setupCommModels(*myDescriptorList)
- Returns
- A pointer to the network with the specified name, if it exists in the manager.
| static void DtCommModelManager::tickCallback |
( |
void * |
usr | ) |
|
|
static |
| virtual void DtCommModelManager::tick |
( |
| ) |
|
|
virtual |
| virtual void DtCommModelManager::clearPendingRadioMessages |
( |
| ) |
|
|
virtual |
Called to clear any pending radio messages in the comm model map that are waiting to be sent.
This method is called when a scenario is being rolled back/rewound
Creates all radio networks specified in the specified descriptor list.
| void DtCommModelManager::clearCommModels |
( |
| ) |
|
|
protected |
Removes and deletes all radio networks.
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-10-branch/include/vrfobjcore/commModelManager.h