APM:Libraries
libraries
AP_LeakDetector
AP_LeakDetector_Analog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AP_LeakDetector_Backend.h
"
4
#include <
AP_HAL/AP_HAL.h
>
5
6
class
AP_LeakDetector_Analog
:
public
AP_LeakDetector_Backend
{
7
public
:
8
AP_LeakDetector_Analog
(
AP_LeakDetector
&_leak_detector,
AP_LeakDetector::LeakDetector_State
&_state);
9
void
read
(
void
);
10
11
private
:
12
AP_HAL::AnalogSource
*
source
;
13
};
AP_HAL.h
AP_LeakDetector_Analog::AP_LeakDetector_Analog
AP_LeakDetector_Analog(AP_LeakDetector &_leak_detector, AP_LeakDetector::LeakDetector_State &_state)
Definition:
AP_LeakDetector_Analog.cpp:6
AP_LeakDetector_Backend
Definition:
AP_LeakDetector_Backend.h:5
AP_LeakDetector_Analog::source
AP_HAL::AnalogSource * source
Definition:
AP_LeakDetector_Analog.h:12
AP_LeakDetector_Analog::read
void read(void)
Definition:
AP_LeakDetector_Analog.cpp:12
AP_LeakDetector::LeakDetector_State
Definition:
AP_LeakDetector.h:29
AP_LeakDetector
Definition:
AP_LeakDetector.h:11
AP_LeakDetector_Analog
Definition:
AP_LeakDetector_Analog.h:6
AP_LeakDetector_Backend.h
AP_HAL::AnalogSource
Definition:
AnalogIn.h:7
Generated on Sun Jun 17 2018 14:18:50 for APM:Libraries by
1.8.13