QuadroCopter  0.1.4
IDevice.h
Go to the documentation of this file.
1 
18 #ifndef IDEVICE_H
19 #define IDEVICE_H
20 
21 #include <cstdio>
22 
23 namespace quadro {
27  class IDevice {
28  public:
29  virtual ~IDevice() { };
30 
34  virtual void initDevice() = 0;
35 
39  virtual int openDevice() = 0;
40 
44  virtual int writeToDevice( size_t _BufferSize ) = 0;
45 
49  virtual short readDevice( size_t _BufferSize ) = 0;
50 
54  virtual int connectToDevice() = 0;
55 
56  protected:
57  };
58 }
59 #endif //IDEVICE_H
virtual ~IDevice()
Definition: IDevice.h:29
virtual void initDevice()=0
virtual int writeToDevice(size_t _BufferSize)=0
virtual int connectToDevice()=0
Definition: aeronautics.h:23
Definition: IDevice.h:27
virtual int openDevice()=0
virtual short readDevice(size_t _BufferSize)=0