MEvaluationManager Class Reference

#include <MEvaluationManager.h>

Class 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.

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...
 

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:
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:
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:
  • MEvaluationManager.h
  • MEvaluationManager.cpp