The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::tracker::StatePoolManager Class Reference

This is a Singleton class which manages all the different StatePool. More...

#include <StateTracker.hpp>

Public Member Functions

 StatePoolManager (const StatePoolManager &)=delete
 
StatePoolManageroperator= (const StatePoolManager &)=delete
 
 StatePoolManager (StatePoolManager &&)=delete
 
StatePoolManageroperator= (StatePoolManager &&)=delete
 
void enableTracking ()
 This method needs to be public to.
 
void flushPool ()
 This method starts the teardown of all the different.
 
template<typename T >
state_tracker_ptr< T > dispatchNewTracker ()
 This is the public API to get new tracker units.
 
void setTrackingFilename (const std::string &filename)
 This filename is the name of the State Tracking File as.
 
void setScheduler (Scheduler *scheduler)
 Set the scheduler used by the Simulation class.
 

Static Public Member Functions

static StatePoolManagergetInstance ()
 This is not a Thread Safe method.
 

Detailed Description

This is a Singleton class which manages all the different StatePool.

Definition at line 437 of file StateTracker.hpp.

Member Function Documentation

◆ dispatchNewTracker()

template<typename T >
state_tracker_ptr< T > sparta::tracker::StatePoolManager::dispatchNewTracker ( )
inline

This is the public API to get new tracker units.

We go to the process of issuing tracker units

Definition at line 473 of file StateTracker.hpp.

◆ enableTracking()

void sparta::tracker::StatePoolManager::enableTracking ( )
inline

This method needs to be public to.

Definition at line 454 of file StateTracker.hpp.

◆ flushPool()

void sparta::tracker::StatePoolManager::flushPool ( )
inline

This method starts the teardown of all the different.

Definition at line 464 of file StateTracker.hpp.

◆ getInstance()

static StatePoolManager & sparta::tracker::StatePoolManager::getInstance ( )
inlinestatic

This is not a Thread Safe method.

Definition at line 446 of file StateTracker.hpp.

◆ setScheduler()

void sparta::tracker::StatePoolManager::setScheduler ( Scheduler scheduler)
inline

Set the scheduler used by the Simulation class.

Definition at line 503 of file StateTracker.hpp.

◆ setTrackingFilename()

void sparta::tracker::StatePoolManager::setTrackingFilename ( const std::string &  filename)
inline

This filename is the name of the State Tracking File as.

Clear all the data from previous Simulation runs.

Definition at line 490 of file StateTracker.hpp.


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