QuadroCopter  0.1.4
quadro::IDevice Class Referenceabstract

#include <IDevice.h>

Inheritance diagram for quadro::IDevice:
quadro::analog::analogBase quadro::analog::analogBase quadro::i2c::i2cDevice quadro::pwm::pwmDevice quadro::analog::LVMaxSonarEZ quadro::analog::LVMaxSonarEZ quadro::i2c::L3GD20H quadro::i2c::LSM303DLHC quadro::pwm::motors quadro::i2c::LSM303Accelerometer quadro::i2c::LSM303Magnetometer quadro::pwm::dji_2212

Public Member Functions

virtual ~IDevice ()
 
virtual void initDevice ()=0
 
virtual int openDevice ()=0
 
virtual int writeToDevice (size_t _BufferSize)=0
 
virtual short readDevice (size_t _BufferSize)=0
 
virtual int connectToDevice ()=0
 

Detailed Description

Interface class for all devices

Constructor & Destructor Documentation

virtual quadro::IDevice::~IDevice ( )
inlinevirtual
29 { };

Member Function Documentation

virtual int quadro::IDevice::connectToDevice ( )
pure virtual

pure virtual connectToDevice - All devices implementing this interface will require this functionality.

Implemented in quadro::i2c::i2cDevice.

virtual void quadro::IDevice::initDevice ( )
pure virtual

pure virtual openDevice - All devices implementing this interface will require this functionality.

Implemented in quadro::i2c::i2cDevice.

virtual int quadro::IDevice::openDevice ( )
pure virtual

pure virtual openDevice - All devices implementing this interface will require this functionality.

Implemented in quadro::i2c::i2cDevice.

virtual short quadro::IDevice::readDevice ( size_t  _BufferSize)
pure virtual

pure virtual readDevice - All devices implementing this interface will require this functionality.

Implemented in quadro::i2c::i2cDevice.

virtual int quadro::IDevice::writeToDevice ( size_t  _BufferSize)
pure virtual

pure virtual writeToDevice - All devices implementing this interface will require this functionality.

Implemented in quadro::i2c::i2cDevice.


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