INFM HIL Interface
Interface between Artery simulation and DuTs
|
Namespaces | |
namespace | dut_connector |
Classes | |
class | ConfigSerializer |
ConfigSerializer: This class is for de-/ serializing the different connectorConfig types and overwrites the boost:serialization methods More... | |
class | InterfaceLogger |
Logger to log to file, console and as structured data csv More... | |
class | LoggerConfig |
The logger needs a configuration before it can start logging. More... | |
class | PeriodicTimer |
Timer to call given callback periodically with given event More... | |
class | SharedQueue |
A thread save shared queue to communicate between multiple threads. The queue is a FIFO queue. More... | |
class | SimComHandler |
Handler between interface and simulation. Responsible for sending/receiving SimEvents to/from the simulation. More... | |
class | SimEvent |
Event object used to communicate between simulation and DuTs. More... | |
class | SimToDuTInterface |
An interface between a simulation and multiple DuT devices. More... | |
class | SystemConfig |
Contains the config for the SimComHandler, the SimToDuTInterface and the Logger. More... | |
Enumerations | |
enum | LOG_TYPE { CONSOLE_LOG , FILE_LOG } |
enum | LOG_LEVEL { NONE , DEBUG , INFO , WARNING , ERROR , CRITICAL } |
Functions | |
std::ostream & | operator<< (std::ostream &os, const SimEvent &simEvent) |
std::ostream & | operator<< (std::ostream &os, const SimToDuTInterface &interface) |
Sim To DuT Interface
Copyright (C) 2021 Lukas Wagenlehner
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
Sim To DuT Interface
Copyright (C) 2021 Lukas Wagenlehner
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
std::map<std::string, boost::variant<std::string, std::vector<unsigned char>>> EthernetPacket::ToMap() { std::map<std::string, boost::variant<std::string, std::vector<unsigned char>>> map = {}; map["sourceMAC"] = sourceMAC; map["destinationMAC"] = destinationMAC; map["payload"] = payload; return map; }
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
Sim To DuT Interface
Copyright (C) 2021 Marco Keul
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
Sim To DuT Interface
Copyright (C) 2021 Marco Keul
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
Sim To DuT Interface
Copyright (C) 2021 Lukas Wagenlehner
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
Sim To DuT Interface
Copyright (C) 2021 Michael Schmitz
This file is part of "Sim To DuT Interface".
"Sim To DuT Interface" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"Sim To DuT Interface" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "Sim To DuT Interface". If not, see http://www.gnu.org/licenses/.
HIL - Periodic Timer This an utility to create periodic timers for SimEvents
Copyright (C) 2021 Michael Schmitz
This file is part of "HIL - Periodic Timer".
"HIL - Periodic Timer" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
"HIL - Periodic Timer" is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with "HIL - Periodic Timer". If not, see http://www.gnu.org/licenses/.
Defines the level of logging
This enum collects all types of logger whose level can be changed. So there is a log level for logging messages in the console and another one to log messages in a file. Please notice that you can't change the level of the data logging, because all data objects will be logged with the same level.
std::ostream & sim_interface::operator<< | ( | std::ostream & | os, |
const SimEvent & | simEvent | ||
) |
Returns a string representation of the event.
os | |
simEvent |
std::ostream & sim_interface::operator<< | ( | std::ostream & | os, |
const SimToDuTInterface & | interface | ||
) |
Returns a string representation for the interface.
os | Output stream object reference. |
interface | Instance reference of this class. |