#ifndef __BASICCOMMUNICATIONTRANSPORT_H_INCL__ #define __BASICCOMMUNICATIONTRANSPORT_H_INCL__ /** * TODO: Add class description * * @author gagua */ class basicCommunicationTransport { protected: public: // Constructor basicCommunicationTransport(); // Destructor virtual ~basicCommunicationTransport(); // Copy constructor // TODO: Uncomment the copy constructor when you need it. //basicCommunicationTransport(const basicCommunicationTransport& src); // Assignment operator // TODO: Uncomment the assignment operator when you need it. //basicCommunicationTransport& operator=(const basicCommunicationTransport& src); virtual int sendData( unsigned char *Data, int DataSize ){}; virtual int recptData( unsigned char *Buffer, int BufferLength ){}; }; // Constructor implementation inline basicCommunicationTransport::basicCommunicationTransport() { } // Destructor implementation inline basicCommunicationTransport::~basicCommunicationTransport() { } // TODO: Uncomment the copy constructor when you need it. //inline basicCommunicationTransport::basicCommunicationTransport(const basicCommunicationTransport& src) //{ // // TODO: copy //} // TODO: Uncomment the assignment operator when you need it. //inline basicCommunicationTransport& basicCommunicationTransport::operator=(const basicCommunicationTransport& rhs) //{ // if (this == &rhs) { // return *this; // } // // // TODO: assignment // // return *this; //} #endif // __BASICCOMMUNICATIONTRANSPORT_H_INCL__