Classes | Functions
psen_scan_v2_standalone::util Namespace Reference

Namespace containing utilities like the watchdog and barrier. More...

Classes

class  Barrier
 Helper class to simplify the synchronization between different threads. More...
 
class  TenthOfDegree
 Helper class representing angles in tenth of degree. More...
 
class  Watchdog
 Watchdog which continuously calls the specified timeout callback. More...
 

Functions

uint16_t convertPort (const int &port)
 
template<typename T >
std::string formatRange (const T &range)
 
static auto getCurrentTime ()
 

Detailed Description

Namespace containing utilities like the watchdog and barrier.

Function Documentation

◆ convertPort()

uint16_t psen_scan_v2_standalone::util::convertPort ( const int &  port)
inline

Definition at line 62 of file ip_conversion.h.

◆ formatRange()

template<typename T >
std::string psen_scan_v2_standalone::util::formatRange ( const T &  range)

The resulting string will look like the following:

"{Item1, Item2, [...], ItemLast}" 

Examples:

"{1, 2, 3}" 
"{}" (Empty Range) 

Definition at line 38 of file format_range.h.

◆ getCurrentTime()

static auto psen_scan_v2_standalone::util::getCurrentTime ( )
inlinestatic

Definition at line 25 of file timestamp.h.



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