YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
WireVocab.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_IDL_WIREVOCAB_H
7#define YARP_OS_IDL_WIREVOCAB_H
8
9#include <yarp/conf/system.h>
10#if !defined(YARP_INCLUDING_DEPRECATED_HEADER_YARP_DEV_ICONTROLLIMITS2_H_ON_PURPOSE)
11YARP_COMPILER_WARNING("<yarp/os/idl/WireVocab.h> file is deprecated")
12#endif
13
14
15#include <yarp/os/api.h>
16
17#include <string>
18
19namespace yarp::os::idl {
20
22{
23public:
24 virtual ~WireVocab() {}
25 virtual int fromString(const std::string& input) = 0;
26 virtual std::string toString(int input) const = 0;
27};
28
29} // namespace yarp::os::idl
30
31#endif // YARP_OS_IDL_WIREVOCAB_H
virtual int fromString(const std::string &input)=0
virtual std::string toString(int input) const =0
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
Definition system.h:111
#define YARP_os_DEPRECATED_API
Definition api.h:20