![]() |
IRSOL
C++ code implementing socket server for interacting with Baumer camera.
|
#include "irsol/utils.hpp"#include "irsol/assert.hpp"#include "irsol/logging.hpp"#include <iomanip>#include <neoapi/neoapi.hpp>#include <random>#include <sstream>#include <tabulate/table.hpp>#include <thread>Go to the source code of this file.
Namespaces | |
| namespace | irsol |
| namespace | irsol::utils |
Contains general utility functions used throughout the irsol library. | |
| namespace | irsol::utils::internal |
| Contains internal helper constants and functions. | |
Functions | |
| std::string | irsol::utils::uuid () |
| Generates a new UUID string. | |
| std::vector< std::string > | irsol::utils::split (const std::string &s, char delimiter) |
| Splits a string into tokens based on a delimiter. | |
| std::string | irsol::utils::strip (const std::string &s, const std::string &delimiters=" \t\r\n") |
| Removes leading and trailing characters from a string. | |
| std::string | irsol::utils::stripString (const std::string &s, const std::string &strippedString) |
| Removes all occurrences of a specific substring from the start and end of a string. | |
| std::string | irsol::utils::timestampToString (irsol::types::timepoint_t tp) |
| Converts a steady_clock time point to a human-readable string. | |
| std::string | irsol::utils::durationToString (irsol::types::duration_t dr) |
| Converts a duration to a human-readable string. | |
| std::vector< irsol::types::byte_t > | irsol::utils::stringToBytes (const std::string &s) |
| Converts a std::string to a std::vector of irsol::types::byte_t. | |
| std::string | irsol::utils::bytesToString (const std::vector< irsol::types::byte_t > &input) |
| Converts a std::vector of irsol::types::byte_t to a std::string. | |
| NeoAPI::Cam | irsol::utils::loadDefaultCamera () |
| Loads the default camera device. | |
| NeoAPI::CamInfoList & | irsol::utils::discoverCameras () |
| Discovers all cameras connected to the system. | |
| constexpr const char * | irsol::utils::internal::defaultCameraSerialNumber () |
| Default serial number for selecting the system camera. | |