HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
22
class
CMD_API
CMD_VariableChangeNotifier
23
{
24
public
:
25
CMD_VariableChangeNotifier
();
26
virtual
~
CMD_VariableChangeNotifier
();
27
28
UT_NON_COPYABLE
(
CMD_VariableChangeNotifier
)
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
CMD_VariableChangeNotifier
Definition:
CMD_VariableChangeNotifier.h:22
UT_NON_COPYABLE
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
Definition:
UT_NonCopyable.h:31
CMD_API.h
UT_NonCopyable.h
CMD_API
#define CMD_API
Definition:
CMD_API.h:10
CMD
CMD_VariableChangeNotifier.h
Generated on Fri Nov 8 2024 03:39:06 for HDK by
1.8.6