INFM HIL Interface
Interface between Artery simulation and DuTs
SimEvent.h
1
33#ifndef INFM_HIL_INTERFACE_SIMEVENT_H
34#define INFM_HIL_INTERFACE_SIMEVENT_H
35
36#include <map>
37#include <string>
38#include <iostream>
39#include <boost/variant.hpp>
40
41namespace sim_interface {
47 class SimEvent {
48 public:
52 SimEvent();
53
61 SimEvent(std::string operation, boost::variant<int, double, std::string> value, std::string origin);
62
66 std::string operation;
70 boost::variant<int, double, std::string> value;
74 std::string current;
78 std::string origin;
79
86 friend std::ostream &operator<<(std::ostream &os, const SimEvent &simEvent);
87 };
88}
89
90
91#endif //INFM_HIL_INTERFACE_SIMEVENT_H
Event object used to communicate between simulation and DuTs.
Definition: SimEvent.h:47
SimEvent()
Definition: SimEvent.cpp:33
std::string current
Definition: SimEvent.h:74
friend std::ostream & operator<<(std::ostream &os, const SimEvent &simEvent)
Definition: SimEvent.cpp:52
boost::variant< int, double, std::string > value
Definition: SimEvent.h:70
std::string operation
Definition: SimEvent.h:66
std::string origin
Definition: SimEvent.h:78
Definition: CANConnector.cpp:29