SPAOP
|
An interface for a thread implementing the OscSender interface. More...
#include <OscSenderThread.h>
Public Member Functions | |
virtual void | start ()=0 |
Starts the thread. More... | |
virtual void | stop ()=0 |
Stops the thread. More... | |
virtual void | join ()=0 |
Joins the thread. More... | |
Public Member Functions inherited from wonder::OscSender | |
virtual | ~OscSender () |
Destructor. More... | |
virtual void | setAddress (const std::string &newHost, const std::string &newPort)=0 |
Sets the destination address where this OscSender will send to. More... | |
virtual std::string | url () const =0 |
Returns an url representing the destination address where this OscSender will send to. More... | |
virtual std::string | hostname () const =0 |
Returns the hostname (or IP) of the destination address where this OscSender will send to. More... | |
virtual std::string | port () const =0 |
Returns the destination port (or service name) where this OscSender will send to. More... | |
virtual int | getTtl () const =0 |
Returns the time-to-live value for messages sent by this sender. More... | |
virtual void | setTtl (uint8_t ttl)=0 |
Sets the time-to-live value for messages sent by this sender. More... | |
virtual std::string | getIface () const =0 |
Returns the name of the network interface that will be used for sending messages. More... | |
virtual void | setIfaceByIp (const std::string &ip)=0 |
Sets the network interface to use for sending to this address by its IP. More... | |
virtual void | sendSourceActivate (int sourceID)=0 |
Sends the /WONDER/source/activate message. More... | |
virtual void | sendSourceDeactivate (int sourceID)=0 |
Sends the /WONDER/source/deactivate message. More... | |
virtual void | sendSourceType (int sourceID, int type)=0 |
Sends the /WONDER/source/type message. More... | |
virtual void | sendSourcePosition (int sourceID, float x, float y)=0 |
Sends the /WONDER/source/position message. More... | |
virtual void | sendSourcePosition (int sourceID, float x, float y, float duration)=0 |
Sends the /WONDER/source/position message with a duration parameter. More... | |
virtual void | sendSourcePosition (int sourceID, float x, float y, float duration, float timestamp)=0 |
Sends the /WONDER/source/position message with a duration and a timestamp parameter. More... | |
virtual void | sendSourceAngle (int sourceID, float angle)=0 |
Sends the /WONDER/source/angle message. More... | |
virtual void | sendSourceName (int sourceID, const std::string &name)=0 |
Sends the /WONDER/source/name message, changing the source's name. More... | |
virtual void | sendSourceColor (int sourceID, uint8_t r, uint8_t g, uint8_t b)=0 |
Sends the /WONDER/source/color message, changing the colour to be used for that source in any GUI. More... | |
virtual void | sendSourceColor (int sourceID, Colour colour) |
Sends the /WONDER/source/color message, changing the colour to be used for that source in any GUI. More... | |
virtual void | sendSourceRotatingDirection (int sourceID, int inverted)=0 |
Sends the /WONDER/source/rotationDirection message, changing the rotation direction of the source. More... | |
virtual void | sendSourceScalingDirection (int sourceID, int inverted)=0 |
Sends the /WONDER/source/scalingDirection message, changing the scaling direction of the source. More... | |
virtual void | sendSourceDopplerEffect (int sourceID, int on)=0 |
Sends the /WONDER/source/dopplerEffect message, switching the doppler effect for this source on or off. More... | |
virtual void | sendListenerPosition (int listenerID, float x, float y)=0 |
Sends the /WONDER/listener/position message, changing the position of the listener which is used to determine which speakers are used for focused sources. More... | |
virtual void | sendGlobalRenderpolygon (const std::string &roomName, int noOfVertices, Room::Vertex *vertices)=0 |
Sends the /WONDER/global/renderpolygon message. More... | |
virtual void | sendStreamVisualConnect ()=0 |
Sends the /WONDER/stream/visual/connect message. More... | |
virtual void | sendStreamVisualConnect (const std::string &name)=0 |
Sends the /WONDER/stream/visual/connect message. More... | |
virtual void | sendStreamVisualConnect (const std::string &host, const std::string &port)=0 |
Sends the /WONDER/stream/visual/connect message. More... | |
virtual void | sendStreamVisualDisconnect ()=0 |
Sends the /WONDER/stream/visual/disconnect message. More... | |
virtual void | sendStreamVisualPing (int count)=0 |
Sends the /WONDER/stream/visual/ping message. More... | |
virtual void | sendStreamVisualPong (int count)=0 |
Sends the /WONDER/stream/visual/pong message. More... | |
virtual void | sendReply (const std::string &replyToMessage, int state, const std::string &message)=0 |
Sends the /WONDER/reply message. More... | |
virtual void | sendProjectCreateWithScore (const std::string &projectName)=0 |
Sends the /WONDER/project/createWithScore message. More... | |
virtual void | sendProjectCreate (const std::string &projectName)=0 |
Sends the /WONDER/project/create message. More... | |
virtual void | sendProjectLoad (const std::string &projectName)=0 |
Sends the /WONDER/project/load message. More... | |
virtual void | sendProjectSave ()=0 |
Sends the /WONDER/project/save message without a parameter. More... | |
virtual void | sendProjectSave (const std::string &projectName)=0 |
Sends the /WONDER/project/save message with a projectName parameter. More... | |
virtual void | sendPluginStandalone (const bool standAlone)=0 |
Sends the /WONDER/plugin/standalone message. More... | |
void | sendFullSourceInfo (const Source &src) |
Sends out all source-related information for one Source object (type, position, angle, colour, doppler effect setting and name). More... | |
An interface for a thread implementing the OscSender interface.
An OscSenderThread object accepts calls to the OscSender methods and will send the corresponding OscMessages from its own thread.
|
pure virtual |
Joins the thread.
Implemented in wonderlo::WonderOscSenderThread.
|
pure virtual |
Starts the thread.
Implemented in wonderlo::WonderOscSenderThread.
|
pure virtual |
Stops the thread.
Implemented in wonderlo::WonderOscSenderThread.