#include <OSCHierarchicalNamespace.h>
Inheritance diagram for OSCHierarchicalNamespace:
Public Member Functions | |
virtual bool | add (const std::string &address, OSCCallable *thingamabob) |
Add OSCCallable thingamabob to the namespace with address address. | |
virtual bool | remove (const std::string &address) |
Remove the callable at address address. | |
virtual OSCCallable * | find (const std::string &address) |
virtual bool | dispatch (const std::string &address, const std::string &data, Transmit *const reply) |
Invoke callback for all addresses matching std::string &address. | |
virtual std::vector< std::string > | list (const std::string &basename) |
This will be implemented outside the Namespace object when we obsolete the /list method in favor of appended-/ list requests. | |
Protected Types | |
typedef std::map< std::string, OSCCallable *, std::less< std::string > > | CallableMap |
Protected Member Functions | |
void | setRoot (OSCNamespaceItem *root) |
OSCNamespaceItem * | getRoot () |
Namespace that's hard to spell, having a true tree of items, supporting pattern matching and multiple dispatch.
|
Implements OSCNamespace. |