YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
ImplementRemoteVariables.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_IMPLEMENTREMOTEVARIABLES_H
7#define YARP_DEV_IMPLEMENTREMOTEVARIABLES_H
8
10
11namespace yarp::dev {
12class ImplementRemoteVariables;
13}
14
16{
17protected:
19 void *helper;
20 double *temp1;
21 double *temp2;
22
23
30 bool initialize (int size, const int *amap);
31
36 bool uninitialize ();
37
38public:
39 /* Constructor.
40 * @param y is the pointer to the class instance inheriting from this
41 * implementation.
42 */
44
46
47 bool getRemoteVariable(std::string key, yarp::os::Bottle& val) override;
48
49 bool setRemoteVariable(std::string key, const yarp::os::Bottle& val) override;
50
51 bool getRemoteVariablesList(yarp::os::Bottle* listOfKeys) override;
52};
53
54#endif // YARP_DEV_IMPLEMENTREMOTEVARIABLES_H
IRemoteVariablesRaw interface.
IRemoteVariables interface.
bool setRemoteVariable(std::string key, const yarp::os::Bottle &val) override
bool getRemoteVariablesList(yarp::os::Bottle *listOfKeys) override
bool getRemoteVariable(std::string key, yarp::os::Bottle &val) override
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
bool uninitialize()
Clean up internal data and memory.
A simple collection of objects that can be described and transmitted in a portable way.
Definition Bottle.h:64
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