YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
Wire.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_WIRE_H
7#define YARP_OS_WIRE_H
8
10#include <yarp/os/WireLink.h>
11
12namespace yarp::os {
13
17class Wire : public PortReader
18{
19private:
20 yarp::os::WireLink _yarp_link;
21
22public:
29 {
30 return _yarp_link;
31 }
32
38 const yarp::os::WireLink& yarp() const
39 {
40 return _yarp_link;
41 }
42};
43
44} // namespace yarp::os
45
46#endif // YARP_OS_WIRE_H
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Definition PortReader.h:24
Base class for IDL client/server.
Definition Wire.h:18
yarp::os::WireLink & yarp()
Get YARP state associated with this object.
Definition Wire.h:28
const yarp::os::WireLink & yarp() const
Get YARP state associated with this object (const version).
Definition Wire.h:38
An interface to the operating system, including Port based communication.