PhoenixSwarm  3.5.0
Library to ease communication between daemons
Loading...
Searching...
No Matches
Representation.h File Reference
#include <string>
#include "phoenix_data_stream.h"
#include "phoenix_path_stream.h"
#include "PString.h"
#include "MessageType.h"
#include "phoenix_type_stream.h"
#include "phoenix_check_stream.h"
+ Include dependency graph for Representation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CheckStream< DaemonConfig >
 Generic DaemonConfig Check function. More...
 
struct  CheckStream< DaemonStat >
 Generic DaemonStat Check function. More...
 
struct  CheckStream< DaemonStatAccumulator >
 Generic DaemonStatAccumulator Check function. More...
 
struct  CheckStream< Data >
 Generic Data Check function. More...
 
struct  CheckStream< Function >
 Generic Function Check function. More...
 
struct  CheckStream< Message >
 Generic Message Check function. More...
 
struct  CheckStream< StatAccumulator >
 Generic StatAccumulator Check function. More...
 
struct  CheckStream< VecStat >
 Generic VecStat Check function. More...
 
class  DaemonConfig
 Describe a Daemon of the Swarm. More...
 
class  DaemonStat
 Statistics of a Daemon. More...
 
class  DaemonStatAccumulator
 Accumulator of all events occurence on a Daemon (processing functions and communication latencies) to build swarm statistics over a time period. More...
 
class  Data
 Basic Data exchanged in the swarm. More...
 
struct  DataStream< Stream, Mode, DaemonConfig >
 Generic DaemonConfig serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, DaemonStat >
 Generic DaemonStat serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, DaemonStatAccumulator >
 Generic DaemonStatAccumulator serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, Data >
 Generic Data serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, Function >
 Generic Function serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, Message >
 Generic Message serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, StatAccumulator >
 Generic StatAccumulator serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
struct  DataStream< Stream, Mode, VecStat >
 Generic VecStat serialisation/deserialisation, load/save and size function for PhoenixDataStream. More...
 
class  Function
 Basic function which can be called from an other Daemon. More...
 
class  Message
 Message exchanged by Daemons. More...
 
class  StatAccumulator
 Accumulator of event occurence to build swarm statistics over a time period. More...
 
class  VecStat
 General statistics in the swarm. More...
 

Functions

template<>
std::string phoenix_getTypeName< DaemonConfig > ()
 Get the name of the class DaemonConfig for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< DaemonStat > ()
 Get the name of the class DaemonStat for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< DaemonStatAccumulator > ()
 Get the name of the class DaemonStatAccumulator for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< Data > ()
 Get the name of the class Data for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< Function > ()
 Get the name of the class Function for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< Message > ()
 Get the name of the class Message for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< StatAccumulator > ()
 Get the name of the class StatAccumulator for PhoenixTypeStream.
 
template<>
std::string phoenix_getTypeName< VecStat > ()
 Get the name of the class VecStat for PhoenixTypeStream.
 

Function Documentation

◆ phoenix_getTypeName< DaemonConfig >()

template<>
std::string phoenix_getTypeName< DaemonConfig > ( )

Get the name of the class DaemonConfig for PhoenixTypeStream.

Returns
name of the class DaemonConfig for PhoenixTypeStream

Definition at line 1327 of file Representation.cpp.

1327 {
1328 return "DaemonConfig";
1329}

◆ phoenix_getTypeName< DaemonStat >()

template<>
std::string phoenix_getTypeName< DaemonStat > ( )

Get the name of the class DaemonStat for PhoenixTypeStream.

Returns
name of the class DaemonStat for PhoenixTypeStream

Definition at line 825 of file Representation.cpp.

825 {
826 return "DaemonStat";
827}

◆ phoenix_getTypeName< DaemonStatAccumulator >()

template<>
std::string phoenix_getTypeName< DaemonStatAccumulator > ( )

Get the name of the class DaemonStatAccumulator for PhoenixTypeStream.

Returns
name of the class DaemonStatAccumulator for PhoenixTypeStream

Definition at line 1224 of file Representation.cpp.

1224 {
1225 return "DaemonStatAccumulator";
1226}

◆ phoenix_getTypeName< Data >()

template<>
std::string phoenix_getTypeName< Data > ( )

Get the name of the class Data for PhoenixTypeStream.

Returns
name of the class Data for PhoenixTypeStream

Definition at line 14 of file Representation.cpp.

14 {
15 return "Data";
16}

◆ phoenix_getTypeName< Function >()

template<>
std::string phoenix_getTypeName< Function > ( )

Get the name of the class Function for PhoenixTypeStream.

Returns
name of the class Function for PhoenixTypeStream

Definition at line 166 of file Representation.cpp.

166 {
167 return "Function";
168}

◆ phoenix_getTypeName< Message >()

template<>
std::string phoenix_getTypeName< Message > ( )

Get the name of the class Message for PhoenixTypeStream.

Returns
name of the class Message for PhoenixTypeStream

Definition at line 317 of file Representation.cpp.

317 {
318 return "Message";
319}

◆ phoenix_getTypeName< StatAccumulator >()

template<>
std::string phoenix_getTypeName< StatAccumulator > ( )

Get the name of the class StatAccumulator for PhoenixTypeStream.

Returns
name of the class StatAccumulator for PhoenixTypeStream

Definition at line 952 of file Representation.cpp.

952 {
953 return "StatAccumulator";
954}

◆ phoenix_getTypeName< VecStat >()

template<>
std::string phoenix_getTypeName< VecStat > ( )

Get the name of the class VecStat for PhoenixTypeStream.

Returns
name of the class VecStat for PhoenixTypeStream

Definition at line 538 of file Representation.cpp.

538 {
539 return "VecStat";
540}