YARP
Yet Another Robot Platform
RFPlugin.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_RFPLUGIN_H
7 #define YARP_OS_RFPLUGIN_H
8 
9 #include <yarp/os/api.h>
10 
11 #include <string>
12 
13 namespace yarp {
14 namespace os {
15 
17 {
18 public:
19  RFPlugin();
20 
21  virtual ~RFPlugin();
22 
28  virtual bool open(const std::string& command);
29 
33  virtual void close();
34 
38  virtual bool isRunning();
39 
43  virtual std::string getCmd();
44 
48  virtual int getThreadKey();
49 
50 #ifndef DOXYGEN_SHOULD_SKIP_THIS
51 private:
52  class Private;
53  Private* mPriv;
54 #endif // DOXYGEN_SHOULD_SKIP_THIS
55 };
56 
57 
58 }
59 }
60 
61 #endif // YARP_OS_RFPLUGIN_H
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_os_API
Definition: api.h:18