Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
|
#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::Address & | mac_address () |
Static Public Member Functions | |
static const char * | INTERFACE () |
static void * | run (void *arg) |
Protected Attributes | |
int | _sock_fd |
int | _ep_fd |
int | _if_index |
Ethernet::Address | _mac_address |
SocketEngine::SocketEngine | ( | ) |
|
virtual |
const Ethernet::Address & SocketEngine::mac_address | ( | ) |
int SocketEngine::send | ( | Ethernet::Frame * | frame, |
unsigned int | size | ||
) |
void SocketEngine::start | ( | ) |
void SocketEngine::stop | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |