diff --git a/README.md b/README.md index 4cecd9d..9fd86db 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ publish/subscribe OSC message. * [How to use](#HowToUse) * [API](#API) * [ofxSubscribeOsc](#API_ofxSubscribeOsc) + * [ofxSetLeakedOscPicker](#API_ofxSetLeakedOscPicker) * [ofxPublishOsc](#API_ofxPublishOsc) * [Supported types](#SupportedTypes) * [Arithmetic](#SupportedTypes_Arithmetic) @@ -20,7 +21,7 @@ publish/subscribe OSC message. * [Special Thanks](#SpecialThanks) * [At the last](#AtTheLast) -## How to use +## How to use ``` @@ -66,6 +67,22 @@ unbind OSC message has _address_ incoming from _port_. unbind all OSC messages incoming from _port_. +#### See [class ofxOscSubscriber](#Advanced_ofxOscSubscriber) + +### ofxSetLeakedOscPicker + +* void ofxSetLeakedOscPicker(int _port_, void (\*_callback_)(ofxOscMessage &)) +* template \ void ofxSetLeakedOscPicker(int _port_, T \*_that_, void (T::\*_callback_)(ofxOscMessage &)) +* template \ void ofxSetLeakedOscPicker(int _port_, T &_that_, void (T::\*_callback_)(ofxOscMessage &)) + +set callback for port. this callback is kick when receive OSC message has not binded address. + +* void ofxRemoveLeakedOscPicker(int _port_) + +remove callback. + +#### See [Legacy style pick up leaked OSC](#Advanced_LegacyStylePickUpLeakedOSCMessage) + ### ofxPublishOsc * template \ ofxPublishOsc(const string &_ip_, int _port_, const string &_address_, T &_value_, bool _whenValueIsChanged_ = **true**); @@ -83,6 +100,22 @@ unpublish OSC message has _address_ is send to _ip:port_. unpublish all OSC messages is send to _ip:port_. +#### See [class ofxOscPublisher](#Advanced_ofxOscPublisher) + +## Advanced API + +### class ofxOscSubscriber + +TODO + +#### How to "Legacy style pick up leaked OSC" + +TODO + +### class ofxOscPublisher + +TODO + ## Supported types ### Arithmetic (Int32, Int64, Float)