YARP
Yet Another Robot Platform
RFPlugin.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_RFPLUGIN_H
10 #define YARP_OS_RFPLUGIN_H
11 
12 #include <yarp/os/api.h>
13 
14 #include <string>
15 
16 namespace yarp {
17 namespace os {
18 
20 {
21 public:
22  RFPlugin();
23 
24  virtual ~RFPlugin();
25 
31  virtual bool open(const std::string& command);
32 
36  virtual void close();
37 
41  virtual bool isRunning();
42 
46  virtual std::string getCmd();
47 
51  virtual int getThreadKey();
52 
53 #ifndef DOXYGEN_SHOULD_SKIP_THIS
54 private:
55  class Private;
56  Private* mPriv;
57 #endif // DOXYGEN_SHOULD_SKIP_THIS
58 };
59 
60 
61 }
62 }
63 
64 #endif // YARP_OS_RFPLUGIN_H
api.h
YARP_os_API
#define YARP_os_API
Definition: api.h:19
yarp::os::RFPlugin::Private
Definition: RFPlugin.cpp:37
yarp::os::RFPlugin
Definition: RFPlugin.h:20
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18