15 #define USE_CONTEXT_OPTIONS_MICRONODE
17 #ifdef USE_CONTEXT_OPTIONS_MICRONODE
71 #else // USE_CONTEXT_OPTIONS_MICRONODE
110 #endif // USE_CONTEXT_OPTIONS_MICRONODE
140 myCallback = callback;
148 void (*myCallback)(
void*);
DEP_ContextOptionsHandle getDefaultContextOptions() const
virtual void becameDirty(DEP_MicroNode &src, const DEP_PropagateData &propdata)
SYS_FORCE_INLINE void COPupdateMicroNode(COP_BaseMicroNode &dep, const OP_Context &context)
Marks the micronode clean with respect to the given context.
void setCallback(void(*callback)(void *), void *data)
bool requiresUpdateTimeOrOptions(const OP_Context &context) const
bool requiresUpdate(fpreal t) const override
const CH_EvalContext & evalContext(int thread) const
COP_MicroNodeWithCallback()
bool requiresUpdateOptions(DEP_ContextOptionsReadHandle options, const DEP_ContextOptionsStack *optstack) const
CH_Manager * CHgetManager()
SYS_FORCE_INLINE bool COPmicroNodeRequiresUpdate(const COP_BaseMicroNode &dep, const OP_Context &context)
Returns whether the micronode requires updating given the context.
OP_ContextOptionsMicroNode COP_BaseMicroNode
Base type of a micronode in COPs.
void updateOptions(const OP_Context &context)
bool callbackEnabled() const
Returns true if the callback is enabled (even if not set).
void enableCallback(bool enable)
Controls whether or not the callback runs when the micronode is dirtied.
const DEP_ContextOptionsStack * contextOptionsStack() const
void update(fpreal t) override
Propagation info for a dep micro node.
DEP_ContextOptionsReadHandle contextOptions() const
bool isNull() const
Test if this is a NULL pointer.
bool inheritTimeDependentFromExplicitInputs()
bool inheritContextOptionDepsFromExplicitInputs(const UT_StringArray &ignore_deps)