DD::Image::EngineContext Class Reference

Public Member Functions

 EngineContext (OpTree *opTree)
 
 ~EngineContext ()
 
bool aborted () const
 

Detailed Description

Context for engine() threads, so that aborted() check can be made on the correct opTree, rather than all opTrees that an Op is part of.

Constructor & Destructor Documentation

DD::Image::EngineContext::EngineContext ( OpTree opTree)

push this EngineContext onto the thread-local stack

DD::Image::EngineContext::~EngineContext ( )

pop the EngineContext from the thread-lock stack

Member Function Documentation

bool DD::Image::EngineContext::aborted ( ) const

is the current OpTree in an aborted state?



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