INFM HIL Interface
Interface between Artery simulation and DuTs
|
Connector to a V2X network interface, opens a raw socket and passes received packages to simulation More...
#include <V2XConnector.h>
Public Member Functions | |
V2XConnector (std::shared_ptr< SharedQueue< SimEvent > > queueDuTToSim, const V2XConnectorConfig &config) | |
~V2XConnector () | |
void | handleEventSingle (const SimEvent &e) override |
ConnectorInfo | getConnectorInfo () override |
Public Member Functions inherited from sim_interface::dut_connector::DuTConnector | |
DuTConnector (std::shared_ptr< SharedQueue< SimEvent > > queueDuTToSim, const sim_interface::dut_connector::ConnectorConfig &config) | |
~DuTConnector () | |
void | handleEvent (const SimEvent &simEvent) |
void | sendEventToSim (const SimEvent &simEvent) |
Additional Inherited Members |
Connector to a V2X network interface, opens a raw socket and passes received packages to simulation
|
explicit |
Initialize V2X Connector and setup socket for receiving ethernet frames
queueDuTToSim | queue to write received SimEvents to |
config | Configuration of connector containing params (Context Params from Cube Board) |
sim_interface::dut_connector::v2x::V2XConnector::~V2XConnector | ( | ) |
Deconstructor stopping ioService and waiting for thread to join
|
overridevirtual |
Return some basic information like name, version and a short description of this connector
Reimplemented from sim_interface::dut_connector::DuTConnector.
|
overridevirtual |
Process the given event and send it via the given interface
e | SimEvent to handle |
Reimplemented from sim_interface::dut_connector::DuTConnector.