Public Member Functions | Protected Member Functions | Private Attributes
RoboteqDevice Class Reference

#include <RoboteqDevice.h>

List of all members.

Public Member Functions

int Connect (string port)
void Disconnect ()
int GetConfig (int configItem, int index, int &result)
int GetConfig (int configItem, int &result)
int GetValue (int operatingItem, int index, int &result)
int GetValue (int operatingItem, int &result)
bool IsConnected ()
 RoboteqDevice ()
int SetCommand (int commandItem, int index, int value)
int SetCommand (int commandItem, int value)
int SetCommand (int commandItem)
int SetConfig (int configItem, int index, int value)
int SetConfig (int configItem, int value)
 ~RoboteqDevice ()

Protected Member Functions

void InitPort ()
int IssueCommand (string commandType, string command, string args, int waitms, string &response, bool isplusminus=false)
int IssueCommand (string commandType, string command, int waitms, string &response, bool isplusminus=false)
int ReadAll (string &str)
int Write (string str)

Private Attributes

int device_fd
int fd0
int handle

Detailed Description

Definition at line 9 of file RoboteqDevice.h.


Constructor & Destructor Documentation

Definition at line 18 of file RoboteqDevice.cpp.

Definition at line 22 of file RoboteqDevice.cpp.


Member Function Documentation

int RoboteqDevice::Connect ( string  port)

Definition at line 31 of file RoboteqDevice.cpp.

Definition at line 76 of file RoboteqDevice.cpp.

int RoboteqDevice::GetConfig ( int  configItem,
int  index,
int &  result 
)

Definition at line 282 of file RoboteqDevice.cpp.

int RoboteqDevice::GetConfig ( int  configItem,
int &  result 
)

Definition at line 309 of file RoboteqDevice.cpp.

int RoboteqDevice::GetValue ( int  operatingItem,
int  index,
int &  result 
)

Definition at line 314 of file RoboteqDevice.cpp.

int RoboteqDevice::GetValue ( int  operatingItem,
int &  result 
)

Definition at line 341 of file RoboteqDevice.cpp.

void RoboteqDevice::InitPort ( ) [protected]

Definition at line 84 of file RoboteqDevice.cpp.

Definition at line 27 of file RoboteqDevice.cpp.

int RoboteqDevice::IssueCommand ( string  commandType,
string  command,
string  args,
int  waitms,
string &  response,
bool  isplusminus = false 
) [protected]

Definition at line 161 of file RoboteqDevice.cpp.

int RoboteqDevice::IssueCommand ( string  commandType,
string  command,
int  waitms,
string &  response,
bool  isplusminus = false 
) [protected]

Definition at line 206 of file RoboteqDevice.cpp.

int RoboteqDevice::ReadAll ( string &  str) [protected]

Definition at line 131 of file RoboteqDevice.cpp.

int RoboteqDevice::SetCommand ( int  commandItem,
int  index,
int  value 
)

Definition at line 244 of file RoboteqDevice.cpp.

int RoboteqDevice::SetCommand ( int  commandItem,
int  value 
)

Definition at line 273 of file RoboteqDevice.cpp.

int RoboteqDevice::SetCommand ( int  commandItem)

Definition at line 277 of file RoboteqDevice.cpp.

int RoboteqDevice::SetConfig ( int  configItem,
int  index,
int  value 
)

Definition at line 211 of file RoboteqDevice.cpp.

int RoboteqDevice::SetConfig ( int  configItem,
int  value 
)

Definition at line 239 of file RoboteqDevice.cpp.

int RoboteqDevice::Write ( string  str) [protected]

Definition at line 117 of file RoboteqDevice.cpp.


Member Data Documentation

int RoboteqDevice::device_fd [private]

Definition at line 12 of file RoboteqDevice.h.

int RoboteqDevice::fd0 [private]

Definition at line 13 of file RoboteqDevice.h.

int RoboteqDevice::handle [private]

Definition at line 14 of file RoboteqDevice.h.


The documentation for this class was generated from the following files:


komodo_rover
Author(s): RoboTiCan
autogenerated on Tue Jan 7 2014 11:20:12