ConOpSys V2970  P004.07
ANVILEX control operating system
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
TThread Class Reference

#include <Thread.h>

Collaboration diagram for TThread:
Collaboration graph

Public Types

enum  TThreadPriority {
  prIdle , prLow , prNormal , prHigh ,
  prRealtime
}
 

Public Member Functions

 TThread (U32 ThreadStackSize, U32 ThreadInterruptLevel, TThreadPriority ThreadPriority)
 
 ~TThread ()
 
VOID Resume ()
 
VOID Suspend ()
 
VOID Initialize ()
 
virtual VOID Thread ()
 

Public Attributes

TThreadPriority Priority
 
U32 Prescaler
 
VOID * BackupedStack
 
VOID * Stack
 
BOOL NeedToActivate
 
BOOL NeedToDestroy
 

Private Attributes

U32 InterruptLevel
 
VOID * EntryPoint
 
U32 StackSize
 
BOOL Suspended
 

Member Enumeration Documentation

◆ TThreadPriority

Enumerator
prIdle 
prLow 
prNormal 
prHigh 
prRealtime 

Constructor & Destructor Documentation

◆ TThread()

TThread::TThread ( U32  ThreadStackSize,
U32  ThreadInterruptLevel,
TThreadPriority  ThreadPriority 
)

References Initialize(), InterruptLevel, Priority, Stack, StackSize, and THREAD_MIN_STACK_SIZE.

Here is the call graph for this function:

◆ ~TThread()

TThread::~TThread ( )

References Stack.

Member Function Documentation

◆ Initialize()

VOID TThread::Initialize ( )

References BackupedStack, NeedToActivate, NeedToDestroy, Stack, StackSize, and Suspended.

Referenced by TThreadManager::Create(), and TThread().

Here is the caller graph for this function:

◆ Resume()

VOID TThread::Resume ( )

References Suspended.

◆ Suspend()

VOID TThread::Suspend ( )

References Suspended.

◆ Thread()

VOID TThread::Thread ( )
virtual

Referenced by ThreadActivate().

Here is the caller graph for this function:

Member Data Documentation

◆ BackupedStack

VOID* TThread::BackupedStack

◆ EntryPoint

VOID* TThread::EntryPoint
private

◆ InterruptLevel

U32 TThread::InterruptLevel
private

Referenced by TThread().

◆ NeedToActivate

BOOL TThread::NeedToActivate

◆ NeedToDestroy

BOOL TThread::NeedToDestroy

◆ Prescaler

U32 TThread::Prescaler

◆ Priority

TThreadPriority TThread::Priority

Referenced by TThreadManager::Create(), and TThread().

◆ Stack

VOID* TThread::Stack

Referenced by Initialize(), TThread(), and ~TThread().

◆ StackSize

U32 TThread::StackSize
private

Referenced by Initialize(), and TThread().

◆ Suspended

BOOL TThread::Suspended
private

Referenced by Initialize(), Resume(), and Suspend().


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