Public Member Functions

ofxOscMessage Class Reference

#include <ofxOscMessage.h>

List of all members.

Public Member Functions

 ofxOscMessage ()
 ~ofxOscMessage ()
 ofxOscMessage (const ofxOscMessage &other)
ofxOscMessageoperator= (const ofxOscMessage &other)
ofxOscMessagecopy (const ofxOscMessage &other)
 for operator= and copy constructor
void clear ()
 clear this message, erase all contents
string getAddress () const
 return the address
string getRemoteIp ()
 return the remote ip
int getRemotePort ()
 return the remote port
int getNumArgs () const
 return number of arguments
ofxOscArgType getArgType (int index) const
 return argument type code for argument # index
string getArgTypeName (int index) const
int32_t getArgAsInt32 (int index) const
float getArgAsFloat (int index) const
string getArgAsString (int index) const
void setAddress (string _address)
 message construction
void setRemoteEndpoint (string host, int port)
 host and port of the remote endpoint
void addIntArg (int32_t argument)
void addFloatArg (float argument)
void addStringArg (string argument)
 ofxOscMessage ()
 ~ofxOscMessage ()
 ofxOscMessage (const ofxOscMessage &other)
ofxOscMessageoperator= (const ofxOscMessage &other)
ofxOscMessagecopy (const ofxOscMessage &other)
 for operator= and copy constructor
void clear ()
 clear this message, erase all contents
string getAddress () const
 return the address
string getRemoteIp ()
 return the remote ip
int getRemotePort ()
 return the remote port
int getNumArgs () const
 return number of arguments
ofxOscArgType getArgType (int index) const
 return argument type code for argument # index
string getArgTypeName (int index) const
int32_t getArgAsInt32 (int index) const
float getArgAsFloat (int index) const
string getArgAsString (int index) const
void setAddress (string _address)
 message construction
void setRemoteEndpoint (string host, int port)
 host and port of the remote endpoint
void addIntArg (int32_t argument)
void addFloatArg (float argument)
void addStringArg (string argument)
 ofxOscMessage ()
 ~ofxOscMessage ()
 ofxOscMessage (const ofxOscMessage &other)
ofxOscMessageoperator= (const ofxOscMessage &other)
ofxOscMessagecopy (const ofxOscMessage &other)
 for operator= and copy constructor
void clear ()
 clear this message, erase all contents
string getAddress () const
 return the address
string getRemoteIp ()
 return the remote ip
int getRemotePort ()
 return the remote port
int getNumArgs () const
 return number of arguments
ofxOscArgType getArgType (int index) const
 return argument type code for argument # index
string getArgTypeName (int index) const
int32_t getArgAsInt32 (int index) const
float getArgAsFloat (int index) const
string getArgAsString (int index) const
void setAddress (string _address)
 message construction
void setRemoteEndpoint (string host, int port)
 host and port of the remote endpoint
void addIntArg (int32_t argument)
void addFloatArg (float argument)
void addStringArg (string argument)

Constructor & Destructor Documentation

ofxOscMessage::ofxOscMessage (  )
ofxOscMessage::~ofxOscMessage (  )
ofxOscMessage::ofxOscMessage ( const ofxOscMessage other ) [inline]
ofxOscMessage::ofxOscMessage (  )
ofxOscMessage::~ofxOscMessage (  )
ofxOscMessage::ofxOscMessage ( const ofxOscMessage other ) [inline]
ofxOscMessage::ofxOscMessage (  )
ofxOscMessage::~ofxOscMessage (  )
ofxOscMessage::ofxOscMessage ( const ofxOscMessage other ) [inline]

Member Function Documentation

void ofxOscMessage::addFloatArg ( float  argument )
void ofxOscMessage::addFloatArg ( float  argument )
void ofxOscMessage::addFloatArg ( float  argument )
void ofxOscMessage::addIntArg ( int32_t  argument )
void ofxOscMessage::addIntArg ( int32_t  argument )
void ofxOscMessage::addIntArg ( int32_t  argument )
void ofxOscMessage::addStringArg ( string  argument )
void ofxOscMessage::addStringArg ( string  argument )
void ofxOscMessage::addStringArg ( string  argument )
void ofxOscMessage::clear (  )

