YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IRemoteVariables.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_DEV_IREMOTEVARIABLES_H
7#define YARP_DEV_IREMOTEVARIABLES_H
8
9#include <string>
10
11#include <yarp/os/Bottle.h>
12#include <yarp/os/Vocab.h>
13#include <yarp/dev/api.h>
15
16namespace yarp::dev {
17class IRemoteVariablesRaw;
18class IRemoteVariables;
19}
20
40
47{
48public:
52 virtual ~IRemoteVariables() {}
53
54 virtual yarp::dev::ReturnValue getRemoteVariable(std::string key, yarp::os::Bottle& val) = 0;
55
56 virtual yarp::dev::ReturnValue setRemoteVariable(std::string key, const yarp::os::Bottle& val) = 0;
57
59};
60
61#endif // YARP_DEV_IREMOTEVARIABLES_H
IRemoteVariablesRaw interface.
virtual yarp::dev::ReturnValue getRemoteVariablesListRaw(yarp::os::Bottle *listOfKeys)=0
virtual ~IRemoteVariablesRaw()
Destructor.
virtual yarp::dev::ReturnValue setRemoteVariableRaw(std::string key, const yarp::os::Bottle &val)=0
virtual yarp::dev::ReturnValue getRemoteVariableRaw(std::string key, yarp::os::Bottle &val)=0
IRemoteVariables interface.
virtual yarp::dev::ReturnValue getRemoteVariablesList(yarp::os::Bottle *listOfKeys)=0
virtual yarp::dev::ReturnValue getRemoteVariable(std::string key, yarp::os::Bottle &val)=0
virtual yarp::dev::ReturnValue setRemoteVariable(std::string key, const yarp::os::Bottle &val)=0
virtual ~IRemoteVariables()
Destructor.
A simple collection of objects that can be described and transmitted in a portable way.
Definition Bottle.h:65
For streams capable of holding different kinds of content, check what they actually have.
The main, catch-all namespace for YARP.
Definition dirs.h:16
#define YARP_dev_API
Definition api.h:18