LRAUV  revA
SimulatorUtils.h
Go to the documentation of this file.
1 
9 #ifndef SIMULATORUTILS_H_
10 #define SIMULATORUTILS_H_
11 
12 #include "logger/Logger.h"
13 #include "SimHeadStruct.h"
14 #include "SimInitStruct.h"
15 #include "SimResultStruct.h"
16 #include "SimRunStruct.h"
23 {
24 public:
25 
27  static void InitHead( SimHeadStruct& head, SimHeadStruct::StructType structType,
28  unsigned int addr = 0, unsigned int uid = 0 );
29 
31  static bool LoadInit( SimInitStruct& init, Component* owner, Logger& logger );
32 
33 };
34 
35 #endif /* SIMULATORUTILS_H_ */
Client-side interface for injecting log data into the log queue.
Definition: Logger.h:30
Contains static methods used by all the Simulator Component classes.
Definition: SimulatorUtils.h:22
static void InitHead(SimHeadStruct &head, SimHeadStruct::StructType structType, unsigned int addr=0, unsigned int uid=0)
Configure the SimHeadStruct.
Definition: SimulatorUtils.cpp:21
A struct that is passed from the LRAUV to the Simulator before either SimInitStruct or SimRunStruct...
Definition: SimHeadStruct.h:20
Contains the SimHeadStruct class declaration.
static bool LoadInit(SimInitStruct &init, Component *owner, Logger &logger)
Load properties from config files into the SimInitStruct.
Definition: SimulatorUtils.cpp:43
Abstract Base class for software components.
Definition: Component.h:53
Contains the SimRunStruct class declaration.
Contains the SimResultStruct class declaration.
Contains the Logger class definition.
StructType
Definition: SimHeadStruct.h:22
Contains the SimInitStruct class declaration.
A struct of values that is passed from the LRAUV to the Simulator, to initialize the simulator...
Definition: SimInitStruct.h:22