Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
diagnostics.h File Reference
#include <array>
#include <string>
#include <map>
#include <vector>
#include <set>
#include "psen_scan_v2_standalone/configuration/scanner_ids.h"
Include dependency graph for diagnostics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorLocation
 Defines a byte and bit position of an error in the diagnostic chunk. More...
 
class  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::Message
 Defines an Diagnostic message by defining the ErrorLocation and a scanner ID. More...
 

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::data_conversion_layer
 Contains the data serialization and deserialization layer.
 
 psen_scan_v2_standalone::data_conversion_layer::monitoring_frame
 Namespace containing all things about the MonitoringFrame data strucure.
 
 psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic
 Contains all types, etc. needed to describe the diagnostics information contained in a data_conversion_layer::monitoring_frame::Message.
 

Macros

#define REV(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)   arg8, arg7, arg6, arg5, arg4, arg3, arg2, arg1
 

Typedefs

using psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorMessage = std::string
 
using psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::Et = ErrorType
 
using psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::RawChunk = std::array< uint8_t, diagnostic::RAW_CHUNK_LENGTH_IN_BYTES >
 

Enumerations

enum  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType {
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::ossd1_oc, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::ossd_shrt_c, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::ossd_integr, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::intern,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::win_cln_al, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::power_supply, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::netw_prb, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::dust_crc_fl,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::ossd2_overcur, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::meas_prob, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::incoherence, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::zone_inval_trans,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::zone_invalid_conf, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::win_cln_warn, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::int_com_prb, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::generic_err,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::disp_com_prb, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::temp_meas_prob, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::encod_oor, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::edm2_err,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::edm1_err, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::conf_err, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::out_of_range_err, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::temp_range_err,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::encoder_generic_err, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ErrorType::unused
}
 

Functions

bool psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::isAmbiguous (const ErrorType &code)
 
std::ostream & psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::operator<< (std::ostream &os, const diagnostic::Message &msg)
 

Variables

static const std::set< Et > psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::AMBIGUOUS_DIAGNOSTIC_CODES = { Et::unused, Et::intern }
 
static constexpr std::array< std::array< ErrorType, 8 >, 9 > psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ERROR_BITS
 
static const std::map< ErrorType, ErrorMessage > psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::ERROR_CODE_TO_STRING
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::RAW_CHUNK_LENGTH_FOR_ONE_DEVICE_IN_BYTES { 9 }
 Contains constants and types needed to define the diagnostic::Message. More...
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::RAW_CHUNK_LENGTH_IN_BYTES
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::RAW_CHUNK_UNUSED_OFFSET_IN_BYTES { 4 }
 

Macro Definition Documentation

◆ REV

#define REV (   arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7,
  arg8 
)    arg8, arg7, arg6, arg5, arg4, arg3, arg2, arg1

Definition at line 121 of file diagnostics.h.



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