YARP
Yet Another Robot Platform
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/os/api.h>
10 
11 namespace yarp {
12 namespace os {
13 namespace idl {
14 
16 {
17 public:
18  virtual ~WireVocab() {}
19  virtual int fromString(const std::string& input) = 0;
20  virtual std::string toString(int input) const = 0;
21 };
22 
23 } // namespace idl
24 } // namespace os
25 } // namespace yarp
26 
27 #endif // YARP_OS_IDL_WIREVOCAB_H
virtual int fromString(const std::string &input)=0
virtual std::string toString(int input) const =0
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18