#include <InterfaceConfig.h>
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 |
Definition at line 47 of file BRMDemo/src/InterfaceConfig.h.
Definition at line 44 of file BRMDemo/src/InterfaceConfig.cpp.
Definition at line 54 of file BRMDemo/src/InterfaceConfig.cpp.
| 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] |
| int InterfaceConfig::getBaud | ( | ) |
Definition at line 535 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getBaud | ( | ) |
| int InterfaceConfig::getBusAddress | ( | ) |
Definition at line 553 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getBusAddress | ( | ) |
Definition at line 647 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getCommMode | ( | ) |
Definition at line 457 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getCommMode | ( | ) |
| int InterfaceConfig::getComPortConfiguration | ( | int | portHandle | ) |
Definition at line 368 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getComPortConfiguration | ( | int | portHandle | ) |
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.
| bool InterfaceConfig::getDTR | ( | ) |
| bool InterfaceConfig::getDTR | ( | ) |
Definition at line 683 of file BRMDemo/src/InterfaceConfig.cpp.
| char * InterfaceConfig::getFrame | ( | ) |
Definition at line 575 of file BRMDemo/src/InterfaceConfig.cpp.
| char* InterfaceConfig::getFrame | ( | ) |
| char * InterfaceConfig::getHost | ( | ) |
Definition at line 479 of file BRMDemo/src/InterfaceConfig.cpp.
| char* InterfaceConfig::getHost | ( | ) |
| int InterfaceConfig::getIPPort | ( | ) |
| int InterfaceConfig::getIPPort | ( | ) |
Definition at line 499 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getLastError | ( | ) |
| int InterfaceConfig::getLastError | ( | ) |
Definition at line 439 of file BRMDemo/src/InterfaceConfig.cpp.
| bool InterfaceConfig::getRTS | ( | ) |
| bool InterfaceConfig::getRTS | ( | ) |
Definition at line 665 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getTimeout | ( | ) |
Definition at line 593 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getTimeout | ( | ) |
| int InterfaceConfig::getTxDelayTime | ( | ) |
Definition at line 629 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::getTxDelayTime | ( | ) |
| bool InterfaceConfig::getTxTimeControl | ( | ) |
Definition at line 611 of file BRMDemo/src/InterfaceConfig.cpp.
| bool InterfaceConfig::getTxTimeControl | ( | ) |
| void InterfaceConfig::init | ( | ) |
Definition at line 62 of file BRMDemo/src/InterfaceConfig.cpp.
| void InterfaceConfig::init | ( | ) |
| 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 | ) |
| int InterfaceConfig::setComPortConfiguration | ( | int | portHandle | ) |
Definition at line 306 of file BRMDemo/src/InterfaceConfig.cpp.
| int InterfaceConfig::setComPortConfiguration | ( | int | portHandle | ) |
| 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.
int InterfaceConfig::m_iError [private] |
Definition at line 105 of file BRMDemo/src/InterfaceConfig.h.
Definition at line 104 of file BRMDemo/src/InterfaceConfig.h.