Namespaces | Macros
scanner_v2.cpp File Reference
#include "psen_scan_v2_standalone/scanner_v2.h"
#include <cassert>
#include <stdexcept>
#include "psen_scan_v2_standalone/scanner_configuration.h"
Include dependency graph for scanner_v2.cpp:

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.
 

Macros

#define BIND_EVENT(event_name)   std::bind(&ScannerV2::triggerEvent<event_name>, this)
 
#define BIND_RAW_DATA_EVENT(event_name)   [this](const data_conversion_layer::RawDataConstPtr& data, const std::size_t& num_bytes, const int64_t& timestamp){ triggerEventWithParam(event_name(data, num_bytes, timestamp)); }
 

Macro Definition Documentation

◆ BIND_EVENT

#define BIND_EVENT (   event_name)    std::bind(&ScannerV2::triggerEvent<event_name>, this)

Definition at line 28 of file scanner_v2.cpp.

◆ BIND_RAW_DATA_EVENT

#define BIND_RAW_DATA_EVENT (   event_name)    [this](const data_conversion_layer::RawDataConstPtr& data, const std::size_t& num_bytes, const int64_t& timestamp){ triggerEventWithParam(event_name(data, num_bytes, timestamp)); }

Definition at line 31 of file scanner_v2.cpp.



psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Nov 25 2023 03:46:26