tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
objectObserver.h
Go to the documentation of this file.
1 // (c) 2017 Alex Nadzharov
2 // License: GPL3
3 
4 #ifndef OBJECTOBSERVER
5 #define OBJECTOBSERVER
6 
7 //#include "pdServer.hpp"
8 
10 
11 #include <memory.h>
12 
13 using namespace xpd;
14 
15 namespace tilde {
16 
17 class UIObject;
18 
22 class ObjectObserver : public xpd::PdObjectObserver {
23 private:
24  UIObject* _object;
25 
26 public:
27  void setObject(UIObject* o);
28  virtual void update();
29 };
30 
31 typedef std::shared_ptr<ObjectObserver> ObjectObserverPtr;
32 
33 }
34 
35 #endif // CM_PDLINK_H
std::shared_ptr< ObjectObserver > ObjectObserverPtr
Definition: objectObserver.h:31
The object observer class.
Definition: objectObserver.h:22
Definition: UIObject.h:44