7 #ifndef IFM3D_DEVICE_UTIL_H
8 #define IFM3D_DEVICE_UTIL_H
12 #include <ifm3d/device/module_device.h>
19 IFM3D_EXPORT std::string& ltrim(std::string& str,
20 const std::string& chars =
"\t\n\v\f\r ");
25 IFM3D_EXPORT std::string& rtrim(std::string& str,
26 const std::string& chars =
"\t\n\v\f\r ");
31 IFM3D_EXPORT std::string& trim(std::string& str,
32 const std::string& chars =
"\t\n\v\f\r ");
37 IFM3D_EXPORT std::vector<std::string> split(
const std::string& in,
40 IFM3D_EXPORT
bool IsStdinAvailable(
int timeoutSeconds = 2);
44 #endif // IFM3D_CAMERA_UTIL_H