Public Member Functions | Private Member Functions | Private Attributes
InterfaceConfig Class Reference

#include <InterfaceConfig.h>

List of all members.

Public Member Functions

int getBaud ()
int getBaud ()
int getBusAddress ()
int getBusAddress ()
int getCharTimeoutMpy ()
int getCharTimeoutMpy ()
int getCommMode ()
int getCommMode ()
int getComPortConfiguration (int portHandle)
int getComPortConfiguration (int portHandle)
int getComPortNumber ()
int getComPortNumber ()
int getComPorts (int *iComPorts)
int getComPorts (int *iComPorts)
bool getDTR ()
bool getDTR ()
char * getFrame ()
char * getFrame ()
char * getHost ()
char * getHost ()
int getIPPort ()
int getIPPort ()
int getLastError ()
int getLastError ()
bool getRTS ()
bool getRTS ()
int getTimeout ()
int getTimeout ()
int getTxDelayTime ()
int getTxDelayTime ()
bool getTxTimeControl ()
bool getTxTimeControl ()
void init ()
void init ()
 InterfaceConfig ()
 InterfaceConfig ()
int readConfigFromFile (char *fileName="feconfig.dat")
int readConfigFromFile (char *fileName="feconfig.dat")
void setBaud (int baud)
void setBaud (int baud)
void setBusAddress (int address)
void setBusAddress (int address)
void setCharTimeoutMpy (int charTimeoutMpy)
void setCharTimeoutMpy (int charTimeoutMpy)
void setCommMode (int device)
void setCommMode (int device)
int setComPortConfiguration (int portHandle)
int setComPortConfiguration (int portHandle)
void setComPortNumber (int comPortNumber)
void setComPortNumber (int comPortNumber)
void setDTR (bool dtr)
void setDTR (bool dtr)
void setFrame (char *frame)
void setFrame (char *frame)
void setHost (char *host)
void setHost (char *host)
void setIPPort (int ipPort=10001)
void setIPPort (int ipPort=10001)
void setRTS (bool rts)
void setRTS (bool rts)
void setTimeout (int timeout)
void setTimeout (int timeout)
void setTxDelayTime (int txDelayTime)
void setTxDelayTime (int txDelayTime)
void setTxTimeControl (bool txTimeControl)
void setTxTimeControl (bool txTimeControl)
int writeConfigToFile (char *fileName="feconfig.dat")
int writeConfigToFile (char *fileName="feconfig.dat")
 ~InterfaceConfig ()
 ~InterfaceConfig ()

Private Member Functions

int checkIfIPAddress (char *ip, int len)
int checkIfIPAddress (char *ip, int len)

Private Attributes

int m_iError
InterfaceSettings m_ifSettings

Detailed Description

Definition at line 47 of file BRMDemo/src/InterfaceConfig.h.


Constructor & Destructor Documentation

Definition at line 44 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 54 of file BRMDemo/src/InterfaceConfig.cpp.


Member Function Documentation

int InterfaceConfig::checkIfIPAddress ( char *  ip,
int  len 
) [private]

Definition at line 71 of file BRMDemo/src/InterfaceConfig.cpp.

int InterfaceConfig::checkIfIPAddress ( char *  ip,
int  len 
) [private]

Definition at line 535 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 553 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 647 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 457 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 368 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 517 of file BRMDemo/src/InterfaceConfig.cpp.

int InterfaceConfig::getComPorts ( int *  iComPorts)
int InterfaceConfig::getComPorts ( int *  iComPorts)

Definition at line 286 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 683 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 575 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 479 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 499 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 439 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 665 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 593 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 629 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 611 of file BRMDemo/src/InterfaceConfig.cpp.

Definition at line 62 of file BRMDemo/src/InterfaceConfig.cpp.

int InterfaceConfig::readConfigFromFile ( char *  fileName = "feconfig.dat")
int InterfaceConfig::readConfigFromFile ( char *  fileName = "feconfig.dat")

Definition at line 161 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setBaud ( int  baud)

Definition at line 526 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setBaud ( int  baud)
void InterfaceConfig::setBusAddress ( int  address)

Definition at line 544 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setBusAddress ( int  address)
void InterfaceConfig::setCharTimeoutMpy ( int  charTimeoutMpy)
void InterfaceConfig::setCharTimeoutMpy ( int  charTimeoutMpy)

Definition at line 638 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setCommMode ( int  device)

Definition at line 448 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setCommMode ( int  device)

Definition at line 306 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setComPortNumber ( int  comPortNumber)
void InterfaceConfig::setComPortNumber ( int  comPortNumber)

Definition at line 508 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setDTR ( bool  dtr)
void InterfaceConfig::setDTR ( bool  dtr)

Definition at line 674 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setFrame ( char *  frame)

Definition at line 562 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setFrame ( char *  frame)
void InterfaceConfig::setHost ( char *  host)
void InterfaceConfig::setHost ( char *  host)

Definition at line 466 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setIPPort ( int  ipPort = 10001)
void InterfaceConfig::setIPPort ( int  ipPort = 10001)

Definition at line 488 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setRTS ( bool  rts)
void InterfaceConfig::setRTS ( bool  rts)

Definition at line 656 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setTimeout ( int  timeout)
void InterfaceConfig::setTimeout ( int  timeout)

Definition at line 584 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setTxDelayTime ( int  txDelayTime)
void InterfaceConfig::setTxDelayTime ( int  txDelayTime)

Definition at line 620 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setTxTimeControl ( bool  txTimeControl)

Definition at line 602 of file BRMDemo/src/InterfaceConfig.cpp.

void InterfaceConfig::setTxTimeControl ( bool  txTimeControl)
int InterfaceConfig::writeConfigToFile ( char *  fileName = "feconfig.dat")
int InterfaceConfig::writeConfigToFile ( char *  fileName = "feconfig.dat")

Definition at line 94 of file BRMDemo/src/InterfaceConfig.cpp.


Member Data Documentation

Definition at line 105 of file BRMDemo/src/InterfaceConfig.h.

Definition at line 104 of file BRMDemo/src/InterfaceConfig.h.


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


maggie_rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:05:32