Classes | Typedefs | Enumerations
psen_scan_v2_standalone::communication_layer Namespace Reference

Namespace for the primitive communication layer implementation. More...

Classes

class  UdpClientImpl
 Helper for asynchronously sending and receiving data via UDP. More...
 

Typedefs

using ErrorCallback = std::function< void(const std::string &)>
 
using NewMessageCallback = std::function< void(const data_conversion_layer::RawDataConstPtr &, const std::size_t &, const int64_t &timestamp)>
 

Enumerations

enum  ReceiveMode { ReceiveMode::single, ReceiveMode::continuous }
 Lists the different possible receive modi. More...
 

Detailed Description

Namespace for the primitive communication layer implementation.

Typedef Documentation

◆ ErrorCallback

using psen_scan_v2_standalone::communication_layer::ErrorCallback = typedef std::function<void(const std::string&)>

Definition at line 50 of file udp_client.h.

◆ NewMessageCallback

using psen_scan_v2_standalone::communication_layer::NewMessageCallback = typedef std::function<void(const data_conversion_layer::RawDataConstPtr&, const std::size_t&, const int64_t& timestamp)>

Definition at line 49 of file udp_client.h.

Enumeration Type Documentation

◆ ReceiveMode

Lists the different possible receive modi.

Enumerator
single 

Wait for one message and then stop listening.

continuous 

Continuously wait for new messages. In other words, after a message is received, automatically start listening for the next message.

Definition at line 55 of file udp_client.h.



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