Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
main.cpp File Reference

Main file of the HotWheels Cluster application. More...

#include "CarManager.hpp"
#include "enums.hpp"
#include <QApplication>
#include <QDebug>
#include <csignal>

Go to the source code of this file.

Functions

void handleSigint (int)
 Signal handler for SIGINT.
 
int main (int argc, char *argv[])
 Main function of the HotWheels Cluster application.
 

Detailed Description

Main file of the HotWheels Cluster application.

Version
0.1
Date
2025-01-31

This file contains the main function of the HotWheels Cluster application.

Author
Félix LE BIHAN (@Fle-bihh)
Tiago Pereira (@t-pereira06)
Ricardo Melo (@reomelo)
Michel Batista (@MicchelFAB)
Warning
Ensure that the CarManager class is properly implemented.
See also
CarManager.hpp, enums.hpp

Definition in file main.cpp.

Function Documentation

◆ handleSigint()

void handleSigint ( int )

Signal handler for SIGINT.

Parameters
signalThe signal number.

This function is called when a SIGINT signal is received.

Definition at line 28 of file main.cpp.

◆ main()

int main ( int argc,
char * argv[] )

Main function of the HotWheels Cluster application.

Parameters
argcThe number of command-line arguments.
argvThe command-line arguments.
Returns
int The exit code of the application.

This function initializes the application and starts the CarManager.

Definition at line 40 of file main.cpp.

Here is the call graph for this function: