ConOpSys V2970
P004.07
ANVILEX control operating system
|
Heap base class. More...
#include <Heap_Base.h>
Public Member Functions | |
THeap_Base () | |
Class constructor method. More... | |
~THeap_Base () | |
Class destructor method. More... | |
virtual U32 | Get_Bottom_Address () |
Return CPU heap base address method. More... | |
virtual U32 | Get_Top_Address () |
Return CPU heap end address method. More... | |
virtual U32 | Get_Size () |
Return CPU heap size method. More... | |
virtual U32 | Get_Not_Usage_Space () |
Return CPU heap dont usage space method. More... | |
virtual U32 | Get_Usage_Space () |
Return CPU heap 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... | |
Heap base class.
THeap_Base::THeap_Base | ( | ) |
Class constructor method.
THeap_Base::~THeap_Base | ( | ) |
Class destructor method.
VOID THeap_Base::Execute | ( | ) |
Stack excution method.
References bool_Trip_Overflow, bool_Warning_Overflow, and Get_Usage_Space().
|
virtual |
Return CPU heap base address method.
Referenced by TCommand_HEAP::Execute(), TCommand_MEMORY::Execute(), Get_Not_Usage_Space(), and Get_Size().
|
virtual |
Return CPU heap dont usage space method.
References Get_Bottom_Address(), and Get_Size().
Referenced by TCommand_HEAP::Execute(), TCommand_MEMORY::Execute(), and Get_Usage_Space().
|
virtual |
Return CPU heap size method.
References Get_Bottom_Address(), and Get_Top_Address().
Referenced by TCommand_HEAP::Execute(), TCommand_MEMORY::Execute(), Get_Not_Usage_Space(), and Get_Usage_Space().
|
virtual |
Return CPU heap end address method.
Referenced by TCommand_HEAP::Execute(), TCommand_MEMORY::Execute(), and Get_Size().
BOOL THeap_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 heap usage space method.
References Get_Not_Usage_Space(), and Get_Size().
Referenced by Execute(), TCommand_HEAP::Execute(), and TCommand_MEMORY::Execute().
BOOL THeap_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().