ASPiK SDK
vst3groupcontroller.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __vst3groupcontroller__
6 #define __vst3groupcontroller__
7 
8 #include "../lib/controls/ccontrol.h"
9 #include "../uidescription/uidescriptionfwd.h"
10 #include "../uidescription/icontroller.h"
11 #include "base/source/fobject.h"
12 #include "public.sdk/source/vst/vstparameters.h"
13 #include "public.sdk/source/vst/vsteditcontroller.h"
14 #include <vector>
15 
16 namespace VSTGUI {
17 
18 //-----------------------------------------------------------------------------
19 class GroupController : public Steinberg::FObject, public IController
20 {
21 public:
22  GroupController (Steinberg::Vst::Parameter* parameter, Steinberg::Vst::EditController* editController);
23  ~GroupController ();
24 
25  CView* verifyView (CView* view, const UIAttributes& attributes, const IUIDescription* description) override;
26 
27  void valueChanged (CControl* pControl) override;
28  void controlBeginEdit (CControl* pControl) override;
29  void controlEndEdit (CControl* pControl) override;
30 
31 //-----------------------------------------------------------------------------
32  OBJ_METHODS(GroupController, FObject)
33 protected:
34  void PLUGIN_API update (Steinberg::FUnknown* changedUnknown, Steinberg::int32 message) override;
35 
36  Steinberg::Vst::Parameter* parameter;
37  Steinberg::Vst::EditController* editController;
38 
39  typedef std::vector<CControl*> ControlList;
40  ControlList controls;
41 };
42 
43 } // namespace
44 
45 #endif // __vst3groupcontroller__
Definition: iuidescription.h:19
Definition: customcontrols.cpp:8
base class of all VSTGUI controls
Definition: ccontrol.h:76
Definition: uiattributes.h:21
Definition: vst3groupcontroller.h:19
extension to IControlListener used by UIDescription
Definition: icontroller.h:20
Base Class of all view objects.
Definition: cview.h:44