|
SPAOP
|
A wrapper of Liblo's lo_message. More...
#include <Message.h>

Public Member Functions | |
| Message () | |
| Constructor. More... | |
| virtual | ~Message () |
| Destructor. More... | |
| Message (const Message &other) | |
| Copy constructor. More... | |
| void | add (const std::string types,...) |
| Adds content to the message. More... | |
| void | addVAList (const std::string &types, va_list args) |
| Adds content to the message. More... | |
Friends | |
| class | Address |
| Address is friend class so it can access the internal lo_message object for sending. More... | |
A wrapper of Liblo's lo_message.
These messages can be sent via Address::send and Address::sendFrom.
| lowrappers::Message::Message | ( | ) |
Constructor.
|
virtual |
Destructor.
| lowrappers::Message::Message | ( | const Message & | other | ) |
Copy constructor.
Creates a copy of this message. (Internally, lo_message_clone is called.)
| other | The message to be copied. |
| void lowrappers::Message::add | ( | const std::string | types, |
| ... | |||
| ) |
Adds content to the message.
Number and types of arguments must match the types string, e.g. add("iff", 1, 2.0, 3.0) or add(s, "some string").
| types | A Liblo-style typestring. |
| ... | The content to be added to the message. Number and types of arguments must match the types string. |
| void lowrappers::Message::addVAList | ( | const std::string & | types, |
| va_list | args | ||
| ) |
Adds content to the message.
Number and types of arguments must match the types string, e.g. add("iff", 1, 2.0, 3.0) or add(s, "some string"). Parameters are passed as a va_list. This allows other varargs methods to pass on their arguments.
| types | A Liblo-style typestring |
| args | The data values to be transmitted. The types of the arguments passed here (and their length) must agree with the types specified in the type parameter. |
1.8.6