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

#include <protocol.h>

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

Public Member Functions

 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)
 

Constructor & Destructor Documentation

◆ Header()

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

Member Function Documentation

◆ from_port() [1/2]

template<typename NIC >
Port Protocol< NIC >::Header::from_port ( ) const
inline

◆ from_port() [2/2]

template<typename NIC >
void Protocol< NIC >::Header::from_port ( Port  p)
inline

◆ size() [1/2]

template<typename NIC >
unsigned int Protocol< NIC >::Header::size ( ) const
inline

◆ size() [2/2]

template<typename NIC >
void Protocol< NIC >::Header::size ( unsigned int  s)
inline

◆ to_port() [1/2]

template<typename NIC >
Port Protocol< NIC >::Header::to_port ( ) const
inline

◆ to_port() [2/2]

template<typename NIC >
void Protocol< NIC >::Header::to_port ( Port  p)
inline

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