Public Member Functions | Protected Member Functions

ofxOscReceiver Class Reference

#include <ofxOscReceiver.h>

Inheritance diagram for ofxOscReceiver:
osc::OscPacketListener PacketListener

List of all members.

Public Member Functions

 ofxOscReceiver ()
 ~ofxOscReceiver ()
void setup (int listen_port)
 listen_port is the port to listen for messages on
bool hasWaitingMessages ()
 returns true if there are any messages waiting for collection
bool getNextMessage (ofxOscMessage *)

Protected Member Functions

virtual void ProcessMessage (const osc::ReceivedMessage &m, const IpEndpointName &remoteEndpoint)
 process an incoming osc message and add it to the queue

Constructor & Destructor Documentation

ofxOscReceiver::ofxOscReceiver (  )
ofxOscReceiver::~ofxOscReceiver (  )

Member Function Documentation

bool ofxOscReceiver::getNextMessage ( ofxOscMessage message )

take the next message on the queue of received messages, copy its details into message, and remove it from the queue. return false if there are no more messages to be got, otherwise return true

bool ofxOscReceiver::hasWaitingMessages (  )

returns true if there are any messages waiting for collection

void ofxOscReceiver::ProcessMessage ( const osc::ReceivedMessage m,
const IpEndpointName remoteEndpoint 
) [protected, virtual]

process an incoming osc message and add it to the queue

Implements osc::OscPacketListener.

void ofxOscReceiver::setup ( int  listen_port )

listen_port is the port to listen for messages on


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines