Classes | Typedefs | Functions
utils.h File Reference
#include <string>
#include <vector>
#include <map>
#include <stdint.h>
#include "epos_library/Definitions.h"
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DeviceHandle
struct  EnumeratedNode
class  EposFactory
class  NodeHandle

Typedefs

typedef boost::shared_ptr
< DeviceHandle
DeviceHandlePtr
typedef boost::shared_ptr
< NodeHandle
NodeHandlePtr

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 > *port_names, 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)

Typedef Documentation

typedef boost::shared_ptr<DeviceHandle> DeviceHandlePtr

Definition at line 40 of file utils.h.

typedef boost::shared_ptr<NodeHandle> NodeHandlePtr

Definition at line 49 of file utils.h.


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 > *  port_names,
unsigned int *  error_code 
)

Definition at line 105 of file utils.cpp.

int GetDeviceNameList ( std::vector< std::string > *  device_names,
unsigned int *  error_code 
)

Definition at line 24 of file utils.cpp.

int GetErrorInfo ( unsigned int  error_code,
std::string *  error_string 
)

Definition at line 14 of file utils.cpp.

int GetInterfaceNameList ( const std::string  device_name,
const std::string  protocol_stack_name,
std::vector< std::string > *  interface_names,
unsigned int *  error_code 
)

Definition at line 65 of file utils.cpp.

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 
)

Definition at line 85 of file utils.cpp.

int GetProtocolStackNameList ( const std::string  device_name,
std::vector< std::string > *  protocol_stack_names,
unsigned int *  error_code 
)

Definition at line 44 of file utils.cpp.

bool SerialNumberFromHex ( const std::string &  str,
uint64_t *  serial_number 
)

Definition at line 7 of file utils.cpp.



epos_hardware
Author(s): Mitchell Wills
autogenerated on Thu Jun 6 2019 20:43:10