|
Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
| ParameterBundle (std::string name="") | |
| ParameterBundle. More... | |
| std::string | name () const |
| get the name for this bundle More... | |
| void | name (std::string newName) |
| set the name for this bundle More... | |
| std::string | bundlePrefix () const |
| get the prefix for this bundle More... | |
| int | bundleIndex () const |
| void | addParameter (ParameterMeta *parameter) |
| void | addParameter (ParameterMeta ¶meter) |
| void | addBundle (ParameterBundle &bundle, std::string id="") |
| void | clear () |
| clear bundle More... | |
| std::vector< ParameterMeta * > & | parameters () |
| std::map< std::string, std::vector< ParameterBundle * > > & | bundles () |
| ParameterBundle & | operator<< (ParameterMeta *parameter) |
| ParameterBundle & | operator<< (ParameterMeta ¶meter) |
| void | addNotifier (OSCNotifier *notifier) |
Definition at line 56 of file al_ParameterBundle.hpp.
| al::ParameterBundle::ParameterBundle | ( | std::string | name = "" | ) |
| prefix | prefix to add to OSC path |
If no prefix is given, each new ParameterBundle gets a different consecutive number with the prefix "bundle_" e.g. bundle_0, bundle_1, etc.
| std::string al::ParameterBundle::bundlePrefix | ( | ) | const |
get the prefix for this bundle
|
inline |
clear bundle
Note this function is not thread safe, so it must be called in the same conetext where the bundle is processed.
Definition at line 101 of file al_ParameterBundle.hpp.
| std::string al::ParameterBundle::name | ( | ) | const |
get the name for this bundle
| void al::ParameterBundle::name | ( | std::string | newName | ) |
set the name for this bundle
Make sure you call this before the bundle is being used as this is not thread safe