FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEthreadController Class Referenceabstract

Abstract interface for an OME thread controller. More...

#include <OMEthreadCntrl.h>

+ Inheritance diagram for OMEthreadController:

Public Member Functions

 OMEthreadController (OMEthread *t)
 
virtual ~OMEthreadController ()
 
virtual void releaseThread ()=0
 Release a suspended thread. More...
 
virtual void suspendThread ()=0
 Suspend an active thread. More...
 
virtual void terminateThread ()=0
 Terminate a thread. More...
 
virtual void yieldSlice ()=0
 Yield time slice currently being used by an active thread. More...
 
virtual void executeSlice ()=0
 Execute a time slice for an active thread. More...
 
virtual const char * controllerType () const OME_CONST_FUNCTION=0
 Return label identifying the type of the thread controller. More...
 

Public Attributes

class OMEthreadthreadInfo
 
uint32_t exitStatus
 

Detailed Description

Abstract interface for an OME thread controller.

Constructor & Destructor Documentation

◆ OMEthreadController()

OMEthreadController::OMEthreadController ( OMEthread t)
inlineexplicit

References exitStatus, and threadInfo.

◆ ~OMEthreadController()

virtual OMEthreadController::~OMEthreadController ( )
inlinevirtual

Member Function Documentation

◆ controllerType()

virtual const char* OMEthreadController::controllerType ( ) const
pure virtual

Return label identifying the type of the thread controller.

Implemented in OMEthreadNative, OMEthreadInterpretOIL2, and OMEthreadNativeOIL2.

Referenced by OMEthread::outputOnStream().

◆ executeSlice()

virtual void OMEthreadController::executeSlice ( )
pure virtual

Execute a time slice for an active thread.

Implemented in OMEthreadNative, and OMEthreadNativeOIL2.

Referenced by OMEthread::executeSlice().

◆ releaseThread()

virtual void OMEthreadController::releaseThread ( )
pure virtual

Release a suspended thread.

Implemented in OMEthreadNative, and OMEthreadNativeOIL2.

Referenced by OMEthread::releaseThread().

◆ suspendThread()

virtual void OMEthreadController::suspendThread ( )
pure virtual

Suspend an active thread.

Implemented in OMEthreadNative, and OMEthreadNativeOIL2.

Referenced by OMEthread::suspendThread().

◆ terminateThread()

virtual void OMEthreadController::terminateThread ( )
pure virtual

Terminate a thread.

Implemented in OMEthreadNative, and OMEthreadNativeOIL2.

Referenced by OMEthread::terminateThread().

◆ yieldSlice()

virtual void OMEthreadController::yieldSlice ( )
pure virtual

Yield time slice currently being used by an active thread.

Implemented in OMEthreadNative, and OMEthreadNativeOIL2.

Referenced by OMEthread::yieldSlice().

Member Data Documentation

◆ exitStatus

uint32_t OMEthreadController::exitStatus

Referenced by OMEthreadController().

◆ threadInfo


The documentation for this class was generated from the following file:
Generated: Fri Jul 31 2020 18:19:16
Support Information