Bayes Filters Library
ExogenousModel.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3  *
4  * This software may be modified and distributed under the terms of the
5  * BSD 3-Clause license. See the accompanying LICENSE file for details.
6  */
7 
9 
10 using namespace bfl;
11 using namespace Eigen;
12 
13 
14 bool ExogenousModel::skip(const std::string& what_step, const bool status)
15 {
16  if (what_step == "exogenous")
17  skip_ = status;
18  else
19  return false;
20 
21  return true;
22 }
23 
24 
26 {
27  return skip_;
28 }
bfl::ExogenousModel::is_skipping
bool is_skipping() override
Definition: ExogenousModel.cpp:25
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
ExogenousModel.h
bfl::ExogenousModel::skip
bool skip(const std::string &what_step, const bool status) override
Definition: ExogenousModel.cpp:14