APM:Libraries
libraries
AP_LeakDetector
AP_LeakDetector_Backend.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AP_LeakDetector.h
"
4
5
class
AP_LeakDetector_Backend
{
6
public
:
7
AP_LeakDetector_Backend
(
AP_LeakDetector
&_leak_detector,
AP_LeakDetector::LeakDetector_State
&_state);
8
9
// Each backend type must provide an implementation to read the sensor
10
virtual
void
read
(
void
) = 0;
11
12
protected
:
13
AP_LeakDetector
&
leak_detector
;
14
AP_LeakDetector::LeakDetector_State
&
state
;
15
};
AP_LeakDetector_Backend::leak_detector
AP_LeakDetector & leak_detector
Definition:
AP_LeakDetector_Backend.h:13
AP_LeakDetector_Backend
Definition:
AP_LeakDetector_Backend.h:5
AP_LeakDetector_Backend::AP_LeakDetector_Backend
AP_LeakDetector_Backend(AP_LeakDetector &_leak_detector, AP_LeakDetector::LeakDetector_State &_state)
Definition:
AP_LeakDetector_Backend.cpp:3
AP_LeakDetector_Backend::read
virtual void read(void)=0
AP_LeakDetector::LeakDetector_State
Definition:
AP_LeakDetector.h:29
AP_LeakDetector
Definition:
AP_LeakDetector.h:11
AP_LeakDetector_Backend::state
AP_LeakDetector::LeakDetector_State & state
Definition:
AP_LeakDetector_Backend.h:14
AP_LeakDetector.h
Generated on Sun Jun 17 2018 14:18:50 for APM:Libraries by
1.8.13