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

Stack base class. More...

#include <Stack_Base.h>

Inheritance diagram for TStack_Base:
Inheritance graph
Collaboration diagram for TStack_Base:
Collaboration graph

Public Member Functions

 TStack_Base ()
 Class constructor method. More...
 
 ~TStack_Base ()
 Class destructor method. More...
 
virtual U32 Get_Bottom_Address ()
 Return CPU stack base address method. More...
 
virtual U32 Get_Top_Address ()
 Return CPU stack end address method. More...
 
virtual U32 Get_Size ()
 Return CPU stack size method. More...
 
virtual U32 Get_Not_Usage_Space ()
 Return CPU stack dont usage space method. More...
 
virtual U32 Get_Usage_Space ()
 Return CPU stack usage space method. More...
 
VOID Execute ()
 Stack excution method. More...
 
BOOL Get_Warning_Overflow_Flag ()
 Return warning level stack status method. More...
 
BOOL Get_Trip_Overflow_Flag ()
 Return trip level stack status method. More...
 

Private Attributes

BOOL bool_Warning_Overflow = (BOOL)false
 Stack warning level overflow. More...
 
BOOL bool_Trip_Overflow = (BOOL)false
 Stack trip level overflow. More...
 

Detailed Description

Stack base class.

Constructor & Destructor Documentation

◆ TStack_Base()

TStack_Base::TStack_Base ( )

Class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

◆ ~TStack_Base()

TStack_Base::~TStack_Base ( )

Class destructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Execute()

VOID TStack_Base::Execute ( )

Stack excution method.


Note
None
Returns
None
Override
Not allowed
Attention
None

References bool_Trip_Overflow, bool_Warning_Overflow, and Get_Usage_Space().

Here is the call graph for this function:

◆ Get_Bottom_Address()

U32 TStack_Base::Get_Bottom_Address ( )
virtual

Return CPU stack base address method.


Note
None
Returns
U32 - CPU stack base address
Override
Requered
Attention
None

Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), Get_Not_Usage_Space(), and Get_Size().

Here is the caller graph for this function:

◆ Get_Not_Usage_Space()

U32 TStack_Base::Get_Not_Usage_Space ( )
virtual

Return CPU stack dont usage space method.


Note
None
Returns
U32 - CPU stack dont usage in byts
Override
Requered
Attention
None

References Get_Bottom_Address(), and Get_Size().

Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), and Get_Usage_Space().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get_Size()

U32 TStack_Base::Get_Size ( )
virtual

Return CPU stack size method.


Note
None
Returns
U32 - CPU stack size in byts
Override
Requered
Attention
None

References Get_Bottom_Address(), and Get_Top_Address().

Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), Get_Not_Usage_Space(), and Get_Usage_Space().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get_Top_Address()

U32 TStack_Base::Get_Top_Address ( )
virtual

Return CPU stack end address method.


Note
None
Returns
U32 - CPU stack end address
Override
Requered
Attention
None

Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), and Get_Size().

Here is the caller graph for this function:

◆ Get_Trip_Overflow_Flag()

BOOL TStack_Base::Get_Trip_Overflow_Flag ( )

Return trip level stack status method.


Note
None
Returns
BOOL - Stack trip flag status
Return values
false- Stack overflow trip flag is low
true- Stack overflow trip flag is set
Override
Not allowed
Attention
None

References bool_Trip_Overflow.

Referenced by TCommand_MEMORY::Execute().

Here is the caller graph for this function:

◆ Get_Usage_Space()

U32 TStack_Base::Get_Usage_Space ( )
virtual

Return CPU stack usage space method.


Note
None
Returns
U32 - CPU stack usage space in byts
Override
Requered
Attention
None

References Get_Not_Usage_Space(), and Get_Size().

Referenced by Execute(), TCommand_MEMORY::Execute(), and TCommand_STACK::Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get_Warning_Overflow_Flag()

BOOL TStack_Base::Get_Warning_Overflow_Flag ( )

Return warning level stack status method.


Note
None
Returns
BOOL - Stack warning flag status
Return values
false- Stack overflow warning flag is low
true- Stack overflow warning flag is set
Override
Not allowed
Attention
None

References bool_Warning_Overflow.

Referenced by TCommand_MEMORY::Execute().

Here is the caller graph for this function:

Member Data Documentation

◆ bool_Trip_Overflow

BOOL TStack_Base::bool_Trip_Overflow = (BOOL)false
private

Stack trip level overflow.

Referenced by Execute(), and Get_Trip_Overflow_Flag().

◆ bool_Warning_Overflow

BOOL TStack_Base::bool_Warning_Overflow = (BOOL)false
private

Stack warning level overflow.

Referenced by Execute(), and Get_Warning_Overflow_Flag().


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