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

Heap base class. More...

#include <Heap_Base.h>

Inheritance diagram for THeap_Base:
Inheritance graph
Collaboration diagram for THeap_Base:
Collaboration graph

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...
 

Detailed Description

Heap base class.

Constructor & Destructor Documentation

◆ THeap_Base()

THeap_Base::THeap_Base ( )

Class constructor method.


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

◆ ~THeap_Base()

THeap_Base::~THeap_Base ( )

Class destructor method.


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

Member Function Documentation

◆ Execute()

VOID THeap_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 THeap_Base::Get_Bottom_Address ( )
virtual

Return CPU heap base address method.


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

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

Here is the caller graph for this function:

◆ Get_Not_Usage_Space()

U32 THeap_Base::Get_Not_Usage_Space ( )
virtual

Return CPU heap dont usage space method.


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

References Get_Bottom_Address(), and Get_Size().

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

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

◆ Get_Size()

U32 THeap_Base::Get_Size ( )
virtual

Return CPU heap size method.


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

References Get_Bottom_Address(), and Get_Top_Address().

Referenced by TCommand_HEAP::Execute(), TCommand_MEMORY::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 THeap_Base::Get_Top_Address ( )
virtual

Return CPU heap end address method.


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

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

Here is the caller graph for this function:

◆ Get_Trip_Overflow_Flag()

BOOL THeap_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 THeap_Base::Get_Usage_Space ( )
virtual

Return CPU heap usage space method.


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

References Get_Not_Usage_Space(), and Get_Size().

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

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

◆ Get_Warning_Overflow_Flag()

BOOL THeap_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 THeap_Base::bool_Trip_Overflow = (BOOL)false
private

Stack trip level overflow.

Referenced by Execute(), and Get_Trip_Overflow_Flag().

◆ bool_Warning_Overflow

BOOL THeap_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: