DD::Image::OpTreeManager Class Reference

List of all members.

Public Member Functions

void shutDown ()
 Performs object shut down that needs to come before static destructors.
void add (OpTree *lpTree)
void remove (OpTree *lpTree)
void abortAllExecutingTrees ()
bool wasAnyTreeAborted () const
void clearAllAbortedFlags ()
void cancelAllExecutingTrees ()
bool wasAnyTreeCancelled () const
void clearAllCancelledFlags ()
int getStatusVersion () const
void incrementStatusVersion ()
 This is called by a tree when its aborted or cancelled state changes.
OpTreefindTreeWithMessage () const
 Returns the first tree it finds with an op with a message, or NULL.
OpTreefindTreeWithError () const
 Returns the first tree it finds with an op with an error, or NULL.


Detailed Description

This class manages all existing op trees, and provides the facility to apply particular operations to all of them

Member Function Documentation

int DD::Image::OpTreeManager::getStatusVersion (  )  const [inline]

This version increments each time the status of any of the trees (aborted or cancelled) changes. It can be used as a quick test to see if there's any need to check specific trees for those states.



©2009 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk