Rise
The Vieneo Province
scanDb Class Reference

#include <scanDb.h>

Collaboration diagram for scanDb:
[legend]

Public Member Functions

 scanDb ()=default
 
 scanDb (Logger *prmLogger)
 
void Reset ()
 
void ClearChildren (unsigned short parentId)
 
void InsertUpdateModeAC (USHORT vehicleId, SmodeAC modeAC)
 
void UpdateChildren (USHORT parentId)
 
void InsertUpdateParent (USHORT vehicleId, USHORT parentId)
 
void InsertUpdateModeX (USHORT vehicleId, SmodeX modeX)
 
Sscan Get (USHORT vehicleId) const
 

Public Attributes

int CurrentScanTarget = 0
 

Private Attributes

Loggerlogger = nullptr
 
Sscan memory [MAX_SHIPINMEMORY]
 

Detailed Description

Definition at line 53 of file scanDb.h.

Constructor & Destructor Documentation

◆ scanDb() [1/2]

scanDb::scanDb ( )
default

◆ scanDb() [2/2]

scanDb::scanDb ( Logger prmLogger)

Definition at line 3 of file scanDb.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ClearChildren()

void scanDb::ClearChildren ( unsigned short  parentId)

Definition at line 14 of file scanDb.cpp.

Here is the caller graph for this function:

◆ Get()

Sscan scanDb::Get ( USHORT  vehicleId) const

Definition at line 87 of file scanDb.cpp.

Here is the caller graph for this function:

◆ InsertUpdateModeAC()

void scanDb::InsertUpdateModeAC ( USHORT  vehicleId,
SmodeAC  modeAC 
)

Definition at line 23 of file scanDb.cpp.

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

◆ InsertUpdateModeX()

void scanDb::InsertUpdateModeX ( USHORT  vehicleId,
SmodeX  modeX 
)

Definition at line 59 of file scanDb.cpp.

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

◆ InsertUpdateParent()

void scanDb::InsertUpdateParent ( USHORT  vehicleId,
USHORT  parentId 
)

Definition at line 69 of file scanDb.cpp.

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

◆ Reset()

void scanDb::Reset ( )

Definition at line 9 of file scanDb.cpp.

Here is the caller graph for this function:

◆ UpdateChildren()

void scanDb::UpdateChildren ( USHORT  parentId)

Definition at line 44 of file scanDb.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ CurrentScanTarget

int scanDb::CurrentScanTarget = 0

Definition at line 66 of file scanDb.h.

◆ logger

Logger* scanDb::logger = nullptr
private

Definition at line 55 of file scanDb.h.

◆ memory

Sscan scanDb::memory[MAX_SHIPINMEMORY]
private

Definition at line 57 of file scanDb.h.


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