#include <CDxlSerialPacketHandler.h>
Public Member Functions | |
CDxlSerialPacketHandler (LxSerial *&serialPort) | |
int | getLastError () |
int | init () |
int | receivePacketWait (CDxlStatusPacket *packet, int seconds, int microseconds) |
int | sendPacket (CDxlPacket *packet, bool replyExpected) |
Protected Attributes | |
int | mLastError |
CLog2 | mLog |
LxSerial *& | mSerialPort |
Definition at line 4 of file CDxlSerialPacketHandler.h.
CDxlSerialPacketHandler::CDxlSerialPacketHandler | ( | LxSerial *& | serialPort | ) |
Definition at line 4 of file CDxlSerialPacketHandler.cpp.
int CDxlSerialPacketHandler::getLastError | ( | ) | [virtual] |
Implements CDxlPacketHandler.
Definition at line 150 of file CDxlSerialPacketHandler.cpp.
int CDxlSerialPacketHandler::init | ( | ) | [virtual] |
Implements CDxlPacketHandler.
Definition at line 11 of file CDxlSerialPacketHandler.cpp.
int CDxlSerialPacketHandler::receivePacketWait | ( | CDxlStatusPacket * | packet, |
int | seconds, | ||
int | microseconds | ||
) | [virtual] |
Implements CDxlPacketHandler.
Definition at line 53 of file CDxlSerialPacketHandler.cpp.
int CDxlSerialPacketHandler::sendPacket | ( | CDxlPacket * | packet, |
bool | replyExpected | ||
) | [virtual] |
Implements CDxlPacketHandler.
Definition at line 19 of file CDxlSerialPacketHandler.cpp.
int CDxlSerialPacketHandler::mLastError [protected] |
Definition at line 9 of file CDxlSerialPacketHandler.h.
CLog2 CDxlSerialPacketHandler::mLog [protected] |
Definition at line 7 of file CDxlSerialPacketHandler.h.
LxSerial*& CDxlSerialPacketHandler::mSerialPort [protected] |
Definition at line 8 of file CDxlSerialPacketHandler.h.