|
ConOpSys V2970
P004.07
ANVILEX control operating system
|
Stack base class. More...
#include <Stack_Base.h>


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... | |
Stack base class.
| TStack_Base::TStack_Base | ( | ) |
Class constructor method.
| TStack_Base::~TStack_Base | ( | ) |
Class destructor method.
| VOID TStack_Base::Execute | ( | ) |
Stack excution method.
References bool_Trip_Overflow, bool_Warning_Overflow, and Get_Usage_Space().

|
virtual |
Return CPU stack base address method.
Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), Get_Not_Usage_Space(), and Get_Size().

|
virtual |
Return CPU stack dont usage space method.
References Get_Bottom_Address(), and Get_Size().
Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), and Get_Usage_Space().


|
virtual |
Return CPU stack size method.
References Get_Bottom_Address(), and Get_Top_Address().
Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), Get_Not_Usage_Space(), and Get_Usage_Space().


|
virtual |
Return CPU stack end address method.
Referenced by TCommand_MEMORY::Execute(), TCommand_STACK::Execute(), and Get_Size().

| BOOL TStack_Base::Get_Trip_Overflow_Flag | ( | ) |
Return trip level stack status method.
| false | - Stack overflow trip flag is low |
| true | - Stack overflow trip flag is set |
References bool_Trip_Overflow.
Referenced by TCommand_MEMORY::Execute().

|
virtual |
Return CPU stack usage space method.
References Get_Not_Usage_Space(), and Get_Size().
Referenced by Execute(), TCommand_MEMORY::Execute(), and TCommand_STACK::Execute().


| BOOL TStack_Base::Get_Warning_Overflow_Flag | ( | ) |
Return warning level stack status method.
| false | - Stack overflow warning flag is low |
| true | - Stack overflow warning flag is set |
References bool_Warning_Overflow.
Referenced by TCommand_MEMORY::Execute().

Stack trip level overflow.
Referenced by Execute(), and Get_Trip_Overflow_Flag().
Stack warning level overflow.
Referenced by Execute(), and Get_Warning_Overflow_Flag().