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
9
#include <
yarp/conf/compiler.h
>
10
11
#include <
yarp/os/Contactables.h
>
12
13
namespace
yarp
{
14
namespace
os {
15
23
class
YARP_os_API
Node
:
public
Contactables
24
{
25
public
:
26
Node
();
27
Node
(
const
std::string& name);
28
virtual
~
Node
();
29
35
void
add(
Contactable
& contactable)
override
;
36
42
void
remove(
Contactable
& contactable)
override
;
43
52
virtual
Contact
query(
const
std::string& name,
53
const
std::string& category =
""
)
override
;
54
59
void
update(
Contactable
& contactable);
60
65
void
prepare(
const
std::string& name);
66
70
void
interrupt();
71
76
Contact
where();
77
78
private
:
79
class
Helper
;
80
Helper
*
const
mPriv;
81
};
82
83
}
// namespace os
84
}
// namespace yarp
85
86
#endif
// YARP_OS_NODE_H
Contactables.h
yarp::os::Contact
Represents how to reach a part of a YARP network.
Definition:
Contact.h:36
yarp::os::Contactable
An abstract port.
Definition:
Contactable.h:35
yarp::os::Contactables
The yarp::os::Contactables class.
Definition:
Contactables.h:21
yarp::os::Node::Helper
Definition:
Node.cpp:180
yarp::os::Node
The Node class.
Definition:
Node.h:24
compiler.h
yarp
The main, catch-all namespace for YARP.
Definition:
dirs.h:16
YARP_os_API
#define YARP_os_API
Definition:
api.h:18
YARP
3.5.1
src
libYARP_os
src
yarp
os
Node.h
Generated on Sat Dec 25 2021 02:23:04 for YARP by
1.9.1