HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMD_VariableChangeNotifier.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CMD_VariableChangeNotifier.h (CMD Library, C++)
7  *
8  * COMMENTS:
9  * This class implements a notification center for global
10  * variables in Houdini. When a variable value changes, the
11  * CMD_VariableChangeNotifier is informed of that fact,
12  * and then it takes over the process of further notification
13  * distribution.
14  */
15 
16 #ifndef __CMD_VariableChangeNotifier__
17 #define __CMD_VariableChangeNotifier__
18 
19 #include "CMD_API.h"
20 #include <UT/UT_NonCopyable.h>
21 
23 {
24 public:
26  virtual ~CMD_VariableChangeNotifier();
27 
29 
30  /// Informs the variable change notifier object that a given variable
31  /// value has changed. The notifier will trigger an appropriate event.
32  virtual void variableValueChanged( const char * var_name ) = 0;
33 };
34 
35 #endif
36 
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
#define CMD_API
Definition: CMD_API.h:10