Classes | Namespaces | Typedefs | Functions
raw_processing.h File Reference
#include <algorithm>
#include <cmath>
#include <functional>
#include <istream>
#include <sstream>
#include <vector>
#include <fmt/format.h>
Include dependency graph for raw_processing.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::raw_processing::StringStreamFailure
 Exception thrown if the incoming data from the scanner cannot be processed. 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::raw_processing
 Contains functions, etc. needed to transform higher level data to raw data (sent to or received from scanner) or vice versa.
 

Typedefs

template<class ReturnType , class RawType >
using psen_scan_v2_standalone::data_conversion_layer::raw_processing::ConversionFunc = std::function< ReturnType(const RawType &)>
 

Functions

template<typename T >
psen_scan_v2_standalone::data_conversion_layer::raw_processing::read (std::istream &is)
 
template<typename RawType , typename ReturnType >
ReturnType psen_scan_v2_standalone::data_conversion_layer::raw_processing::read (std::istream &is)
 
template<typename RawType , typename ReturnType >
ReturnType psen_scan_v2_standalone::data_conversion_layer::raw_processing::read (std::istream &is, const ConversionFunc< ReturnType, RawType > &conversion_fcn)
 
template<typename T >
void psen_scan_v2_standalone::data_conversion_layer::raw_processing::read (std::istream &is, T &data)
 
template<typename RawType , typename ReturnType >
void psen_scan_v2_standalone::data_conversion_layer::raw_processing::readArray (std::istream &is, std::vector< ReturnType > &data, const size_t &number_of_samples, const ConversionFunc< ReturnType, RawType > &conversion_fcn)
 
template<typename T >
psen_scan_v2_standalone::data_conversion_layer::raw_processing::toArray (std::ostringstream &os)
 
template<typename T >
void psen_scan_v2_standalone::data_conversion_layer::raw_processing::write (std::ostringstream &os, const T &data)
 
template<typename RawType , typename ArrayElemType >
void psen_scan_v2_standalone::data_conversion_layer::raw_processing::writeArray (std::ostringstream &os, const std::vector< ArrayElemType > &array, ConversionFunc< RawType, ArrayElemType > conversion_fcn)
 


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