|
Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
| Message (const char *message, int size, const TimeTag &timeTag=1, const char *senderAddr=nullptr) | |
| void | print () const |
| Pretty-print message information. | |
| const TimeTag & | timeTag () const |
| Get time tag. More... | |
| const std::string & | addressPattern () const |
| Get address pattern. | |
| const std::string | senderAddress () const |
| const std::string & | typeTags () const |
| Get type tags. | |
| Message & | resetStream () |
| Reset stream for converting from raw message bytes to types. | |
| Message & | operator>> (int &v) |
| Extract next stream element as integer. | |
| Message & | operator>> (float &v) |
| Extract next stream element as float. | |
| Message & | operator>> (double &v) |
| Extract next stream element as double. | |
| Message & | operator>> (char &v) |
| Extract next stream element as char. | |
| Message & | operator>> (const char *&v) |
| Extract next stream element as C-string. | |
| Message & | operator>> (std::string &v) |
| Extract next stream element as string. | |
| Message & | operator>> (Blob &v) |
| Extract next stream element as Blob. | |
Protected Attributes | |
| Impl * | mImpl |
| std::string | mAddressPattern |
| std::string | mTypeTags |
| TimeTag | mTimeTag |
| char | mSenderAddr [32] |
Inbound OSC message
Definition at line 217 of file al_OSC.hpp.
| al::osc::Message::Message | ( | const char * | message, |
| int | size, | ||
| const TimeTag & | timeTag = 1, |
||
| const char * | senderAddr = nullptr |
||
| ) |
| [in] | message | raw OSC message bytes |
| [in] | size | number of bytes in message |
| [in] | timeTag | time tag of message (inherited from bundle) |
| [in] | senderAddr | IP address of sender |
|
inline |
Get time tag.
If the message is contained within a bundle, it will inherit the time tag of the bundle, otherwise the time tag will be 1 (immediate).
Definition at line 235 of file al_OSC.hpp.