Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
CarManager Class Reference

Class that manages the car manager application. QMainWindow. More...

#include <CarManager.hpp>

Public Member Functions

 CarManager (int argc, char **argv, QWidget *parent=nullptr)
 Construct a new CarManager object.
 
 ~CarManager ()
 

Private Member Functions

void initializeComponents ()
 Initialize the components of the CarManager.
 
void initializeDataManager ()
 Initialize the DataManager.
 
void initializeCanBusManager ()
 Initialize the CanBusManager.
 
void initializeControlsManager ()
 Initialize the ControlsManager.
 
void initializeDisplayManager ()
 Initialize the DisplayManager.
 
void initializeSystemManager ()
 Initialize the SystemManager.
 
void initializeMileageManager ()
 Initialize the MileageManager.
 

Private Attributes

Ui::CarManager * ui
 Pointer to the user interface for the car manager.
 
DataManagerm_dataManager
 Pointer to the DataManager instance.
 
CanBusManagerm_canBusManager
 Pointer to the CanBusManager instance.
 
ControlsManagerm_controlsManager
 Pointer to the ControlsManager instance.
 
DisplayManagerm_displayManager
 Pointer to the DisplayManager instance.
 
SystemManagerm_systemManager
 Pointer to the SystemManager instance.
 
MileageManagerm_mileageManager
 Pointer to the MileageManager instance.
 

Detailed Description

Class that manages the car manager application. QMainWindow.

Definition at line 41 of file CarManager.hpp.

Constructor & Destructor Documentation

◆ CarManager()

CarManager::CarManager ( int argc,
char ** argv,
QWidget * parent = nullptr )

Construct a new CarManager object.

Parameters
parentThe parent QWidget.

This constructor initializes the CarManager object with the specified parent.

Definition at line 29 of file CarManager.cpp.

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

◆ ~CarManager()

CarManager::~CarManager ( )

Definition at line 43 of file CarManager.cpp.

Member Function Documentation

◆ initializeCanBusManager()

void CarManager::initializeCanBusManager ( )
private

Initialize the CanBusManager.

This function initializes the CanBusManager and connects its signals to the DataManager slots.

Definition at line 82 of file CarManager.cpp.

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

◆ initializeComponents()

void CarManager::initializeComponents ( )
private

Initialize the components of the CarManager.

This function initializes the DataManager, CanBusManager, ControlsManager, DisplayManager, SystemManager, and MileageManager.

Definition at line 59 of file CarManager.cpp.

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

◆ initializeControlsManager()

void CarManager::initializeControlsManager ( )
private

Initialize the ControlsManager.

This function initializes the ControlsManager and connects its signals to the DataManager slots.

Definition at line 97 of file CarManager.cpp.

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

◆ initializeDataManager()

void CarManager::initializeDataManager ( )
private

Initialize the DataManager.

!No additional logic for now; ready for future extensions.

Definition at line 73 of file CarManager.cpp.

Here is the caller graph for this function:

◆ initializeDisplayManager()

void CarManager::initializeDisplayManager ( )
private

Initialize the DisplayManager.

This function initializes the DisplayManager and connects its signals to the DataManager slots.

Definition at line 116 of file CarManager.cpp.

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

◆ initializeMileageManager()

void CarManager::initializeMileageManager ( )
private

Initialize the MileageManager.

This function initializes the MileageManager and connects its signals to the DataManager slots.

Definition at line 209 of file CarManager.cpp.

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

◆ initializeSystemManager()

void CarManager::initializeSystemManager ( )
private

Initialize the SystemManager.

This function initializes the SystemManager and connects its signals to the DataManager slots.

Definition at line 171 of file CarManager.cpp.

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

Field Documentation

◆ m_canBusManager

CanBusManager* CarManager::m_canBusManager
private

Pointer to the CanBusManager instance.

Definition at line 54 of file CarManager.hpp.

◆ m_controlsManager

ControlsManager* CarManager::m_controlsManager
private

Pointer to the ControlsManager instance.

Definition at line 56 of file CarManager.hpp.

◆ m_dataManager

DataManager* CarManager::m_dataManager
private

Pointer to the DataManager instance.

Definition at line 52 of file CarManager.hpp.

◆ m_displayManager

DisplayManager* CarManager::m_displayManager
private

Pointer to the DisplayManager instance.

Definition at line 58 of file CarManager.hpp.

◆ m_mileageManager

MileageManager* CarManager::m_mileageManager
private

Pointer to the MileageManager instance.

Definition at line 62 of file CarManager.hpp.

◆ m_systemManager

SystemManager* CarManager::m_systemManager
private

Pointer to the SystemManager instance.

Definition at line 60 of file CarManager.hpp.

◆ ui

Ui::CarManager* CarManager::ui
private

Pointer to the user interface for the car manager.

Definition at line 50 of file CarManager.hpp.


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