Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
|
This class initializes the API. More...
#include <initializer.h>
Public Types | |
typedef NIC< SocketEngine > | NIC_T |
typedef Protocol< NIC_T > | Protocol_T |
typedef Communicator< Protocol_T > | Communicator_T |
typedef Communicator_T::Message_T | Message |
Public Member Functions | |
Initializer ()=default | |
~Initializer ()=default | |
Static Public Member Functions | |
static NIC_T * | create_nic () |
Creates a network interface abstraction. | |
static Protocol_T * | create_protocol (NIC_T *nic) |
Creates a protocol for system communication. | |
static Protocol_T * | create_protocol (NIC_T *nic, Protocol_T::EntityType entity_type) |
This class initializes the API.
This class is only responsible for starting the API. It allows you to create a network interface (NIC) and a protocol, which will be used in the system. The idea is that it is independent of the application in which the developer will use the API.
|
default |
|
default |
|
inlinestatic |
Creates a network interface abstraction.
|
inlinestatic |
Creates a protocol for system communication.
nic | a previously created network interface |
|
inlinestatic |