Namespaces | Macros | Functions
scanner_state_machine_def.h File Reference
#include "psen_scan_v2_standalone/data_conversion_layer/start_request_serialization.h"
#include "psen_scan_v2_standalone/scanner_configuration.h"
#include "psen_scan_v2_standalone/communication_layer/udp_client.h"
Include dependency graph for scanner_state_machine_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 psen_scan_v2_standalone
 Root namespace in which the software components to communicate with the scanner (firmware-version: 2) are realised/implemented.
 
 psen_scan_v2_standalone::protocol_layer
 Namespace for the implementation of the scanner protocol state machine.
 

Macros

#define DEFAULT_ON_ENTRY_IMPL(state_name)
 
#define DEFAULT_ON_EXIT_IMPL(state_name)
 
#define DEFAULT_STATE_IMPL(state_name)
 

Functions

template<class T >
static std::string psen_scan_v2_standalone::protocol_layer::classNameShort (const T &t)
 
template<class FSM >
static std::string psen_scan_v2_standalone::protocol_layer::getStateName (const int &state_id)
 

Macro Definition Documentation

◆ DEFAULT_ON_ENTRY_IMPL

#define DEFAULT_ON_ENTRY_IMPL (   state_name)
Value:
template <class Event, class FSM>\
void ScannerProtocolDef::state_name::on_entry(Event const&, FSM& fsm)\
{\
PSENSCAN_DEBUG("StateMachine", "Entering state: " #state_name);\
}\

Definition at line 59 of file scanner_state_machine_def.h.

◆ DEFAULT_ON_EXIT_IMPL

#define DEFAULT_ON_EXIT_IMPL (   state_name)
Value:
template <class Event, class FSM>\
void ScannerProtocolDef::state_name::on_exit(Event const&, FSM& fsm)\
{\
PSENSCAN_DEBUG("StateMachine", "Exiting state: " #state_name);\
}

Definition at line 66 of file scanner_state_machine_def.h.

◆ DEFAULT_STATE_IMPL

#define DEFAULT_STATE_IMPL (   state_name)
Value:
DEFAULT_ON_EXIT_IMPL(state_name)
#define DEFAULT_ON_ENTRY_IMPL(state_name)

Definition at line 73 of file scanner_state_machine_def.h.



psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 5 2022 02:13:36