C++ API Reference
MEvaluationManager Class Reference

Class for working with Maya's Evaluation Manager. More...

#include <MEvaluationManager.h>

Static Public Member Functions

static bool graphConstructionActive ()
 Determine if the evaluation graph is currently being constructed. More...
 
static bool evaluationManagerActive (const MDGContext &context)
 Determine if the evaluation manager is active on given context. More...
 
static bool evaluationInExecution (const MDGContext &context)
 Determine if the evaluation manager is currently evaluating given context. More...
 
static const char * className ()
 Returns the name of this class. More...
 

Detailed Description

Class for working with Maya's Evaluation Manager.

The Evaluation Manager is used to evaluate the scene without dirty propagation. Its evaluation graph capabilities decouples the data model and evaluation.

The Evaluation Manager can execute graph evaluation in serial or parallel. Parallel execution uses a scheduling graph to provide parallelized computation of depend nodes.

Unless specified, the methods in this class are threadsafe and can be performed safely from worker threads.

Member Function Documentation

OPENMAYA_MAJOR_NAMESPACE_OPEN bool graphConstructionActive ( )
static

Determine if the evaluation graph is currently being constructed.

Note
This function doesn't take context as a parameter because dirty propagation happens only in normal context.
Returns
True if the evaluation graph is being constructed, otherwise false.
Examples:
footPrintNode_AnimatedMaterial/footPrintNode_GeometryOverride_AnimatedMaterial.cpp, footPrintNode_GeometryOverride/footPrintNode_GeometryOverride.cpp, and simpleEvaluationNode/simpleEvaluationNode.cpp.
bool evaluationManagerActive ( const MDGContext context)
static

Determine if the evaluation manager is active on given context.

Parameters
[in]contextEvaluation context for status test.
Returns
True if the evaluation manager is active on the given context, otherwise false.
Examples:
simpleEvaluationNode/simpleEvaluationNode.cpp.
bool evaluationInExecution ( const MDGContext context)
static

Determine if the evaluation manager is currently evaluating given context.

Parameters
[in]contextEvaluation context for status test.
Returns
True if the evaluation manager is evaluating given context, otherwise false.
const char * className ( )
static

Returns the name of this class.

Returns
The name of this class.

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