Jafar
|
This class uses template for binding a generic parameter container to the SensorNodeBase class This parameter is used for updating the prediction model i.e. More...
This class uses template for binding a generic parameter container to the SensorNodeBase class This parameter is used for updating the prediction model i.e.
Fk, Gk and Qk. It contains all the constants and variables needed for updating these matrices. PARAMS must have a field h, which is the elapsed time between the last update and the current measurement
Definition at line 158 of file sensornodegeneric.hpp.
#include <sensornodegeneric.hpp>
Public Member Functions | |
SensorNodeGeneric (unsigned short sv_size, unsigned short id, time const &sync_period, PredictModelFactoryBase *pred_factory, CommFactoryBase *comm_factory, bool delayed_data) | |
void | SetHistoryLength (time const &hlength) |
time | GetHistoryLength () |
void | ResizeHistory () |
bool | GetHistoryClosestInfo (time const &t, InfoContainer &iCont) |
void | FeedWithSensorData (InfoContainer const &iI, PARAMS ¶ms) |
Run the local filter with information comming from the sensor params points on a structure containing everything needed for updating the Prediction model non-blocking behaviour to guarantee good timing. | |
void | PurgeFifo () |
Empty the measurement buffer before channel filters sync. | |
void | PushInFifo (InfoContainer const &iI, PARAMS ¶ms) |
Private Types | |
typedef std::deque< StoreiI < PARAMS > > | StoreiIBuffer |
Private Attributes | |
StoreiIBuffer | m_iI_fifo |
boost::mutex | m_fifo_mutex |
Generated on Wed Oct 15 2014 00:37:33 for Jafar by doxygen 1.7.6.1 |