YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
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
9
#include <
yarp/conf/compiler.h
>
10
11
#include <
yarp/os/Contactables.h
>
12
13
namespace
yarp::os
{
14
22
class
YARP_os_API
Node
:
public
Contactables
23
{
24
public
:
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
77
private
:
78
class
Helper
;
79
Helper
*
const
mPriv;
80
};
81
82
}
// namespace yarp::os
83
84
#endif
// YARP_OS_NODE_H
Contactables.h
yarp::os::Contact
Represents how to reach a part of a YARP network.
Definition
Contact.h:33
yarp::os::Contactable
An abstract port.
Definition
Contactable.h:28
yarp::os::Contactables
The yarp::os::Contactables class.
Definition
Contactables.h:20
yarp::os::Node::Helper
Definition
Node.cpp:180
yarp::os::Node
The Node class.
Definition
Node.h:23
compiler.h
yarp::os
An interface to the operating system, including Port based communication.
Definition
AbstractCarrier.h:13
YARP_os_API
#define YARP_os_API
Definition
api.h:18
YARP
3.10.1+35-20241205.6+git6b4bb23ab
src
libYARP_os
src
yarp
os
Node.h
Generated on Mon Jan 13 2025 02:34:06 for YARP by
1.9.8