All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_EventMicroNode Class Reference

#include <OP_EventMicroNode.h>

+ Inheritance diagram for OP_EventMicroNode:

Public Member Functions

 OP_EventMicroNode (OP_Node &node, OP_EventType type)
virtual const char * className () const
OP_NodeownerNode () const
OP_EventType eventType () const
virtual void becameDirty (DEP_MicroNode &src, const DEP_PropagateData &data)
- Public Member Functions inherited from DEP_MicroNode
 DEP_MicroNode ()
virtual ~DEP_MicroNode ()
virtual void getInputs (DEP_MicroNodeList &inputs) const
virtual void clearInputs ()
virtual void getOutputs (DEP_MicroNodeList &outputs) const
virtual void update (fpreal t)
virtual bool requiresUpdate (fpreal t) const
void propagateDirty (Visitor client_visit, bool only_outputs=false)
void traverseAncestorInputs (const TraverseVisitor &visitor) const
 Traverse all ancestor inputs of this micronode. More...
bool markVisitPass (int pass)
int lastVisitPass () const
virtual int64 getMemoryUsage (bool inclusive) const
 Obtain approximate memory usage. More...
virtual void dump (std::ostream &os, const char *prefix=0, int indent_level=0) const
 Dump contents to output stream, strictly for debugging purposes. More...
void dumpAsDOT (std::ostream &os, const char *prefix=0, int indent_level=0) const
 Dump the contents is a manner more suitable for DOT. More...
bool inheritTimeDependentFromExplicitInputs ()
bool inheritTimeInterestedFromExplicitInputs ()
bool inheritContextOptionDepsFromExplicitInputs (const UT_StringArray &ignore_deps)
void addExplicitInput (DEP_MicroNode &inp, bool check_dup)
 Methods for manipulating explicit edges. More...
void addExplicitInput (DEP_MicroNode &inp)
 Add an input that this micronode depends on. More...
void getExplicitInputs (DEP_MicroNodeList &inputs) const
 Get list of all non-null explicit inputs. More...
int getNumExplicitInputs () const
 Get the number of non-null inputs. More...
void getExplicitOutputs (DEP_MicroNodeList &outputs) const
 Get list of all non-null explicit outputs. More...
int getNumExplicitOutputs () const
 Get the number of non-null outputs. More...
bool isDirty () const
 Flag accessors. More...
void setDirty (bool flag, bool allow_clear=true)
 Flag accessors. More...
bool isTimeDependent () const
 Flag accessors. More...
void setTimeDependent (bool time_dependent)
 Flag accessors. More...
bool isTimeInterested () const
 Flag accessors. More...
void setTimeInterested (bool time_interested)
 Flag accessors. More...
bool hasContextOptionDeps () const
 Flag accessors. More...
const DEP_ContextOptionDepsgetContextOptionDeps () const
 Flag accessors. More...
void addContextOptionDeps (const DEP_ContextOptionDeps &opts)
 Flag accessors. More...
void addContextOptionDep (const UT_StringHolder &opt)
 Flag accessors. More...
void clearContextOptionDeps ()
 Flag accessors. More...
bool isOpDataMicroNode () const
 Flag accessors. More...

Additional Inherited Members

- Public Types inherited from DEP_MicroNode
typedef std::function< void(DEP_MicroNode
&, DEP_MicroNode &) > 
typedef std::function< bool(const
DEP_MicroNode &, const
DEP_MicroNode &) > 
typedef bool(DEP_MicroNode::* GetFlag )() const
typedef void(DEP_MicroNode::* SetFlag )(bool flag)
- Static Public Member Functions inherited from DEP_MicroNode
static bool canClearDependencies ()
 Global control whether dependencies can be cleared. More...
static bool canEvaluateExports ()
 Global control whether we can evaluate exports. More...
static SYS_FORCE_INLINE bool isSameTime (fpreal a, fpreal b)
- Static Public Member Functions inherited from UT_SmallObject< UT_NonCopyable >
static voidoperator new (size_t size)
 Regular new/delete operators. More...
static void operator delete (void *p, size_t size)
 Regular new/delete operators. More...
static voidoperator new (size_t, void *p)
static void operator delete (void *, void *)
- Protected Member Functions inherited from DEP_MicroNode
void setIsOpDataMicroNode (bool b)
virtual bool isEvaluating () const
virtual void evaluateExports ()
virtual bool isExporting () const

Detailed Description

Definition at line 20 of file OP_EventMicroNode.h.

Constructor & Destructor Documentation

OP_EventMicroNode::OP_EventMicroNode ( OP_Node node,
OP_EventType  type 

Definition at line 23 of file OP_EventMicroNode.h.

Member Function Documentation

virtual void OP_EventMicroNode::becameDirty ( DEP_MicroNode src,
const DEP_PropagateData propdata 

Callbacks for what to do when the micronode becomes dirty. Derived micronodes can override this. Note that it requires knowledge of who made it dirty as they may behave differently. Currently used by OP_Node::propagateDirtyMicroNode

Reimplemented from DEP_MicroNode.

virtual const char* OP_EventMicroNode::className ( void  ) const

Reimplemented from DEP_MicroNode.

Definition at line 29 of file OP_EventMicroNode.h.

OP_EventType OP_EventMicroNode::eventType ( ) const

Definition at line 35 of file OP_EventMicroNode.h.

OP_Node& OP_EventMicroNode::ownerNode ( ) const

Definition at line 32 of file OP_EventMicroNode.h.

The documentation for this class was generated from the following file: