INFM HIL Interface
Interface between Artery simulation and DuTs
Public Member Functions | Public Attributes | List of all members
sim_interface::dut_connector::v2x::V2XConnectorConfig Class Reference

Configuration for the V2XConnector, contains all necessary setup configuration to open a raw socket and send ethernet frames over it More...

#include <V2XConnectorConfig.h>

Inheritance diagram for sim_interface::dut_connector::v2x::V2XConnectorConfig:
sim_interface::dut_connector::ConnectorConfig

Public Member Functions

 V2XConnectorConfig (std::string ifname, unsigned short ethernetFrameType)
 
- Public Member Functions inherited from sim_interface::dut_connector::ConnectorConfig
 ConnectorConfig (std::set< std::string > operations, std::map< std::string, int > periodicOperations={}, bool periodicTimerEnabled=false)
 
virtual ~ConnectorConfig ()=default
 

Public Attributes

std::string ifname
 
unsigned short ethernetFrameType
 
- Public Attributes inherited from sim_interface::dut_connector::ConnectorConfig
std::set< std::string > operations {}
 
std::map< std::string, int > periodicOperations {}
 
bool periodicTimerEnabled = false
 

Detailed Description

Configuration for the V2XConnector, contains all necessary setup configuration to open a raw socket and send ethernet frames over it

Constructor & Destructor Documentation

◆ V2XConnectorConfig()

sim_interface::dut_connector::v2x::V2XConnectorConfig::V2XConnectorConfig ( std::string  ifname,
unsigned short  ethernetFrameType 
)
inlineexplicit

Create the connector config for the V2X connector

Responds only to V2X events

Parameters
ifnameifname of device to receive and send over
ethernetFrameTypetwo bytes to set the ethernet frame type with

Member Data Documentation

◆ ethernetFrameType

unsigned short sim_interface::dut_connector::v2x::V2XConnectorConfig::ethernetFrameType

Frame type to set on frames sent to network interface

◆ ifname

std::string sim_interface::dut_connector::v2x::V2XConnectorConfig::ifname

Network interface to send and receive V2X to/from


The documentation for this class was generated from the following file: