Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
Loading...
Searching...
No Matches
SocketEngine Class Referenceabstract

#include <socketEngine.h>

Public Member Functions

 SocketEngine ()
 
virtual ~SocketEngine ()
 
void start ()
 
void stop ()
 
const bool running ()
 
int send (Ethernet::Frame *frame, unsigned int size)
 
const Ethernet::Addressmac_address ()
 

Static Public Member Functions

static const charINTERFACE ()
 
static voidrun (void *arg)
 

Protected Attributes

int _sock_fd
 
int _ep_fd
 
int _if_index
 
Ethernet::Address _mac_address
 

Constructor & Destructor Documentation

◆ SocketEngine()

SocketEngine::SocketEngine ( )

◆ ~SocketEngine()

SocketEngine::~SocketEngine ( )
virtual

Member Function Documentation

◆ INTERFACE()

static const char * SocketEngine::INTERFACE ( )
inlinestatic

◆ mac_address()

const Ethernet::Address & SocketEngine::mac_address ( )

◆ run()

void * SocketEngine::run ( void arg)
static

◆ running()

const bool SocketEngine::running ( )

◆ send()

int SocketEngine::send ( Ethernet::Frame frame,
unsigned int  size 
)

◆ start()

void SocketEngine::start ( )

◆ stop()

void SocketEngine::stop ( )

Member Data Documentation

◆ _ep_fd

int SocketEngine::_ep_fd
protected

◆ _if_index

int SocketEngine::_if_index
protected

◆ _mac_address

Ethernet::Address SocketEngine::_mac_address
protected

◆ _sock_fd

int SocketEngine::_sock_fd
protected

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