An interface defining an OSC server thread that receives and handles the messages sent via WONDER's "visual stream".
More...
#include <VisualStreamReceiver.h>
An interface defining an OSC server thread that receives and handles the messages sent via WONDER's "visual stream".
- See Also
- wonderlo::VSReceiver for a liblo-based implementation.
virtual wonder::VisualStreamReceiver::~VisualStreamReceiver |
( |
| ) |
|
|
inlinevirtual |
virtual OscSender* wonder::VisualStreamReceiver::createSender |
( |
const std::string & |
host, |
|
|
const std::string & |
port |
|
) |
| |
|
pure virtual |
Returns a OscSender that sends from the port of this server thread to the specified destination.
- Parameters
-
host | A valid hostname or ip string (what exactly is supported (IPv6?) may depend on what OSC library is used to implement this interface). |
port | A validport number or service name (what exactly is supported may depend on what OSC library is used to implement this interface). |
- Returns
- A OscSender that sends from the port of this server thread to the specified destination.
Implemented in wonderlo::VSReceiver.
virtual OscSenderThread* wonder::VisualStreamReceiver::createSenderThread |
( |
const std::string & |
host, |
|
|
const std::string & |
port |
|
) |
| |
|
pure virtual |
virtual void wonder::VisualStreamReceiver::join |
( |
| ) |
|
|
pure virtual |
virtual int wonder::VisualStreamReceiver::port |
( |
| ) |
|
|
pure virtual |
virtual void wonder::VisualStreamReceiver::setListener |
( |
Listener * |
listener | ) |
|
|
pure virtual |
Sets the Listener to be called on incoming OSC messages.
- Parameters
-
listener | The Listener to be called on incoming OSC messages. |
virtual void wonder::VisualStreamReceiver::setPingHandler |
( |
PingHandler * |
pingHandler | ) |
|
|
pure virtual |
Sets the PingHandler to be called on incoming /WONDER/stream/visual/ping messages.
- Parameters
-
pingHandler | The PingHandler to be called on incoming /WONDER/stream/visual/ping messages. |
Implemented in wonderlo::VSReceiver.
virtual void wonder::VisualStreamReceiver::start |
( |
| ) |
|
|
pure virtual |
virtual void wonder::VisualStreamReceiver::stop |
( |
| ) |
|
|
pure virtual |