Public Types | Public Member Functions

Swift::WhiteboardPayload Class Reference

Inheritance diagram for Swift::WhiteboardPayload:
Collaboration diagram for Swift::WhiteboardPayload:

List of all members.

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)

Detailed Description

Definition at line 16 of file WhiteboardPayload.h.


Member Typedef Documentation

Reimplemented from Swift::Payload.

Definition at line 18 of file WhiteboardPayload.h.


Member Enumeration Documentation

Enumerator:
UnknownType 
Data 
SessionRequest 
SessionAccept 
SessionTerminate 

Definition at line 21 of file WhiteboardPayload.h.


Constructor & Destructor Documentation

Swift::WhiteboardPayload::WhiteboardPayload ( Type  type = WhiteboardPayload::Data  )  [inline]

Definition at line 23 of file WhiteboardPayload.h.


Member Function Documentation

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.