Bayes Filters Library
Agent.h
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 
8 #ifndef AGENT_H
9 #define AGENT_H
10 
11 #include <BayesFilters/Data.h>
12 
13 #include <memory>
14 #include <string>
15 
16 #include <Eigen/Dense>
17 
18 namespace bfl {
19  class Agent;
20 }
21 
22 
24 {
25 public:
26  virtual ~Agent() noexcept = default;
27 
28  virtual bool bufferData() = 0;
29 
30  virtual Data getData() const = 0;
31 
32  virtual bool setProperty(const std::string& property);
33 };
34 
35 #endif /* AGENT_H */
bfl::Agent::bufferData
virtual bool bufferData()=0
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
bfl::Agent::setProperty
virtual bool setProperty(const std::string &property)
Definition: Agent.cpp:15
bfl::Agent::~Agent
virtual ~Agent() noexcept=default
bfl::Agent
Definition: Agent.h:23
bfl::Agent::getData
virtual Data getData() const =0
Data.h
bfl::any::any
The class any describes a type-safe container for single values of any type.
Definition: any.h:77