#include <Datagram.h>
Public Member Functions | |
const unsigned char * | bdata () const |
unsigned int | getBLength () const |
unsigned char | getId () const |
unsigned short | getStatus () const |
void | print (FILE *fp=stdout) const |
void | setData (unsigned char c, unsigned int pos) |
void | setData (unsigned char *bd, unsigned int nb) |
void | setId (unsigned char i) |
void | setStatus (unsigned char s1, unsigned char s2) |
void | setStatus (unsigned short s1) |
Definition at line 37 of file Datagram.h.
const unsigned char * Datagram::bdata | ( | ) | const |
Definition at line 205 of file Datagram.cpp.
unsigned int Datagram::getBLength | ( | ) | const |
Definition at line 200 of file Datagram.cpp.
unsigned char Datagram::getId | ( | ) | const |
Definition at line 171 of file Datagram.cpp.
unsigned short Datagram::getStatus | ( | ) | const |
Definition at line 176 of file Datagram.cpp.
void Datagram::print | ( | FILE * | fp = stdout | ) | const |
Definition at line 210 of file Datagram.cpp.
void Datagram::setData | ( | unsigned char | c, |
unsigned int | pos | ||
) |
Definition at line 181 of file Datagram.cpp.
void Datagram::setData | ( | unsigned char * | bd, |
unsigned int | nb | ||
) |
Definition at line 189 of file Datagram.cpp.
void Datagram::setId | ( | unsigned char | i | ) |
Definition at line 154 of file Datagram.cpp.
void Datagram::setStatus | ( | unsigned char | s1, |
unsigned char | s2 | ||
) |
Definition at line 159 of file Datagram.cpp.
void Datagram::setStatus | ( | unsigned short | s1 | ) |
Definition at line 165 of file Datagram.cpp.