DUNE: Uniform Navigational Environment  2017.01.0
DUNE::Hardware::UCTK::Frame Class Reference

Public Member Functions

 Frame (void)
 
void setId (uint8_t id)
 
uint8_t getId (void) const
 
const uint8_t * getData (void) const
 
uint8_t getSize (void) const
 
void setPayloadSize (uint8_t size)
 
uint8_t getPayloadSize (void) const
 
uint8_t * getPayload (void)
 
const uint8_t * getPayload (void) const
 
void setPayload (uint8_t byte, unsigned index)
 
template<typename T >
void set (const T &value, unsigned index)
 
template<typename T >
void get (T &value, unsigned index) const
 
void computeCRC (void)
 

Constructor & Destructor Documentation

DUNE::Hardware::UCTK::Frame::Frame ( void  )
inline

Member Function Documentation

void DUNE::Hardware::UCTK::Frame::computeCRC ( void  )
inline
template<typename T >
void DUNE::Hardware::UCTK::Frame::get ( T &  value,
unsigned  index 
) const
inline
const uint8_t* DUNE::Hardware::UCTK::Frame::getData ( void  ) const
inline
uint8_t DUNE::Hardware::UCTK::Frame::getId ( void  ) const
inline
uint8_t* DUNE::Hardware::UCTK::Frame::getPayload ( void  )
inline
const uint8_t* DUNE::Hardware::UCTK::Frame::getPayload ( void  ) const
inline
uint8_t DUNE::Hardware::UCTK::Frame::getPayloadSize ( void  ) const
inline
uint8_t DUNE::Hardware::UCTK::Frame::getSize ( void  ) const
inline
template<typename T >
void DUNE::Hardware::UCTK::Frame::set ( const T &  value,
unsigned  index 
)
inline
void DUNE::Hardware::UCTK::Frame::setPayload ( uint8_t  byte,
unsigned  index 
)
inline
Collaboration diagram for DUNE::Hardware::UCTK::Frame:
Collaboration graph