1 #ifndef AL_PARAMETERBUNDLE_H
2 #define AL_PARAMETERBUNDLE_H
48 #include "al/ui/al_Parameter.hpp"
79 void name(std::string newName);
88 int bundleIndex()
const;
101 void clear() { mParameters.clear(); }
103 std::vector<ParameterMeta *> ¶meters() {
return mParameters; }
105 std::map<std::string, std::vector<ParameterBundle *>> &bundles() {
112 void addNotifier(OSCNotifier *notifier);
115 static std::map<std::string, int> mBundleCounter;
116 int mBundleIndex = -1;
117 std::string mBundleName;
118 std::string mParentPrefix;
119 std::string mBundleId;
122 std::vector<ParameterMeta *> mParameters;
123 std::map<std::string, std::vector<ParameterBundle *>> mBundles;
124 std::vector<OSCNotifier *> mNotifiers;
void name(std::string newName)
set the name for this bundle
std::string name() const
get the name for this bundle
ParameterBundle(std::string name="")
ParameterBundle.
std::string bundlePrefix() const
get the prefix for this bundle