RobotsIO
Loading...
Searching...
No Matches
Probe.h
1/*
2 * Copyright (C) 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 ROBOTSIO_PROBE_H
9#define ROBOTSIO_PROBE_H
10
11#include <RobotsIO/Utils/Data.h>
12
13#include <string>
14
15namespace RobotsIO {
16 namespace Utils {
17 class Probe;
18 }
19}
20
22{
23public:
24 virtual ~Probe();
25
26 void set_data(const RobotsIO::Utils::Data&);
27
28 RobotsIO::Utils::Data& get_data();
29
30protected:
31 virtual void on_new_data() = 0;
32
33private:
35
36 const std::string log_name_ = "Probe";
37};
38
39#endif /* ROBOTSIO_PROBE_H */