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

Event manager class. More...

#include <Event_Manager.h>

Collaboration diagram for TEvent_Manager:
Collaboration graph

Classes

struct  TEvent_Buffer
 Event buffer structure definition. More...
 

Public Member Functions

VOID Init ()
 Event manager initialisation method. More...
 
VOID Done ()
 Event manager finalisation method. More...
 
VOID Execute ()
 Event manager background execution method. More...
 
BOOL Assign_Memory (TS25FL512 *object_Memory_Pointer)
 Memory type assignment method. More...
 
VOID Verify_Database ()
 Verify database method. More...
 
BOOL Format_Event_Storage ()
 Erasing flash memory. More...
 
VOID Create (U32 u32_Event_ID)
 Method for creating event with determine event index. More...
 
VOID Create (const TEvent_Descriptor &struct_Event_Descriptor)
 Method for creating event by given event descriptor. More...
 
VOID Create_Header_Event (TEvent_Manager_Base::TEvent_Header_Record **struct_Event_Record)
 Method for creating event header. More...
 
VOID Create_Data_Event (U64 u64_Relative_Event_Index, TEvent_Manager_Base::TEvent_Payload_Record **struct_Event_Record)
 Method for creating event header. More...
 
U32 Get_Database_Hash ()
 Method get event database descriptor hash. More...
 
U32 Get_Database_Record_Count ()
 Method get event database descriptor hash. More...
 
U32 Get_Event_Buffer_Size ()
 Method get event buffer size. More...
 
U32 Get_Event_Record_Size ()
 Method get event buffer size. More...
 
U32 Get_Current_Buffer_Index ()
 Method get current buffer index. More...
 
