An Open Sound Control library for the mbed, created to be compatible with Recotana's OSCClass library (http://recotana.com) for the Arduino with Ethernet shield. It also uses parts of the OSC Transceiver(Sender/Receiver) code by xshige written by: Alvaro Cassinelli, October 2011 tweaked by: Toby Harris / *spark audio-visual, March 2012
Dependencies: NetServices mbed
Diff: mbedOSC.h
- Revision:
- 3:2b56849146d8
- Parent:
- 2:acfd0090c8e7
- Child:
- 4:f365c577b3c6
--- a/mbedOSC.h Sun Apr 15 12:14:45 2012 +0000 +++ b/mbedOSC.h Sun Apr 15 12:52:48 2012 +0000 @@ -54,9 +54,7 @@ #define TYPE_FLOAT 2 -/** - * Container class for OSC messages (receiving or sending) - */ +/** Container class for OSC messages (receiving or sending) */ class OSCMessage{ private: @@ -75,7 +73,7 @@ Host host; public: - /** A container for an OSC message to receive or send */ + /** Create a container for an OSC message to be received or sent */ OSCMessage(); /** Return the IpAddr object */ @@ -97,7 +95,7 @@ char *getAddress(uint8_t _index); //retturn address /** Gets the TopAddress string of the OSC message (this is just the address with index 0) - + param[in] None return pointer of the TopAddress string (char *), i.e. address[0] Example: In the case "/ard/test", getTopAddress() = "/ard" (WITH the slash "/") @@ -251,6 +249,7 @@ #include "UDPSocket.h" +/** Wraps the UDP functions to send and receive OSC messages */ class OSCClass { private: @@ -269,7 +268,7 @@ public: - /** Wraps the UDP functions to send and receive OSC messages */ + /** Create an object to send and receive OSC messages */ OSCClass(); /*