YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
MonitorBinding.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 MONITORBINDING_INC
7#define MONITORBINDING_INC
8
10#include <yarp/os/Property.h>
11#include <yarp/os/Things.h>
12
13#include "MonitorEvent.h"
14
16{
17
18public:
19 virtual ~MonitorBinding();
20 virtual bool load(const yarp::os::Property& options) = 0;
21 virtual bool setParams(const yarp::os::Property& params) = 0;
22 virtual bool getParams(yarp::os::Property& params) = 0;
23
24 virtual bool hasAccept() = 0;
25 virtual bool acceptData(yarp::os::Things& thing) = 0;
26
27 virtual bool hasUpdate() = 0;
29
30 virtual bool hasUpdateReply() = 0;
32
33 virtual bool peerTrigged() = 0;
34 virtual bool setAcceptConstraint(const char* constraint) = 0;
35 virtual const char* getAcceptConstraint() = 0;
36 virtual bool canAccept() = 0;
37
41 static MonitorBinding *create(const char* script_type);
42
43};
44
45#endif //MONITORBINDING_INC_
virtual bool hasAccept()=0
virtual ~MonitorBinding()
Class MonitorBinding.
virtual bool hasUpdate()=0
virtual bool hasUpdateReply()=0
virtual bool acceptData(yarp::os::Things &thing)=0
static MonitorBinding * create(const char *script_type)
factory method
virtual const char * getAcceptConstraint()=0
virtual bool canAccept()=0
virtual bool getParams(yarp::os::Property &params)=0
virtual yarp::os::Things & updateData(yarp::os::Things &thing)=0
virtual yarp::os::Things & updateReply(yarp::os::Things &thing)=0
virtual bool setParams(const yarp::os::Property &params)=0
virtual bool peerTrigged()=0
virtual bool load(const yarp::os::Property &options)=0
virtual bool setAcceptConstraint(const char *constraint)=0
A class for storing options and configuration information.
Definition Property.h:33
Base class for generic things.
Definition Things.h:18