YARP
Yet Another Robot Platform
Wire.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_WIRE_H
10 #define YARP_OS_WIRE_H
11 
12 #include <yarp/os/PortReader.h>
13 #include <yarp/os/WireLink.h>
14 
15 namespace yarp {
16 namespace os {
17 
21 class Wire : public PortReader
22 {
23 private:
24  yarp::os::WireLink _yarp_link;
25 
26 public:
35  {
36  return _yarp_link;
37  }
38 };
39 
40 } // namespace os
41 } // namespace yarp
42 
43 #endif // YARP_OS_WIRE_H
yarp::os::PortReader
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition: PortReader.h:28
yarp::os::Wire
Base class for IDL client/server.
Definition: Wire.h:22
yarp::os::Wire::yarp
yarp::os::WireLink & yarp()
Get YARP state associated with this object.
Definition: Wire.h:34
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
PortReader.h