#include <board.h>
Inheritance diagram for TPProto::Board:

Public Member Functions | |
| Board () | |
| Default Constructor. | |
| virtual | ~Board () |
| Virtual destructor as required. | |
| void | packBuffer (Buffer *buf) |
| Packs the board into a buffer. | |
| bool | unpackBuffer (Buffer *buf) |
| Unpacks a board from a buffer. | |
| unsigned int | getId () |
| Gets the board's id number. | |
| std::string | getName () |
| Gets the board's name. | |
| std::string | getDescription () |
| Gets the board's description. | |
| int | numMessages () |
| Get the number of messages on the board. | |
| uint64_t | getLastModifiedTime () |
| Gets the last time this board was modified. | |
The Board class is the representation of the board Frame, and provides an interface to the boards.
| void TPProto::Board::packBuffer | ( | Buffer * | buf | ) | [virtual] |
Packs the board into a buffer.
Currently assets(0). Should not be used, sending boards to the server is not needed at this time.
| buf | The buffer to pack into. |
Implements TPProto::Frame.
| bool TPProto::Board::unpackBuffer | ( | Buffer * | buf | ) | [virtual] |
Unpacks a board from a buffer.
Unpacks a buffer, setting the values given by the server.
| buf | The buffer to unpack from. |
Implements TPProto::Frame.
| unsigned int TPProto::Board::getId | ( | ) |
| std::string TPProto::Board::getName | ( | ) |
Gets the board's name.
| std::string TPProto::Board::getDescription | ( | ) |
Gets the board's description.
| int TPProto::Board::numMessages | ( | ) |
Get the number of messages on the board.
The id of the messages are 0 to numMessages() - 1.
| uint64_t TPProto::Board::getLastModifiedTime | ( | ) |
Gets the last time this board was modified.
1.5.1