Functions
idfetchhelpers.h File Reference
#include <regex>
#include <xstypes/xsdeviceid.h>
#include <algorithm>
Include dependency graph for idfetchhelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static XsDeviceId deviceIdFromDevPath (std::string const &devpath)
 
static uint16_t pidFromString (std::string const &string)
 
static std::string searchOne (std::string const &string, std::string const &regex)
 
static uint16_t vidFromString (std::string const &string)
 

Function Documentation

◆ deviceIdFromDevPath()

static XsDeviceId deviceIdFromDevPath ( std::string const &  devpath)
inlinestatic

Definition at line 85 of file idfetchhelpers.h.

◆ pidFromString()

static uint16_t pidFromString ( std::string const &  string)
inlinestatic

Definition at line 113 of file idfetchhelpers.h.

◆ searchOne()

static std::string searchOne ( std::string const &  string,
std::string const &  regex 
)
inlinestatic

Definition at line 75 of file idfetchhelpers.h.

◆ vidFromString()

static uint16_t vidFromString ( std::string const &  string)
inlinestatic

Definition at line 95 of file idfetchhelpers.h.



xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21