HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_EventMicroNode.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_EventMicroNode.h (OP Library, C++)
7  *
8  * COMMENTS: DEP_MicroNode subclass representing an OP_Node's output data.
9  */
10 
11 #ifndef __OP_EVENTMICRONODE_H_INCLUDED__
12 #define __OP_EVENTMICRONODE_H_INCLUDED__
13 
14 #include "OP_API.h"
15 #include "OP_Value.h"
16 #include <DEP/DEP_MicroNode.h>
17 
18 class OP_Node;
19 
21 {
22 public:
24  OP_Node &node, OP_EventType type)
25  : myNode(node),
26  myType(type)
27  {}
28 
29  const char * className() const override
30  { return "OP_EventMicroNode"; }
31 
32  OP_Node & ownerNode() const
33  { return myNode; }
34 
36  { return myType; }
37 
38  void becameDirty(
40  const DEP_PropagateData &data) override;
41 private:
42  OP_Node & myNode;
43  OP_EventType myType;
44 };
45 
46 #endif // __OP_EVENTMICRONODE_H_INCLUDED__
virtual void becameDirty(DEP_MicroNode &src, const DEP_PropagateData &propdata)
const char * className() const override
OP_EventMicroNode(OP_Node &node, OP_EventType type)
OP_Node & ownerNode() const
#define OP_API
Definition: OP_API.h:10
OP_EventType
Definition: OP_Value.h:22
Propagation info for a dep micro node.
Definition: DEP_MicroNode.h:36
type
Definition: core.h:1059
OP_EventType eventType() const
Definition: format.h:895
GLenum src
Definition: glcorearb.h:1793