All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Brief description of class still missing. More...
#include <MessageClassIdOnly.h>
Public Member Functions | |
| const char * | buffer () const |
| const FletcherChecksum & | checksum () const |
| const MessageClassIdHeader & | header () const |
| MessageClassIdOnly (unsigned char msgClass, unsigned char msgId) | |
Brief description of class still missing.
Full description of class still missing
| GpCoreTools::MessageClassIdOnly::MessageClassIdOnly | ( | unsigned char | msgClass, |
| unsigned char | msgId | ||
| ) | [inline] |
References GpCoreTools::FletcherChecksum::add(), GpCoreTools::MessageClassIdHeader::header(), and GpCoreTools::MessageClassIdHeader::HeaderSize.
: _head(msgClass, msgId, 0), _tail()
{
_tail.add(reinterpret_cast<const char *>(_head.header()), MessageClassIdHeader::HeaderSize);
}
| const char* GpCoreTools::MessageClassIdOnly::buffer | ( | ) | const [inline] |
Referenced by CubeSerial::start().
{return reinterpret_cast<const char *>(this);}
| const FletcherChecksum& GpCoreTools::MessageClassIdOnly::checksum | ( | ) | const [inline] |
{return _tail;}
| const MessageClassIdHeader& GpCoreTools::MessageClassIdOnly::header | ( | ) | const [inline] |
{return _head;}