28#ifndef SIM_TO_DUT_INTERFACE_SIMCOMHANDLER_H
29#define SIM_TO_DUT_INTERFACE_SIMCOMHANDLER_H
31#include "../Events/SimEvent.h"
32#include "../SystemConfig.h"
33#include "../SimToDuTInterface.h"
38 class SimToDuTInterface;
199 void sendEventToInterface(
const SimEvent &simEvent);
201 zmq::socket_t socketSimSub_;
202 zmq::socket_t socketSimPub_;
203 zmq::socket_t socketSimSubConfig_;
204 std::string socketSimAddressSub;
205 std::string socketSimAddressPub;
206 std::string socketSimAddressReceiverConfig;
207 std::thread simComHandlerThread;
208 bool stopThread =
true;
Handler between interface and simulation. Responsible for sending/receiving SimEvents to/from the sim...
Definition: SimComHandler.h:46
void disconnectReceiveConfig()
void sendEventToSim(const SimEvent &simEvent)
connectorType resolveConnectorTypeForSwitch(std::string connectorTypeS)
SimComHandler(SimToDuTInterface *interface, const SystemConfig &config)
connectorType
Definition: SimComHandler.h:154
void disconnectSubscriber()
Event object used to communicate between simulation and DuTs.
Definition: SimEvent.h:47
An interface between a simulation and multiple DuT devices.
Definition: SimToDuTInterface.h:42
Contains the config for the SimComHandler, the SimToDuTInterface and the Logger.
Definition: SystemConfig.h:40
Definition: CANConnector.cpp:29