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 
22 {
23 public:
25  virtual ~CMD_VariableChangeNotifier();
26 
27  /// Informs the variable change notifier object that a given variable
28  /// value has changed. The notifier will trigger an appropriate event.
29  virtual void variableValueChanged( const char * var_name ) = 0;
30 };
31 
32 #endif
33 
#define CMD_API
Definition: CMD_API.h:10