clear this message, erase all contents

void ofxOscMessage::clear (  )

clear this message, erase all contents

void ofxOscMessage::clear (  )

clear this message, erase all contents

ofxOscMessage& ofxOscMessage::copy ( const ofxOscMessage other )

for operator= and copy constructor

ofxOscMessage& ofxOscMessage::copy ( const ofxOscMessage other )

for operator= and copy constructor

ofxOscMessage & ofxOscMessage::copy ( const ofxOscMessage other )

for operator= and copy constructor

string ofxOscMessage::getAddress (  ) const [inline]

return the address

string ofxOscMessage::getAddress (  ) const [inline]

return the address

string ofxOscMessage::getAddress (  ) const [inline]

return the address

float ofxOscMessage::getArgAsFloat ( int  index ) const
float ofxOscMessage::getArgAsFloat ( int  index ) const
float ofxOscMessage::getArgAsFloat ( int  index ) const
int32_t ofxOscMessage::getArgAsInt32 ( int  index ) const

get the argument with the given index as an int, float, or string ensure that the type matches what you're requesting (eg for an int argument, getArgType(index)==OF_TYPE_INT32 or getArgTypeName(index)=="int32")

int32_t ofxOscMessage::getArgAsInt32 ( int  index ) const

get the argument with the given index as an int, float, or string ensure that the type matches what you're requesting (eg for an int argument, getArgType(index)==OF_TYPE_INT32 or getArgTypeName(index)=="int32")

int32_t ofxOscMessage::getArgAsInt32 ( int  index ) const

get the argument with the given index as an int, float, or string ensure that the type matches what you're requesting (eg for an int argument, getArgType(index)==OF_TYPE_INT32 or getArgTypeName(index)=="int32")

string ofxOscMessage::getArgAsString ( int  index ) const
string ofxOscMessage::getArgAsString ( int  index ) const
string ofxOscMessage::getArgAsString ( int  index ) const
ofxOscArgType ofxOscMessage::getArgType ( int  index ) const

return argument type code for argument # index

ofxOscArgType ofxOscMessage::getArgType ( int  index ) const

return argument type code for argument # index

ofxOscArgType ofxOscMessage::getArgType ( int  index ) const

return argument type code for argument # index

string ofxOscMessage::getArgTypeName ( int  index ) const

return argument type name as string

  • either "int", "float", or "string"
string ofxOscMessage::getArgTypeName ( int  index ) const

return argument type name as string

  • either "int", "float", or "string"
string ofxOscMessage::getArgTypeName ( int  index ) const

return argument type name as string

  • either "int", "float", or "string"
int ofxOscMessage::getNumArgs (  ) const

return number of arguments

int ofxOscMessage::getNumArgs (  ) const

return number of arguments

int ofxOscMessage::getNumArgs (  ) const

return number of arguments

string ofxOscMessage::getRemoteIp (  ) [inline]

return the remote ip

string ofxOscMessage::getRemoteIp (  ) [inline]

return the remote ip

string ofxOscMessage::getRemoteIp (  ) [inline]

return the remote ip

int ofxOscMessage::getRemotePort (  ) [inline]

return the remote port

int ofxOscMessage::getRemotePort (  ) [inline]

return the remote port

int ofxOscMessage::getRemotePort (  ) [inline]

return the remote port

ofxOscMessage& ofxOscMessage::operator= ( const ofxOscMessage other ) [inline]
ofxOscMessage& ofxOscMessage::operator= ( const ofxOscMessage other ) [inline]
ofxOscMessage& ofxOscMessage::operator= ( const ofxOscMessage other ) [inline]
void ofxOscMessage::setAddress ( string  _address ) [inline]

message construction

void ofxOscMessage::setAddress ( string  _address ) [inline]

message construction

void ofxOscMessage::setAddress ( string  _address ) [inline]

message construction

void ofxOscMessage::setRemoteEndpoint ( string  host,
int  port 
) [inline]

host and port of the remote endpoint

void ofxOscMessage::setRemoteEndpoint ( string  host,
int  port 
) [inline]

host and port of the remote endpoint

void ofxOscMessage::setRemoteEndpoint ( string  host,
int  port 
) [inline]

host and port of the remote endpoint


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