Event object used to communicate between simulation and DuTs.
More...
#include <SimEvent.h>
Event object used to communicate between simulation and DuTs.
◆ SimEvent() [1/2]
| sim_interface::SimEvent::SimEvent |
( |
| ) |
|
◆ SimEvent() [2/2]
| sim_interface::SimEvent::SimEvent |
( |
std::string |
operation, |
|
|
boost::variant< int, double, std::string > |
value, |
|
|
std::string |
origin |
|
) |
| |
Create a new event.
- Parameters
-
| operation | The operation of the event. Used by the DuTConnectors to determent if the event is for the corresponding DuT. |
| value | The value of the event. |
| origin | The origin of the event. |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const SimEvent & |
simEvent |
|
) |
| |
|
friend |
Returns a string representation of the event.
- Parameters
-
- Returns
◆ current
| std::string sim_interface::SimEvent::current |
Time when the event was created.
◆ operation
| std::string sim_interface::SimEvent::operation |
◆ origin
| std::string sim_interface::SimEvent::origin |
◆ value
| boost::variant<int, double, std::string> sim_interface::SimEvent::value |
The documentation for this class was generated from the following files:
- Sim_To_DuT_Interface/Events/SimEvent.h
- Sim_To_DuT_Interface/Events/SimEvent.cpp