20 #ifndef WONDEROSCSENDER_H_INCLUDED
21 #define WONDEROSCSENDER_H_INCLUDED
75 void setAddress(
const std::string &newHost,
const std::string &newPort);
77 std::string
url()
const;
81 std::string
port()
const;
126 const std::string& port);
134 void sendReply(
const std::string& replyToMessage,
int state,
135 const std::string& message);
178 virtual void wonderSend(
const std::string &path,
179 const std::string types, ...);
187 #endif // WONDEROSCSENDER_H_INCLUDED
An abstract class describing the interface for a class that sends out the WONDER-specific OSC-message...
Definition: OscSender.h:43
A lowrappers::Address implementing the wonder::OscSender interface.
Definition: WonderOscSender.h:33
void sendListenerPosition(int listenerID, float x, float y)
Sends the /WONDER/listener/position message, changing the position of the listener which is used to d...
Definition: WonderOscSender.cpp:144
void sendStreamVisualPing(int count)
Sends the /WONDER/stream/visual/ping message.
Definition: WonderOscSender.cpp:184
void sendProjectSave()
Sends the /WONDER/project/save message without a parameter.
Definition: WonderOscSender.cpp:216
void sendSourceType(int id, int type)
Sends the /WONDER/source/type message.
Definition: WonderOscSender.cpp:94
void sendSourceColor(int id, uint8_t r, uint8_t g, uint8_t b)
Sends the /WONDER/source/color message, changing the colour to be used for that source in any GUI...
Definition: WonderOscSender.cpp:124
void sendReply(const std::string &replyToMessage, int state, const std::string &message)
Sends the /WONDER/reply message.
Definition: WonderOscSender.cpp:194
void sendSourceScalingDirection(int id, int inverted)
Sends the /WONDER/source/scalingDirection message, changing the scaling direction of the source...
Definition: WonderOscSender.cpp:134
void sendStreamVisualConnect()
Sends the /WONDER/stream/visual/connect message.
Definition: WonderOscSender.cpp:163
A struct describing a vertex with its three coordinates.
Definition: Room.h:40
int getTtl() const
Returns the time-to-live value for messages sent by this sender.
Definition: WonderOscSender.cpp:64
void sendPluginStandalone(const bool standAlone)
Sends the /WONDER/plugin/standalone message.
Definition: WonderOscSender.cpp:227
std::string getIface() const
Returns the name of the network interface that will be used for sending messages. ...
Definition: WonderOscSender.cpp:74
virtual void wonderSend(const MessageWithPath &msg)
This method is used to send OSC messages from the various methods inherited from wonder::OscSender.
Definition: WonderOscSender.cpp:246
void sendSourceActivate(int id)
Sends the /WONDER/source/activate message.
Definition: WonderOscSender.cpp:84
std::string url() const
Returns an url representing the destination address where this OscSender will send to...
Definition: WonderOscSender.cpp:49
void sendProjectCreate(const std::string &projectName)
Sends the /WONDER/project/create message.
Definition: WonderOscSender.cpp:206
void sendSourceRotatingDirection(int id, int inverted)
Sends the /WONDER/source/rotationDirection message, changing the rotation direction of the source...
Definition: WonderOscSender.cpp:129
A wrapper for Liblo's lo_address.
Definition: Address.h:35
void sendGlobalRenderpolygon(const std::string &roomName, int noOfVertices, wonder::Room::Vertex *vertices)
Sends the /WONDER/global/renderpolygon message.
Definition: WonderOscSender.cpp:149
void sendSourceDopplerEffect(int id, int on)
Sends the /WONDER/source/dopplerEffect message, switching the doppler effect for this source on or of...
Definition: WonderOscSender.cpp:139
void sendProjectLoad(const std::string &projectName)
Sends the /WONDER/project/load message.
Definition: WonderOscSender.cpp:211
void sendSourceAngle(int id, float angle)
Sends the /WONDER/source/angle message.
Definition: WonderOscSender.cpp:114
void sendStreamVisualPong(int count)
Sends the /WONDER/stream/visual/pong message.
Definition: WonderOscSender.cpp:189
void sendStreamVisualDisconnect()
Sends the /WONDER/stream/visual/disconnect message.
Definition: WonderOscSender.cpp:179
virtual ~WonderOscSender()
Destructor.
Definition: WonderOscSender.cpp:35
void sendSourceDeactivate(int id)
Sends the /WONDER/source/deactivate message.
Definition: WonderOscSender.cpp:89
void setAddress(const std::string &newHost, const std::string &newPort)
Sets the destination address where this OscSender will send to.
Definition: WonderOscSender.cpp:44
void sendProjectCreateWithScore(const std::string &projectName)
Sends the /WONDER/project/createWithScore message.
Definition: WonderOscSender.cpp:201
std::string hostname() const
Returns the hostname (or IP) of the destination address where this OscSender will send to...
Definition: WonderOscSender.cpp:54
std::string port() const
Returns the destination port (or service name) where this OscSender will send to. ...
Definition: WonderOscSender.cpp:59
void setIfaceByIp(const std::string &ip)
Sets the network interface to use for sending to this address by its IP.
Definition: WonderOscSender.cpp:79
A lowrappers::Message object that holds additional information about its destination OSC path...
Definition: MessageWithPath.h:31
void sendSourcePosition(int id, float x, float y)
Sends the /WONDER/source/position message.
Definition: WonderOscSender.cpp:99
void setTtl(uint8_t ttl)
Sets the time-to-live value for messages sent by this sender.
Definition: WonderOscSender.cpp:69
WonderOscSender(const std::string &host, const std::string &port, int proto=LO_UDP)
Constructor.
Definition: WonderOscSender.cpp:24
void sendSourceName(int id, const std::string &name)
Sends the /WONDER/source/name message, changing the source's name.
Definition: WonderOscSender.cpp:119