initial implementation
This commit is contained in:
commit
8454b48956
32 changed files with 2781 additions and 0 deletions
28
KalmanFilterInputSource.hpp
Normal file
28
KalmanFilterInputSource.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* @file KalmanFilterInputSource.hpp */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "reactor/EventSource.hpp"
|
||||
#include "filter/KalmanFilterInputCallback.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace kalman {
|
||||
/* Use:
|
||||
* rp<KalmanFilterInputSource> src = ...;
|
||||
* rp<KalmanFilterInputCallback> in_cb = ...;
|
||||
*
|
||||
* src->add_callback(in_cb);
|
||||
* ...
|
||||
* // src invokes in_cb->notify_input(
|
||||
* src->remove_callback(in_cb);
|
||||
*/
|
||||
using KalmanFilterInputSource = reactor::EventSource<
|
||||
/*KalmanFilterInput,*/
|
||||
KalmanFilterInputCallback
|
||||
/*&KalmanFilterInputCallback::notify_filter*/
|
||||
>;
|
||||
} /*namespace kalman*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end KalmanFilterInputSource.hpp */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue