ofDocsdocumentation addons ofxOsc ofxOscSender

ofxOscSender


appendBundle( ... )

void appendBundle(const ofxOscBundle &bundle, int &p)

appendMessage( ... )

void appendMessage(const ofxOscMessage &message, int &p)

appendParameter( ... )

void appendParameter(ofxOscBundle &bundle, const ofAbstractParameter &parameter, const string &address)

appendParameter( ... )

void appendParameter(ofxOscMessage &msg, const ofAbstractParameter &parameter, const string &address)

clear( )

void clear()

clear the sender, does not clear host or port values


copy( ... )

ofxOscSender & copy(const ofxOscSender &other)

for operator= and copy constructor


getHost( )

string getHost()

\return current host name/ip


getPort( )

int getPort()

\return current port


getSettings( )

const ofxOscSenderSettings & getSettings()

\return the current sender settings


ofxOscSender( )

ofxOscSender()

ofxOscSender( ... )

ofxOscSender(const ofxOscSender &mom)

operator=( ... )

ofxOscSender & operator=(const ofxOscSender &mom)

sendBundle( ... )

void sendBundle(const ofxOscBundle &bundle)

send the given bundle


sendMessage( ... )

void sendMessage(const ofxOscMessage &message, bool wrapInBundle=true)

send the given message if wrapInBundle is true (default), message sent in a timetagged bundle


sendParameter( ... )

void sendParameter(const ofAbstractParameter &parameter)

create & send a message with data from an ofParameter


setup( ... )

bool setup(const string &host, int port)

set up the sender with the destination host name/ip and port \return true on success


setup( ... )

bool setup(const ofxOscSenderSettings &settings)

set up the sender with the given settings

Returns: true on success


~ofxOscSender( )

~ofxOscSender()