Communication Library for Autonomous Systems v1.0
Reliable and secure communication library for autonomous vehicle systems
Loading...
Searching...
No Matches
Protocol< NIC >::Packet Class Reference

#include <protocol.h>

Inheritance diagram for Protocol< NIC >::Packet:
Protocol< NIC >::Header

Public Member Functions

 Packet ()
 
Headerheader ()
 
TimestampFieldstimestamps ()
 
Coordinatescoordinates ()
 
AuthenticationFieldsauthentication ()
 
template<typename T >
Tdata ()
 
- Public Member Functions inherited from Protocol< NIC >::Header
 Header ()
 
Port from_port () const
 
void from_port (Port p)
 
Port to_port () const
 
void to_port (Port p)
 
unsigned int size () const
 
void size (unsigned int s)
 

Static Public Member Functions

static constexpr unsigned int sync_status_offset ()
 
static constexpr unsigned int tx_timestamp_offset ()
 

Constructor & Destructor Documentation

◆ Packet()

template<typename NIC >
Protocol< NIC >::Packet::Packet ( )
inline

Member Function Documentation

◆ authentication()

template<typename NIC >
AuthenticationFields * Protocol< NIC >::Packet::authentication ( )
inline

◆ coordinates()

template<typename NIC >
Coordinates * Protocol< NIC >::Packet::coordinates ( )
inline

◆ data()

template<typename NIC >
template<typename T >
T * Protocol< NIC >::Packet::data ( )
inline

◆ header()

template<typename NIC >
Header * Protocol< NIC >::Packet::header ( )
inline

◆ sync_status_offset()

template<typename NIC >
static constexpr unsigned int Protocol< NIC >::Packet::sync_status_offset ( )
inlinestaticconstexpr

◆ timestamps()

template<typename NIC >
TimestampFields * Protocol< NIC >::Packet::timestamps ( )
inline

◆ tx_timestamp_offset()

template<typename NIC >
static constexpr unsigned int Protocol< NIC >::Packet::tx_timestamp_offset ( )
inlinestaticconstexpr

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