VTK  9.3.20240416
Public Member Functions | Friends | List of all members
vtkThreadedCallbackQueue::vtkSharedFutureBase Class Referenceabstract

vtkSharedFutureBase is the base block to store, run, get the returned value of the tasks that are pushed in the queue. More...

#include <vtkThreadedCallbackQueue.h>

Inheritance diagram for vtkThreadedCallbackQueue::vtkSharedFutureBase:
[legend]
Collaboration diagram for vtkThreadedCallbackQueue::vtkSharedFutureBase:
[legend]

Public Member Functions

 vtkBaseTypeMacro (vtkSharedFutureBase, vtkObjectBase)
 
 vtkSharedFutureBase ()
 
virtual void Wait () const
 Blocks current thread until the task associated with this future has terminated. More...
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual std::string GetObjectDescription () const
 The object description printed in messages and PrintSelf output. More...
 
virtual vtkTypeBool IsA (const char *name)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
virtual vtkIdType GetNumberOfGenerationsFromBase (const char *name)
 Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
bool GetIsInMemkind () const
 A local state flag that remembers whether this object lives in the normal or extended memory space. More...
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual bool UsesGarbageCollector () const
 Indicate whether the class uses vtkGarbageCollector or not. More...
 

Friends

class vtkThreadedCallbackQueue
 

Additional Inherited Members

- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkIdType GetNumberOfGenerationsFromBaseType (const char *name)
 Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void SetMemkindDirectory (const char *directoryname)
 The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More...
 
static bool GetUsingMemkind ()
 A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More...
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void RegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
virtual void ObjectFinalize ()
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 
- Static Protected Member Functions inherited from vtkObjectBase
static vtkMallocingFunction GetCurrentMallocFunction ()
 
static vtkReallocingFunction GetCurrentReallocFunction ()
 
static vtkFreeingFunction GetCurrentFreeFunction ()
 
static vtkFreeingFunction GetAlternateFreeFunction ()
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

vtkSharedFutureBase is the base block to store, run, get the returned value of the tasks that are pushed in the queue.

Definition at line 102 of file vtkThreadedCallbackQueue.h.

Constructor & Destructor Documentation

◆ vtkSharedFutureBase()

vtkThreadedCallbackQueue::vtkSharedFutureBase::vtkSharedFutureBase ( )
inline

Definition at line 107 of file vtkThreadedCallbackQueue.h.

Member Function Documentation

◆ vtkBaseTypeMacro()

vtkThreadedCallbackQueue::vtkSharedFutureBase::vtkBaseTypeMacro ( vtkSharedFutureBase  ,
vtkObjectBase   
)

◆ Wait()

virtual void vtkThreadedCallbackQueue::vtkSharedFutureBase::Wait ( ) const
inlinevirtual

Blocks current thread until the task associated with this future has terminated.

Definition at line 116 of file vtkThreadedCallbackQueue.h.

Friends And Related Function Documentation

◆ vtkThreadedCallbackQueue

friend class vtkThreadedCallbackQueue
friend

Definition at line 129 of file vtkThreadedCallbackQueue.h.


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