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
OP_PropagateData.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: OP_PropagateData.h (OP Library, C++)
7
*
8
* COMMENTS: Helper class for OP_Node::propagateModification()
9
*/
10
11
#ifndef __OP_PROPAGATEDATA_H__
12
#define __OP_PROPAGATEDATA_H__
13
14
#include "
OP_API.h
"
15
#include "
OP_Value.h
"
16
#include <
DEP/DEP_MicroNode.h
>
17
18
// This helper struct is needed for propagateModification(). It must be
19
// initialized first with beginPropagateModification().
20
class
OP_API
OP_PropagateData
:
public
DEP_PropagateData
21
{
22
public
:
23
OP_PropagateData
(
OP_EventType
reason)
24
{
25
myExprChange = isExprChangeEvent(reason);
26
}
27
28
static
bool
isExprChangeEvent
(
OP_EventType
reason)
29
{
30
return
(reason ==
OP_PARM_ANIMATED
31
|| reason ==
OP_PARM_CHANNELS
);
32
}
33
};
34
35
#endif // __OP_PROPAGATEDATA_H__
OP_PropagateData::OP_PropagateData
OP_PropagateData(OP_EventType reason)
Definition:
OP_PropagateData.h:23
OP_API.h
DEP_MicroNode.h
OP_PropagateData::isExprChangeEvent
static bool isExprChangeEvent(OP_EventType reason)
Definition:
OP_PropagateData.h:28
OP_PARM_ANIMATED
Definition:
OP_Value.h:53
OP_PARM_CHANNELS
Definition:
OP_Value.h:55
OP_API
#define OP_API
Definition:
OP_API.h:10
OP_EventType
OP_EventType
Definition:
OP_Value.h:22
DEP_PropagateData
Propagation info for a dep micro node.
Definition:
DEP_MicroNode.h:36
OP_Value.h
OP_PropagateData
Definition:
OP_PropagateData.h:20
OP
OP_PropagateData.h
Generated on Sat Dec 21 2024 02:47:02 for HDK by
1.8.6