ardupilot/libraries/AP_HAL_Linux/AP_HAL_Linux_Namespace.h
bugobliterator 329c1f5190 HAL_Linux:create ToneAlarmDriver as a separate class
ToneAlarm is now declared as a separate class instance of which is added as a private member of LinuxUtil
Some minor fixes in this patch include changing return type of tonealarm_init() to bool and use dprintf
2014-11-15 16:59:06 +11:00

38 lines
1004 B
C++

#ifndef __AP_HAL_LINUX_NAMESPACE_H__
#define __AP_HAL_LINUX_NAMESPACE_H__
/* While not strictly required, names inside the Linux namespace are prefixed
* with Linux for clarity. (Some of our users aren't familiar with all of the
* C++ namespace rules.)
*/
namespace Linux {
class LinuxUARTDriver;
class LinuxI2CDriver;
class LinuxSPIDeviceManager;
class LinuxSPIDeviceDriver;
class LinuxAnalogSource;
class LinuxAnalogIn;
class LinuxStorage;
class LinuxGPIO_BBB;
class LinuxGPIO_RPI;
class LinuxStorage;
class LinuxStorage_FRAM;
class LinuxDigitalSource;
class LinuxRCInput;
class LinuxRCInput_PRU;
class LinuxRCInput_Navio;
class LinuxRCInput_ZYNQ;
class LinuxRCOutput_PRU;
class LinuxRCOutput_Navio;
class LinuxRCOutput_ZYNQ;
class LinuxSemaphore;
class LinuxScheduler;
class LinuxUtil;
class ToneAlarm; //limit the scope of ToneAlarm driver to Linux_HAL only
}
#endif // __AP_HAL_LINUX_NAMESPACE_H__