YARP
Yet Another Robot Platform
Node.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_NODE_H
7#define YARP_OS_NODE_H
8
10
12
13namespace yarp::os {
14
23{
24public:
25 Node();
26 Node(const std::string& name);
27 virtual ~Node();
28
34 void add(Contactable& contactable) override;
35
41 void remove(Contactable& contactable) override;
42
51 virtual Contact query(const std::string& name,
52 const std::string& category = "") override;
53
58 void update(Contactable& contactable);
59
64 void prepare(const std::string& name);
65
69 void interrupt();
70
75 Contact where();
76
77private:
78 class Helper;
79 Helper* const mPriv;
80};
81
82} // namespace yarp::os
83
84#endif // YARP_OS_NODE_H
Represents how to reach a part of a YARP network.
Definition: Contact.h:33
An abstract port.
Definition: Contactable.h:28
The yarp::os::Contactables class.
Definition: Contactables.h:20
The Node class.
Definition: Node.h:23
An interface to the operating system, including Port based communication.
#define YARP_os_API
Definition: api.h:18