6#ifndef __STATDAEMONMANAGERIMPL_H__
7#define __STATDAEMONMANAGERIMPL_H__
13template<
class _TBackend>
21template<
class _TBackend>
29template<
class _TBackend>
37template<
class _TBackend>
45template<
class _TBackend>
54template<
class _TBackend>
57 return UNCASTABLE_TRUE;
61template<
class _TBackend>
69template<
class _TBackend>
76template<
class _TBackend>
std::map< PString, DaemonStat > MapDaemonStat
PUncastableBool sortFillDaemonStat(StatDaemonManager< _TBackend > &manager, const DaemonStat &data)
Fill the DL1 parameter of the stereo daemon.
DaemonConfig & getConfig()
Get the configuration of the current BaseDaemon.
PLog & getLog()
Get the log of the current BaseDaemon.
bool addDataCallableMethod(PUncastableBool(&function)(const _Data &), size_t nbBin, float histLowerBound, float histUpperBound)
Add a callable method of the Daemon.
Describe a Daemon of the Swarm.
size_t getStatNbBin() const
Gets the statNbBin of the DaemonConfig.
float getStatHistLowerBound() const
Gets the statHistLowerBound of the DaemonConfig.
float getStatHistUpperBound() const
Gets the statHistUpperBound of the DaemonConfig.
const PString & getName() const
Gets the name of the DaemonStat.
Daemon()
Default constructor of Daemon.
MapDaemonStat p_mapDaemonStat
Statistics about all Daemon in the swarm.
virtual void addCallMethod()
Method from BaseDaemon to add call methods.
size_t getStatsCount() const
Get the count of stats received.
virtual ~StatDaemonManager()
Destructor of StatDaemonManager.
StatDaemonManager()
Constructor of StatDaemonManager.
bool hasReceivedStats() const
Check if stats have been received.
PUncastableBool fillStatInfo(const DaemonStat &stat)
Fill the StatInfo of the StatDaemonManager with the given DaemonStat.
void initializeStatDaemonManager()
Initialize the StatDaemonManager.
const MapDaemonStat & getMapDaemonStat() const
Get the map of DaemonStat.
bool processEvent()
Process event.