YARP
Yet Another Robot Platform
WireVocab.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 #ifndef YARP_OS_IDL_WIREVOCAB_H
10 #define YARP_OS_IDL_WIREVOCAB_H
11 
12 #include <yarp/os/api.h>
13 
14 namespace yarp {
15 namespace os {
16 namespace idl {
17 
19 {
20 public:
21  virtual ~WireVocab() {}
22  virtual int fromString(const std::string& input) = 0;
23  virtual std::string toString(int input) const = 0;
24 };
25 
26 } // namespace idl
27 } // namespace os
28 } // namespace yarp
29 
30 #endif // YARP_OS_IDL_WIREVOCAB_H
api.h
yarp::os::idl::WireVocab::toString
virtual std::string toString(int input) const =0
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::idl::WireVocab
Definition: WireVocab.h:19
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::os::idl::WireVocab::fromString
virtual int fromString(const std::string &input)=0
yarp::os::idl::WireVocab::~WireVocab
virtual ~WireVocab()
Definition: WireVocab.h:21