Classes | Namespaces | Enumerations | Functions | Variables
monitoring_frame_deserialization.h File Reference
#include <istream>
#include <stdexcept>
#include <string>
#include <vector>
#include <bitset>
#include "psen_scan_v2_standalone/configuration/scanner_ids.h"
#include "psen_scan_v2_standalone/data_conversion_layer/raw_scanner_data.h"
#include "psen_scan_v2_standalone/data_conversion_layer/diagnostics.h"
#include "psen_scan_v2_standalone/data_conversion_layer/io_pin_data.h"
#include "psen_scan_v2_standalone/data_conversion_layer/monitoring_frame_msg.h"
#include "psen_scan_v2_standalone/data_conversion_layer/raw_processing.h"
#include "psen_scan_v2_standalone/util/tenth_of_degree.h"
Include dependency graph for monitoring_frame_deserialization.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::AdditionalFieldHeader
 Definition for the type and length of an additional field in a monitoring frame. More...
 
class  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldUnexpectedSize
 Exception thrown on problems with the additional fields with fixed size. More...
 
class  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::DecodingFailure
 Exception thrown on problems during the extraction of the measurement data. More...
 
class  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::FixedFields
 The information included in every single monitoring frame. 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.
 
 psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::io
 Contains all types, etc. needed to describe the IOs information contained in a data_conversion_layer::monitoring_frame::Message.
 

Enumerations

enum  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID : AdditionalFieldHeader::Id {
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::io_pin_data = 0x01, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::scan_counter = 0x02, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::zone_set = 0x03, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::diagnostics = 0x04,
  psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::measurements = 0x05, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::intensities = 0x06, psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::AdditionalFieldHeaderID::end_of_frame = 0x09
}
 

Functions

monitoring_frame::Message psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::deserialize (const data_conversion_layer::RawData &data, const std::size_t &num_bytes)
 
std::vector< diagnostic::Message > psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::diagnostic::deserializeMessages (std::istream &is)
 
template<size_t ChunkSize>
void psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::io::deserializePinField (std::istream &is, std::array< std::bitset< 8 >, ChunkSize > &pin_states)
 
PinData psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::io::deserializePins (std::istream &is)
 
AdditionalFieldHeader psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::readAdditionalField (std::istream &is, const std::size_t &max_num_bytes)
 
FixedFields psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::readFixedFields (std::istream &is)
 

Variables

static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::DEFAULT_DEVICE_STATUS { 0 }
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::GUI_MONITORING_TRANSACTION { 0x05 }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::NO_SIGNAL_ARRIVED { 59956 }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::NUMBER_OF_BYTES_SCAN_COUNTER { 4 }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::NUMBER_OF_BYTES_SINGLE_INTENSITY { 2 }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::NUMBER_OF_BYTES_SINGLE_MEASUREMENT { 2 }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::NUMBER_OF_BYTES_ZONE_SET { 1 }
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::ONLINE_WORKING_MODE { 0x00 }
 
static constexpr uint32_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::OP_CODE_MONITORING_FRAME { 0xCA }
 
static constexpr uint16_t psen_scan_v2_standalone::data_conversion_layer::monitoring_frame::SIGNAL_TOO_LATE { 59958 }
 


psen_scan_v2
Author(s): Pilz GmbH + Co. KG
autogenerated on Sat Jun 22 2024 02:46:12