lib-of-vs-addons-ofxOsc-src-ofxOscSender.h / h
ofxOscSender an ofxOscSender sends messages to a single host/port */ class UdpTransmitSocket; include <string> include <OscTypes.h> include <OscOutboundPacketStream.h> include <ofxOscBundle.h> include <ofxOscMessage.h> class ofxOscSender { public: ofxOscSender(); ~ofxOscSender(); send messages to hostname and port void setup( std::string hostname, int port ); send the given message void sendMessage( ofxOscMessage& message ); send the given bundle void sendBundle( ofxOscBundle& bundle ); private: // helper methods for constructing messages void appendBundle( ofxOscBundle& bundle, osc::OutboundPacketStream& p ); void appendMessage( ofxOscMessage& message, osc::OutboundPacketStream& p ); UdpTransmitSocket* socket; }; endif
[]readme course(s) prefaceI 1 2II 3 4III 5 6 7IV 8 9 10V 11 12 afterthought(s)appendix reference(s) example(s)resource(s) _![]()
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.