Public Types | |
enum | Type { UnknownType, Data, SessionRequest, SessionAccept, SessionTerminate } |
typedef boost::shared_ptr < WhiteboardPayload > | ref |
Public Member Functions | |
WhiteboardPayload (Type type=WhiteboardPayload::Data) | |
void | setData (const std::string &data) |
std::string | getData () const |
Type | getType () const |
void | setType (Type type) |
WhiteboardElement::ref | getElement () const |
void | setElement (WhiteboardElement::ref element) |
WhiteboardOperation::ref | getOperation () const |
void | setOperation (WhiteboardOperation::ref operation) |
Definition at line 16 of file WhiteboardPayload.h.
typedef boost::shared_ptr<WhiteboardPayload> Swift::WhiteboardPayload::ref |
Reimplemented from Swift::Payload.
Definition at line 18 of file WhiteboardPayload.h.
Definition at line 21 of file WhiteboardPayload.h.
Swift::WhiteboardPayload::WhiteboardPayload | ( | Type | type = WhiteboardPayload::Data |
) | [inline] |
Definition at line 23 of file WhiteboardPayload.h.
std::string Swift::WhiteboardPayload::getData | ( | ) | const [inline] |
Definition at line 30 of file WhiteboardPayload.h.
WhiteboardElement::ref Swift::WhiteboardPayload::getElement | ( | ) | const [inline] |
Definition at line 42 of file WhiteboardPayload.h.
WhiteboardOperation::ref Swift::WhiteboardPayload::getOperation | ( | ) | const [inline] |
Definition at line 50 of file WhiteboardPayload.h.
Type Swift::WhiteboardPayload::getType | ( | ) | const [inline] |
Definition at line 34 of file WhiteboardPayload.h.
void Swift::WhiteboardPayload::setData | ( | const std::string & | data | ) | [inline] |
Definition at line 26 of file WhiteboardPayload.h.
void Swift::WhiteboardPayload::setElement | ( | WhiteboardElement::ref | element | ) | [inline] |
Definition at line 46 of file WhiteboardPayload.h.
void Swift::WhiteboardPayload::setOperation | ( | WhiteboardOperation::ref | operation | ) | [inline] |
Definition at line 54 of file WhiteboardPayload.h.
void Swift::WhiteboardPayload::setType | ( | Type | type | ) | [inline] |
Definition at line 38 of file WhiteboardPayload.h.