BOOL Get_Event_Record_By_Index (U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
 Method search event record by event index. More...
 
U64 Get_First_Event_Index ()
 Method get index of the first event record. More...
 
U64 Get_Last_Event_Index ()
 Method get index of the last event record. More...
 
U64 Get_Selected_Event_Index ()
 Method get index of the currently selected event. More...
 
BOOL Set_Selected_Event_Index (U64 u64_Selected_Event_New_Index)
 Method set index of the currently selected even. More...
 
BOOL Get_Selected_Event (TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
 Method get selected event. More...
 
VOID Show_Boot_Information (TProtocol_Base *object_Protocol)
 Method show boot information message method. More...
 
VOID Send_Information (TProtocol_Base *object_Protocol)
 Method send diagnostic information about event manager. More...
 
VOID Send_Event_Description (TProtocol_Base *object_Protocol, U32 enum_Event_ID)
 Method send event desctiption over protocol. More...
 
BOOL Get_Event_Description_By_Event_ID (U32 u32_Event_ID, C8 **c8_Event_Description)
 Method get pointer to event description by given event ID. More...
 
U32 Get_OS_Status ()
 This method return OS status. More...
 
BOOL Start_Operation ()
 This method set module in operation mode. More...
 

Private Types

enum  TData_Flush_FSM {
  enum_Idle , enum_Flush_Buffer , enum_Search_Good_Block , enum_Empty_Block_Test ,
  enum_Erase_Block
}
 Event data flush FSM state definition. More...
 

Private Member Functions

BOOL Verify_Event_Descriptor_Database ()
 Verify event desriptor database method. More...
 
U32 Get_Database_Size_In_Bytes ()
 Get event database size in bytes method. More...
 
U32 Calculate_Database_Hash ()
 Calculate event descriptor database hash description. More...
 
VOID Increment_Buffer_Index ()
 Increment event buffer method. More...
 
U32 Get_Previous_Buffer_Index (U32 u32_Buffer_Index)
 Get previous buffer index. More...
 
BOOL Half_Devision_Method_Searching (U64 u64_Event_Index, TEvent_Manager_Base::TEvent_Generic_Record **struct_Event_Record)
 Half division method event searching. More...
 
BOOL Get_Min_Max_Flash_Index ()
 Search first and last event index in flash. More...
 

Private Attributes

TS25FL512object_SPI_Memory = (TS25FL512*)NULL
 Pointer to event memory object. More...
 
TEvent_Buffer struct_Event_Buffer [EVENT_MANAGER_BUFFERS_COUNT]
 Event buffers. More...
 
U32 u32_Last_Flushed_Buffer_Index = (U32)0
 Last flushed buffer index. More...
 
U64 u64_Last_Flushed_Event_Index = (U64)0
 Last global event index detected in the Flash. More...
 
U32 u32_Database_Hash = (U32)0x00000000
 Event manager database derscriptor hash. More...
 
TData_Flush_FSM enum_Data_Flush_FSM_State = enum_Idle
 Event data flish FSM state variable. More...
 
U16 u16_Storage_Block_Index = (U16)0
 Storage block index variable, used to store actual block index by data flush FSM. More...
 
U16 u16_Page_Index_With_Max_Event_Index = (U16)0
 Storage page index variable, used to store actual page index by data flush FSM. More...
 
U16 u16_Page_Index_With_Min_Event_Index = (U16)0
 Storage page index with manimal event index in flash. More...
 
U16 u16_Offset_For_Max_Event_Index = (U16)0
 Storage page index with maximal event index in flash. More...
 
U32 u32_Current_Buffer_Index = (U32)0
 Storage Current buffer index. More...
 
U32 u32_Current_Number_Buffer_Index = (U32)0
 Storage current number of buffer index. More...
 
U64 u64_First_Global_Event_Index = (U64)0
 First global event index detected in the system. More...
 
U64 u64_Last_Global_Event_Index = (U64)0
 Last global event index detected in the system. More...
 
U64 u64_Current_Global_Event_Index = (U64)0
 Current global event index detected in the system. More...
 
U64 u64_Selected_Event_Index = (U64)0
 Actual selected event index. More...
 
TEvent_Manager_Base::TEvent_Generic_Record struct_Selected_Event_Record
 Current event record. Store current event data for VDC tool functionality. More...
 
BOOL bool_Selected_Event_Valid = (BOOL)false
 Selected event validity flag. More...
 
TEvent_Manager_Base::TEvent_Generic_Record struct_Flash_Event_Record
 Flash data record storage. More...
 
U64 u64_Current_Program_Page_Address = (U64)0
 Current address for programing. More...
 
U64 u64_Current_Event_Index_In_Flash = (U64)0
 Last event index in flash memory. More...
 
TEvent_Descriptorstruct_Event_Descriptors_List = (TEvent_Descriptor*)NULL
 Event descriptors list storage mapped directly to the section. More...
 
TOS_Status_Structure struct_OS_Status
 Container for OS status. More...
 
U32 u32_Duplicated_Event_Descriptor_Record_Counter = (U32)0
 Duplicated event descriptor record counter. More...
 
U32 u32_Requested_Event_Counter = (U32)0
 Counter for requested events. More...
 
U32 u32_Dropped_Event_Counter = (U32)0
 Counter of dropped events caused by buffer overflow. More...
 

Detailed Description

Event manager class.

Member Enumeration Documentation

◆ TData_Flush_FSM

Event data flush FSM state definition.

Enumerator
enum_Idle 

Idle state.

enum_Flush_Buffer 

Data flish state.

enum_Search_Good_Block 

Looking for next good block stete.

enum_Empty_Block_Test 

Testing for block is empty state.

enum_Erase_Block 

Erase block state.

Member Function Documentation

◆ Assign_Memory()

BOOL TEvent_Manager::Assign_Memory ( TS25FL512 object_Memory_Pointer)

Memory type assignment method.


Note
Assign SPI memory
Parameters
[in]*object_Memory_Pointer- Pointer to object of memory class
Returns
None
Override
Not allowed
Attention
None

References NULL, and object_SPI_Memory.

◆ Calculate_Database_Hash()

U32 TEvent_Manager::Calculate_Database_Hash ( )
private

Calculate event descriptor database hash description.


Note
None
Returns
U32 - Event database hash value
Override
Not allowed
Attention
None

References Get_Database_Record_Count(), String_Length(), struct_Event_Descriptors_List, TEvent_Descriptor::u8_Raw_Data, and TCRC_32::Update().

Referenced by Init().

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

◆ Create() [1/2]

VOID TEvent_Manager::Create ( const TEvent_Descriptor struct_Event_Descriptor)

Method for creating event by given event descriptor.


Note
None
Parameters
[in]&struct_Event_Descriptor- Event descriptor
Returns
None
Override
Not allowed
Attention
None

References Create(), TEvent_Descriptor::struct_Properties, and TEvent_Descriptor::u32_Event_ID.

Here is the call graph for this function:

◆ Create() [2/2]

VOID TEvent_Manager::Create ( U32  u32_Event_ID)

◆ Create_Data_Event()

VOID TEvent_Manager::Create_Data_Event ( U64  u64_Relative_Event_Index,
TEvent_Manager_Base::TEvent_Payload_Record **  struct_Event_Record 
)

Method for creating event header.


Note
Data events are connected to the event header.
Parameters
[in]u64_Relative_Event_Index- Relative event index
[out]**struct_Event_Record- Pointer to getting event
Returns
None
Override
Not allowed
Attention
None

References TEvent_Manager_Base::TEvent_Generic_Record::Event_Data, TRTC_STM32F429::Get_DateTime(), Increment_Buffer_Index(), Increment_Saturated(), object_System_RTC, TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, u32_Current_Buffer_Index, u32_Current_Number_Buffer_Index, TEvent_Manager_Base::TEvent_Payload_Record::u64_Global_Event_Index, u64_Last_Global_Event_Index, and TEvent_Manager_Base::TEvent_Payload_Record::u64_Relative_Event_Index.

Here is the call graph for this function:

◆ Create_Header_Event()

VOID TEvent_Manager::Create_Header_Event ( TEvent_Manager_Base::TEvent_Header_Record **  struct_Event_Record)

◆ Done()

VOID TEvent_Manager::Done ( )

Event manager finalisation method.


Note
None
Returns
None
Override
Not allowed
Attention
None

◆ Execute()

VOID TEvent_Manager::Execute ( )

◆ Format_Event_Storage()

BOOL TEvent_Manager::Format_Event_Storage ( )

Erasing flash memory.


Note
Erase only good blocks
Returns
BOOL - Erasing status
Return values
false- Erasing failed
true- Erasing successfully done
Override
Not allowed
Attention
None

References TS25FL512::Erase_Chip(), false, NULL, and object_SPI_Memory.

Here is the call graph for this function:

◆ Get_Current_Buffer_Index()

U32 TEvent_Manager::Get_Current_Buffer_Index ( )

Method get current buffer index.


Note
None
Returns
Current buffer index
Override
Not allowed
Attention
None

References u32_Current_Buffer_Index.

◆ Get_Database_Hash()

U32 TEvent_Manager::Get_Database_Hash ( )

Method get event database descriptor hash.


Note
None
Returns
Event database descriptor hash
Override
Not allowed
Attention
None

References u32_Database_Hash.

◆ Get_Database_Record_Count()

U32 TEvent_Manager::Get_Database_Record_Count ( )

Method get event database descriptor hash.


Note
None
Returns
Databse record count
Override
Not allowed
Attention
None

References Get_Database_Size_In_Bytes().

Referenced by Calculate_Database_Hash(), Get_Event_Description_By_Event_ID(), Send_Event_Description(), Send_Information(), Show_Boot_Information(), and Verify_Event_Descriptor_Database().

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

◆ Get_Database_Size_In_Bytes()

U32 TEvent_Manager::Get_Database_Size_In_Bytes ( )
private

Get event database size in bytes method.


Note
None
Returns
U32 - Event database in bytes
Override
Not allowed
Attention
None

References Event_Descriptor_Database_End_Pointer, and Event_Descriptor_Database_Start_Pointer.

Referenced by Get_Database_Record_Count(), and Send_Information().

Here is the caller graph for this function:

◆ Get_Event_Buffer_Size()

U32 TEvent_Manager::Get_Event_Buffer_Size ( )

Method get event buffer size.


Note
None
Returns
Event buffer size
Override
Not allowed
Attention
None

References EVENT_MANAGER_BUFFER_SIZE.

Referenced by Send_Information().

Here is the caller graph for this function:

◆ Get_Event_Description_By_Event_ID()

BOOL TEvent_Manager::Get_Event_Description_By_Event_ID ( U32  u32_Event_ID,
C8 **  c8_Event_Description 
)

Method get pointer to event description by given event ID.


Note
None
Parameters
[in]u32_Event_ID- Event index
[out]**c8_Event_Description- Pointer to event description
Returns
BOOL - Operation status
Return values
false- Operation falled
true- Operation successfully done
Override
Not allowed
Attention
None

References Get_Database_Record_Count(), TEvent_Description_Descriptor::pc8_Description_Text, TEvent_Descriptor::struct_Description, struct_Event_Descriptors_List, and TEvent_Descriptor::u32_Event_ID.

Here is the call graph for this function:

◆ Get_Event_Record_By_Index()

BOOL TEvent_Manager::Get_Event_Record_By_Index ( U64  u64_Event_Index,
TEvent_Manager_Base::TEvent_Generic_Record **  struct_Event_Record 
)

Method search event record by event index.


Note
None
Parameters
[in]u64_Event_Index- Event index
[out]**struct_Event_Record- Pointer to event
Returns
BOOL - Searching status
Return values
false- Searching failed
true- Searching successfully done
Override
Not allowed
Attention
None

References EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, false, Half_Devision_Method_Searching(), Is_In_Range_Less_Greater(), TEvent_Manager::TEvent_Buffer::struct_Buffer, struct_Event_Buffer, u64_First_Global_Event_Index, and u64_Last_Global_Event_Index.

Referenced by Send_Information(), and Set_Selected_Event_Index().

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

◆ Get_Event_Record_Size()

U32 TEvent_Manager::Get_Event_Record_Size ( )

Method get event buffer size.


Note
None
Returns
Event buffer size
Override
Not allowed
Attention
None

Referenced by Send_Information().

Here is the caller graph for this function:

◆ Get_First_Event_Index()

U64 TEvent_Manager::Get_First_Event_Index ( )

Method get index of the first event record.


Note
None
Returns
U64 - Event index for first record
Override
Not allowed
Attention
None

References u64_First_Global_Event_Index.

◆ Get_Last_Event_Index()

U64 TEvent_Manager::Get_Last_Event_Index ( )

Method get index of the last event record.


Note
None
Returns
U64 - Event index for last record
Override
Not allowed
Attention
None

References u64_Last_Global_Event_Index.

Referenced by Send_Information().

Here is the caller graph for this function:

◆ Get_Min_Max_Flash_Index()

BOOL TEvent_Manager::Get_Min_Max_Flash_Index ( )
private

◆ Get_OS_Status()

U32 TEvent_Manager::Get_OS_Status ( )

This method return OS status.


Note
None
Returns
U32 - OS status
Override
Required
Attention
None

References struct_OS_Status, and TOS_Status_Structure::u32_Raw_Data.

◆ Get_Previous_Buffer_Index()

U32 TEvent_Manager::Get_Previous_Buffer_Index ( U32  u32_Buffer_Index)
private

Get previous buffer index.


Note
None
Parameters
[in]u32_Buffer_Index- Buffer index
Returns
U32 - Previous buffer index value
Override
Not allowed
Attention
None

References EVENT_MANAGER_BUFFER_SIZE.

◆ Get_Selected_Event()

BOOL TEvent_Manager::Get_Selected_Event ( TEvent_Manager_Base::TEvent_Generic_Record **  struct_Event_Record)

Method get selected event.


Note
None
Parameters
[out]**struct_Event_Record- Pointer to event
Returns
BOOL - Operation status
Return values
false- Event not getting
true- Event successfully getting
Override
Not allowed
Attention
None

References bool_Selected_Event_Valid, false, NULL, and struct_Selected_Event_Record.

◆ Get_Selected_Event_Index()

U64 TEvent_Manager::Get_Selected_Event_Index ( )

Method get index of the currently selected event.


Note
None
Returns
U64 - index of the currently selected event
Override
Not allowed
Attention
None

References u64_Selected_Event_Index.

◆ Half_Devision_Method_Searching()

BOOL TEvent_Manager::Half_Devision_Method_Searching ( U64  u64_Event_Index,
TEvent_Manager_Base::TEvent_Generic_Record **  struct_Event_Record 
)
private

Half division method event searching.


Note
None
Parameters
[in]u64_Event_Index- Index of the event to search
[out]**struct_Event_Record- Pointer to returned event record
Returns
BOOL - Searching status
Return values
false- Searching for event record failed
true- Event record successfully getted
Override
Not allowed
Attention
None

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

References TEvent_Manager_Base::TEvent_Generic_Record::Event_Header, EVENT_MANAGER_BUFFER_SIZE, TS25FL512::Get_Bad_Block_Status(), TSPI_Memory_Base::Get_Block_Index_By_Page(), object_SPI_Memory, TS25FL512::Read_Buffer_By_Page_Index(), true, u16_Offset_For_Max_Event_Index, u16_Page_Index_With_Max_Event_Index, u16_Page_Index_With_Min_Event_Index, TEvent_Manager_Base::TEvent_Header_Record::u64_Global_Event_Index, and TEvent_Manager_Base::TEvent_Generic_Record::u8_Raw_Data.

Referenced by Get_Event_Record_By_Index().

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

◆ Increment_Buffer_Index()

VOID TEvent_Manager::Increment_Buffer_Index ( )
private

Increment event buffer method.


Note
None
Returns
None
Override
Not allowed
Attention
None

References TEvent_Manager::TEvent_Buffer::bool_Flush_Request, EVENT_MANAGER_BUFFER_SIZE, EVENT_MANAGER_BUFFERS_COUNT, Increment_Overflowed(), struct_Event_Buffer, u32_Current_Buffer_Index, and u32_Current_Number_Buffer_Index.

Referenced by Create(), Create_Data_Event(), and Create_Header_Event().

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

◆ Init()

VOID TEvent_Manager::Init ( )

◆ Send_Event_Description()

VOID TEvent_Manager::Send_Event_Description ( TProtocol_Base object_Protocol,
U32  enum_Event_ID 
)

Method send event desctiption over protocol.


Note
None
Parameters
[in]*object_Protocol- Pointer to communication protocol
[in]enum_Event_ID- Event index
Returns
None
Override
Not allowed
Attention
None

References false, Get_Database_Record_Count(), struct_Event_Descriptors_List, TProtocol_Base::Transmit_String(), and TEvent_Descriptor::u32_Event_ID.

Referenced by Send_Information().

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

◆ Send_Information()

VOID TEvent_Manager::Send_Information ( TProtocol_Base object_Protocol)

◆ Set_Selected_Event_Index()

BOOL TEvent_Manager::Set_Selected_Event_Index ( U64  u64_Selected_Event_New_Index)

Method set index of the currently selected even.


Note
None
Returns
BOOL - Operation status
Return values
false- Index dont set
true- Index set successfully
Override
Not allowed
Attention
None

References bool_Selected_Event_Valid, Get_Event_Record_By_Index(), Is_In_Range_Less_Greater(), NULL, struct_Selected_Event_Record, u64_First_Global_Event_Index, u64_Last_Global_Event_Index, and u64_Selected_Event_Index.

Here is the call graph for this function:

◆ Show_Boot_Information()

VOID TEvent_Manager::Show_Boot_Information ( TProtocol_Base object_Protocol)

Method show boot information message method.


Note
None
Parameters
[in]*object_Protocol- Pointer to communication protocol
Returns
None
Override
Not allowed
Attention
None

References Get_Database_Record_Count(), TProtocol_Base::Transmit_String(), TProtocol_Base::Transmit_String_Of_Char(), TProtocol_Base::Transmit_U32_Value_As_Decimal(), TProtocol_Base::Transmit_U32_Value_As_Hex(), TProtocol_Base::Transmit_U64_Value_As_Decimal(), u32_Database_Hash, u64_First_Global_Event_Index, and u64_Last_Global_Event_Index.

Here is the call graph for this function:

◆ Start_Operation()

BOOL TEvent_Manager::Start_Operation ( )

This method set module in operation mode.


Note
None
Returns
BOOL - Module status
Return values
false- Module in error mode
true- Module ready to operations
Override
Required
Attention
None

References TOS_Status_Structure::Bits, struct_OS_Status, TOS_Status_Structure::u32_Alarm, TOS_Status_Structure::u32_Error, TOS_Status_Structure::u32_Init, and TOS_Status_Structure::u32_Ready.

◆ Verify_Database()

VOID TEvent_Manager::Verify_Database ( )

Verify database method.


Note
None
Returns
None
Override
Not allowed
Attention
None

References Get_Min_Max_Flash_Index(), NULL, and object_SPI_Memory.

Here is the call graph for this function:

◆ Verify_Event_Descriptor_Database()

BOOL TEvent_Manager::Verify_Event_Descriptor_Database ( )
private

Verify event desriptor database method.


Note
This method verify consistency of the event descriptor database.
Returns
BOOL - verification status
Return values
false- Verification failed due one or multiple errors
true- Verification successed
Override
Not allowed
Attention
None

References Get_Database_Record_Count(), Increment_Saturated(), struct_Event_Descriptors_List, TEvent_Descriptor::struct_Properties, u32_Duplicated_Event_Descriptor_Record_Counter, and TEvent_Descriptor::u32_Event_ID.

Referenced by Init().

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

Member Data Documentation

◆ bool_Selected_Event_Valid

BOOL TEvent_Manager::bool_Selected_Event_Valid = (BOOL)false
private

Selected event validity flag.

Referenced by Get_Selected_Event(), and Set_Selected_Event_Index().

◆ enum_Data_Flush_FSM_State

TData_Flush_FSM TEvent_Manager::enum_Data_Flush_FSM_State = enum_Idle
private

Event data flish FSM state variable.

Referenced by Execute().

◆ object_SPI_Memory

TS25FL512* TEvent_Manager::object_SPI_Memory = (TS25FL512*)NULL
private

◆ struct_Event_Buffer

TEvent_Buffer TEvent_Manager::struct_Event_Buffer[EVENT_MANAGER_BUFFERS_COUNT]
private

◆ struct_Event_Descriptors_List

TEvent_Descriptor* TEvent_Manager::struct_Event_Descriptors_List = (TEvent_Descriptor*)NULL
private

Event descriptors list storage mapped directly to the section.

Referenced by Calculate_Database_Hash(), Get_Event_Description_By_Event_ID(), Init(), Send_Event_Description(), and Verify_Event_Descriptor_Database().

◆ struct_Flash_Event_Record

TEvent_Manager_Base::TEvent_Generic_Record TEvent_Manager::struct_Flash_Event_Record
private

Flash data record storage.

◆ struct_OS_Status

TOS_Status_Structure TEvent_Manager::struct_OS_Status
private

Container for OS status.

Referenced by Get_OS_Status(), Init(), and Start_Operation().

◆ struct_Selected_Event_Record

TEvent_Manager_Base::TEvent_Generic_Record TEvent_Manager::struct_Selected_Event_Record
private

Current event record. Store current event data for VDC tool functionality.

Referenced by Get_Selected_Event(), Init(), and Set_Selected_Event_Index().

◆ u16_Offset_For_Max_Event_Index

U16 TEvent_Manager::u16_Offset_For_Max_Event_Index = (U16)0
private

Storage page index with maximal event index in flash.

Referenced by Get_Min_Max_Flash_Index(), and Half_Devision_Method_Searching().

◆ u16_Page_Index_With_Max_Event_Index

U16 TEvent_Manager::u16_Page_Index_With_Max_Event_Index = (U16)0
private

Storage page index variable, used to store actual page index by data flush FSM.

Referenced by Execute(), Get_Min_Max_Flash_Index(), Half_Devision_Method_Searching(), and Send_Information().

◆ u16_Page_Index_With_Min_Event_Index

U16 TEvent_Manager::u16_Page_Index_With_Min_Event_Index = (U16)0
private

Storage page index with manimal event index in flash.

Referenced by Get_Min_Max_Flash_Index(), and Half_Devision_Method_Searching().

◆ u16_Storage_Block_Index

U16 TEvent_Manager::u16_Storage_Block_Index = (U16)0
private

Storage block index variable, used to store actual block index by data flush FSM.

Referenced by Execute(), Get_Min_Max_Flash_Index(), and Send_Information().

◆ u32_Current_Buffer_Index

U32 TEvent_Manager::u32_Current_Buffer_Index = (U32)0
private

◆ u32_Current_Number_Buffer_Index

U32 TEvent_Manager::u32_Current_Number_Buffer_Index = (U32)0
private

Storage current number of buffer index.

Referenced by Create(), Create_Data_Event(), Create_Header_Event(), Increment_Buffer_Index(), and Send_Information().

◆ u32_Database_Hash

U32 TEvent_Manager::u32_Database_Hash = (U32)0x00000000
private

Event manager database derscriptor hash.

Referenced by Get_Database_Hash(), Init(), Send_Information(), and Show_Boot_Information().

◆ u32_Dropped_Event_Counter

U32 TEvent_Manager::u32_Dropped_Event_Counter = (U32)0
private

Counter of dropped events caused by buffer overflow.

Referenced by Create(), and Send_Information().

◆ u32_Duplicated_Event_Descriptor_Record_Counter

U32 TEvent_Manager::u32_Duplicated_Event_Descriptor_Record_Counter = (U32)0
private

Duplicated event descriptor record counter.

Referenced by Send_Information(), and Verify_Event_Descriptor_Database().

◆ u32_Last_Flushed_Buffer_Index

U32 TEvent_Manager::u32_Last_Flushed_Buffer_Index = (U32)0
private

Last flushed buffer index.

Referenced by Execute().

◆ u32_Requested_Event_Counter

U32 TEvent_Manager::u32_Requested_Event_Counter = (U32)0
private

Counter for requested events.

Referenced by Create(), and Send_Information().

◆ u64_Current_Event_Index_In_Flash

U64 TEvent_Manager::u64_Current_Event_Index_In_Flash = (U64)0
private

Last event index in flash memory.

◆ u64_Current_Global_Event_Index

U64 TEvent_Manager::u64_Current_Global_Event_Index = (U64)0
private

Current global event index detected in the system.

◆ u64_Current_Program_Page_Address

U64 TEvent_Manager::u64_Current_Program_Page_Address = (U64)0
private

Current address for programing.

◆ u64_First_Global_Event_Index

U64 TEvent_Manager::u64_First_Global_Event_Index = (U64)0
private

◆ u64_Last_Flushed_Event_Index

U64 TEvent_Manager::u64_Last_Flushed_Event_Index = (U64)0
private

Last global event index detected in the Flash.

◆ u64_Last_Global_Event_Index

U64 TEvent_Manager::u64_Last_Global_Event_Index = (U64)0
private

◆ u64_Selected_Event_Index

U64 TEvent_Manager::u64_Selected_Event_Index = (U64)0
private

Actual selected event index.

Referenced by Get_Selected_Event_Index(), Send_Information(), and Set_Selected_Event_Index().


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