aboutsummaryrefslogtreecommitdiff
path: root/src/lib/launchdetection/LaunchMethod.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-03-08 19:00:49 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-03-08 19:00:49 +0100
commit935362b7a369e75c18a7aed267d7b0b304e4c430 (patch)
tree4061eb253ef7508706ef8e2bb661e277c82bfb9c /src/lib/launchdetection/LaunchMethod.h
parent501dc0cfa7259a1916522e5b70a5fd31cb7d20e1 (diff)
downloadpx4-firmware-935362b7a369e75c18a7aed267d7b0b304e4c430.tar.gz
px4-firmware-935362b7a369e75c18a7aed267d7b0b304e4c430.tar.bz2
px4-firmware-935362b7a369e75c18a7aed267d7b0b304e4c430.zip
launchdetection: better integration of Blocks class
Diffstat (limited to 'src/lib/launchdetection/LaunchMethod.h')
-rw-r--r--src/lib/launchdetection/LaunchMethod.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/launchdetection/LaunchMethod.h b/src/lib/launchdetection/LaunchMethod.h
index 0cfbab3e0..01fa7050e 100644
--- a/src/lib/launchdetection/LaunchMethod.h
+++ b/src/lib/launchdetection/LaunchMethod.h
@@ -41,15 +41,20 @@
#ifndef LAUNCHMETHOD_H_
#define LAUNCHMETHOD_H_
+namespace launchdetection
+{
+
class LaunchMethod
{
public:
virtual void update(float accel_x) = 0;
virtual bool getLaunchDetected() = 0;
- virtual void updateParams() = 0;
virtual void reset() = 0;
+
protected:
private:
};
+}
+
#endif /* LAUNCHMETHOD_H_ */