YARP
Yet Another Robot Platform
MonitorObject.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef YARP_OS_MONITOROBJECT_H
7 #define YARP_OS_MONITOROBJECT_H
8 
9 
10 #include <yarp/os/api.h>
11 
12 namespace yarp {
13 namespace os {
14 class Property;
15 class Things;
16 } // namespace os
17 } // namespace yarp
18 
19 namespace yarp {
20 namespace os {
21 
23 {
24 public:
25  virtual ~MonitorObject();
26 
34  virtual bool create(const yarp::os::Property& options);
35 
39  virtual void destroy();
40 
47  virtual bool setparam(const yarp::os::Property& params);
48 
55  virtual bool getparam(yarp::os::Property& params);
56 
61  virtual void trig();
62 
71  virtual bool accept(yarp::os::Things& thing);
72 
73 
82  virtual yarp::os::Things& update(yarp::os::Things& thing);
83 
84 
93  virtual yarp::os::Things& updateReply(yarp::os::Things& thing);
94 };
95 
96 } // namespace os
97 } // namespace yarp
98 
99 #endif // YARP_OS_MONITOROBJECT_H
A class for storing options and configuration information.
Definition: Property.h:34
Base class for generic things.
Definition: Things.h:19
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18