Object Hunt  v0.2
Hunts for a not specified object in an unknown environment
Variables
ReturnValue Namespace Reference

The return value of the base process. More...

Variables

const int8_t COMMON_ERROR = -3
 Generic error. More...
 
const int8_t NO_CONNECTION = -2
 No connection established. More...
 
const int8_t POWER_OFF = -1
 Shutdown the RaspberryPi. More...
 
const int8_t LEAVE_SUCCESS = 0
 No special events. More...
 

Detailed Description

The return value of the base process.

The main method decides depending on these return values of the application class, how or if the process will be terminated.

Variable Documentation

◆ COMMON_ERROR

const int8_t ReturnValue::COMMON_ERROR = -3

Generic error.

An error occurred while executing the program.

◆ LEAVE_SUCCESS

const int8_t ReturnValue::LEAVE_SUCCESS = 0

No special events.

The program terminated ordinary.

◆ NO_CONNECTION

const int8_t ReturnValue::NO_CONNECTION = -2

No connection established.

The socket connection to the navigation process could not be established.

◆ POWER_OFF

const int8_t ReturnValue::POWER_OFF = -1

Shutdown the RaspberryPi.

The start/ stop button was pressed. This return value will cause the RaspberryPi to shutdown.