HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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  virtual const char * className() const
30  { return "OP_EventMicroNode"; }
31 
32  OP_Node & ownerNode() const
33  { return myNode; }
34 
36  { return myType; }
37 
38  virtual void becameDirty(DEP_MicroNode &src, const DEP_PropagateData &data);
39 private:
40  OP_Node & myNode;
41  OP_EventType myType;
42 };
43 
44 #endif // __OP_EVENTMICRONODE_H_INCLUDED__
virtual const char * className() const
virtual void becameDirty(DEP_MicroNode &src, const DEP_PropagateData &propdata)
OP_EventMicroNode(OP_Node &node, OP_EventType type)
GLboolean * data
Definition: glcorearb.h:130
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:39
GLint GLint GLsizei GLint GLenum GLenum type
Definition: glcorearb.h:107
OP_EventType eventType() const
GLenum src
Definition: glcorearb.h:1792