Skip to content

Class DataCollection::DataManager

ClassList > DataCollection > DataManager

Represents a data control system to hold all related receivers and collectors. More...

  • #include <DataManager.hpp>

Public Functions

Type Name
AgentInteractionCollector & GetAgentInteractionCollector ()
AgentReceiver & GetAgentReceiver ()
const DamageCollector & GetDamageCollector ()
const GameReceiver & GetGameReceiver ()
ItemUseCollector & GetItemUseCollector ()
void WriteToJson ()
~DataManager () = default

Public Static Functions

Type Name
DataManager & GetInstance ()

Detailed Description

World should report back relevant data here and it will be stored appropriately. Also manages graphing utilities.

Public Functions Documentation

function GetAgentInteractionCollector

inline AgentInteractionCollector & DataCollection::DataManager::GetAgentInteractionCollector () 

Get a handle to the agent interaction collector

Returns:

Reference to the agent interaction collector

function GetAgentReceiver

inline AgentReceiver & DataCollection::DataManager::GetAgentReceiver () 

Get a handle to the agent receiver

Returns:

Reference to the agent receiver

function GetDamageCollector

inline const DamageCollector & DataCollection::DataManager::GetDamageCollector () 

Get a handle to the damage collector

Returns:

Const reference to the damage collector

function GetGameReceiver

inline const GameReceiver & DataCollection::DataManager::GetGameReceiver () 

Get a handle to the game receiver

Returns:

Const reference to the game receiver

function GetItemUseCollector

inline ItemUseCollector & DataCollection::DataManager::GetItemUseCollector () 

Get a handle to the item use collector

Returns:

Reference to the item use collector

function WriteToJson

inline void DataCollection::DataManager::WriteToJson () 

function ~DataManager

DataCollection::DataManager::~DataManager () = default

Destructor

Public Static Functions Documentation

function GetInstance

static inline DataManager & DataCollection::DataManager::GetInstance () 

The documentation for this class was generated from the following file source/DataCollection/DataManager.hpp