ofxOscReceiver
ProcessMessage( ... )
void ProcessMessage(const int &m, const int &remoteEndpoint)process an incoming osc message and add it to the queue
copy( ... )
ofxOscReceiver & copy(const ofxOscReceiver &other)for operator= and copy constructor
getNextMessage( ... )
bool getNextMessage(ofxOscMessage &msg)remove a message from the queue and copy it's data into msg \return false if there are no waiting messages, otherwise return true
getParameter( ... )
bool getParameter(ofAbstractParameter ¶meter)try to get waiting message an ofParameter \return true if message was handled by the given parameter
getPort( )
int getPort()\return listening port
getSettings( )
const ofxOscReceiverSettings & getSettings()\return the current receiver settings
hasWaitingMessages( )
bool hasWaitingMessages()\return true if there are any messages waiting for collection
isListening( )
bool isListening()\return true if the receiver is listening
ofxOscReceiver( ... )
ofxOscReceiver(const ofxOscReceiver &mom)ofxOscReceiver( )
ofxOscReceiver()operator=( ... )
ofxOscReceiver & operator=(const ofxOscReceiver &mom)setup( ... )
bool setup(const ofxOscReceiverSettings &settings)set up the receiver with the given settings
starts listening if start is true (true by default)
multiple receivers can share the same port if port reuse is enabled (true by default)
\return true if listening was started or start was not required
setup( ... )
bool setup(int port)set up the receiver with the port to listen for messages on and start listening
multiple receivers can share the same port if port reuse is enabled (true by default)
\return true if listening started
start( )
bool start()start listening manually using the current settings
this is not required if you called setup(port) or setup(settings) with start set to true
\return true if listening started or was already running
stop( )
void stop()stop listening, does not clear port value
~ofxOscReceiver( )
~ofxOscReceiver()