3#ifndef IMT_BASE_LIB_REMOTING_DATAFRAME_H 
    4#define IMT_BASE_LIB_REMOTING_DATAFRAME_H 
  116    bool ensureIsNotFull() 
const;
 
  117    bool ensureTargetCapacity(
size_t const targetCapacity) 
const;
 
Representation of a package of data that gets transmitted e.g.
 
uint8_t const * getData() const
Returns a pointer to the first character of the frame.
 
uint8_t takeEnd()
Removes a character from the end of this data frame.
 
DataFrame(DataFrame const &)=delete
 
bool checkCRC16(uint16_t const initialCrcValue=0xFFFFU) const
Checks if the crc 16 is valid.
 
DataFrame & operator=(DataFrame &&) &=delete
 
DataFrame(DataFrame &&)=delete
 
bool removeCRC16()
Checks and removes a 2 byte crc.
 
void init(DataFrame const &source)
Initiae DataFrame with another DataFrame.
 
bool appendCRC16(uint16_t const initialCrcValue=0xFFFFU)
Calculates and appends a 2 byte crc.
 
size_t getCapacity() const
Returns the maximum capacity of this data frame.
 
DataFrame & operator=(DataFrame const &) &=delete
 
size_t getSize() const
Returns the current size of the data frame.
 
bool setData(uint8_t const *const pData, uint32_t const dataSize)
Sets data.
 
void clear()
Clears the content of this DataFrame.
 
bool append(uint8_t const ch)
Appends a character at the end of this data frame.
 
This is a application specific file which is used to configure Imt.Base.Core.Math.
 
unsigned __int16 uint16_t
 
unsigned __int32 uint32_t
 
Struct to save frame data.