![]() |
Open Lighting Architecture 0.10.9
|
Code for the OSC protocol.
Classes | |
| class | IPV4SocketAddress |
| An IPv4 SocketAddress. More... | |
| class | OSCDevice |
| class | OSCInputPort |
| The Input Port class, for receiving DMX via OSC. More... | |
| class | OSCNode |
| class | OSCOutputPort |
| class | OSCPlugin |
| struct | OSCTarget |
| class | ostringstream |
| STL class. More... | |
| class | SelectServerInterface |
| The interface for the SelectServer. More... | |
| class | set |
| STL class. More... | |
| class | string |
| STL class. More... | |
| class | vector |
| STL class. More... | |
Functions | |
| string | ExpandTemplate (const string &str, unsigned int value) |
| void | OSCErrorHandler (int error_code, const char *msg, const char *stack) |
| bool | ExtractSlotFromPath (const string &osc_address, string *group_address, uint16_t *slot) |
| bool | ExtractSlotValueFromPair (const string &type, lo_arg **argv, int argc, uint16_t *slot, uint8_t *value) |
| int | OSCDataHandler (const char *osc_address, const char *types, lo_arg **argv, int argc, lo_message, void *user_data) |
| std::string | IntToString (int i) |
| Convert an int to a string. | |
| std::string ola::plugin::osc::ExpandTemplate | ( | const string & | str, |
| unsigned int | value ) |
If the string contains d, replace it with the given value. This only replaces the first instance of d.
| str | the template string to use |
| value | the value to use as the replacement. |
| bool ola::plugin::osc::ExtractSlotFromPath | ( | const string & | osc_address, |
| string * | group_address, | ||
| uint16_t * | slot ) |
Extract the slot number and group address from an OSC address
| bool ola::plugin::osc::ExtractSlotValueFromPair | ( | const string & | type, |
| lo_arg ** | argv, | ||
| int | argc, | ||
| uint16_t * | slot, | ||
| uint8_t * | value ) |
Extract the slot and value from a tuple (either ii or if)
|
inline |
Convert an int to a string.
| i | the int to convert |
| int ola::plugin::osc::OSCDataHandler | ( | const char * | osc_address, |
| const char * | types, | ||
| lo_arg ** | argv, | ||
| int | argc, | ||
| lo_message | , | ||
| void * | user_data ) |
Called when liblo receives data.
| osc_address | the OSC Address this data was sent to |
| types | the OSC data type for the data |
| argv | the data itself |
| argc | the number of data blocks |
| user_data | a pointer to the OSCNode object. |