#include "epos_hardware/utils.h"
#include <boost/foreach.hpp>
#include <sstream>
Go to the source code of this file.
Defines |
#define | MAX_STRING_SIZE 1000 |
Functions |
int | GetBaudrateList (const std::string device_name, const std::string protocol_stack_name, const std::string interface_name, const std::string port_name, std::vector< unsigned int > *baudrates, unsigned int *error_code) |
int | GetDeviceNameList (std::vector< std::string > *device_names, unsigned int *error_code) |
int | GetErrorInfo (unsigned int error_code, std::string *error_string) |
int | GetInterfaceNameList (const std::string device_name, const std::string protocol_stack_name, std::vector< std::string > *interface_names, unsigned int *error_code) |
int | GetPortNameList (const std::string device_name, const std::string protocol_stack_name, const std::string interface_name, std::vector< std::string > *port_names, unsigned int *error_code) |
int | GetProtocolStackNameList (const std::string device_name, std::vector< std::string > *protocol_stack_names, unsigned int *error_code) |
bool | SerialNumberFromHex (const std::string &str, uint64_t *serial_number) |
Define Documentation
Function Documentation
int GetBaudrateList |
( |
const std::string |
device_name, |
|
|
const std::string |
protocol_stack_name, |
|
|
const std::string |
interface_name, |
|
|
const std::string |
port_name, |
|
|
std::vector< unsigned int > * |
baudrates, |
|
|
unsigned int * |
error_code |
|
) |
| |
int GetDeviceNameList |
( |
std::vector< std::string > * |
device_names, |
|
|
unsigned int * |
error_code |
|
) |
| |
int GetErrorInfo |
( |
unsigned int |
error_code, |
|
|
std::string * |
error_string |
|
) |
| |
int GetInterfaceNameList |
( |
const std::string |
device_name, |
|
|
const std::string |
protocol_stack_name, |
|
|
std::vector< std::string > * |
interface_names, |
|
|
unsigned int * |
error_code |
|
) |
| |
int GetPortNameList |
( |
const std::string |
device_name, |
|
|
const std::string |
protocol_stack_name, |
|
|
const std::string |
interface_name, |
|
|
std::vector< std::string > * |
port_names, |
|
|
unsigned int * |
error_code |
|
) |
| |
int GetProtocolStackNameList |
( |
const std::string |
device_name, |
|
|
std::vector< std::string > * |
protocol_stack_names, |
|
|
unsigned int * |
error_code |
|
) |
| |