YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
Contactables.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_CONTACTABLES_H
7
#define YARP_OS_CONTACTABLES_H
8
9
#include <
yarp/os/Contactable.h
>
10
11
namespace
yarp::os
{
12
19
class
YARP_os_API
Contactables
20
{
21
public
:
22
virtual
~Contactables
();
23
28
virtual
void
add
(
Contactable
& contactable) = 0;
29
34
virtual
void
remove
(
Contactable
& contactable) = 0;
35
44
virtual
Contact
query
(
const
std::string& name,
45
const
std::string& category =
""
) = 0;
46
};
47
48
}
// namespace yarp::os
49
50
#endif
// YARP_OS_CONTACTABLES_H
Contactable.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::Contactables::add
virtual void add(Contactable &contactable)=0
add a Contactable to the container.
yarp::os::Contactables::remove
virtual void remove(Contactable &contactable)=0
remove a Contactable from the container.
yarp::os::Contactables::~Contactables
virtual ~Contactables()
yarp::os::Contactables::query
virtual Contact query(const std::string &name, const std::string &category="")=0
query the container to obtain a specified contact.
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+17-20241204.10+gitba79e3067
src
libYARP_os
src
yarp
os
Contactables.h
Generated on Thu Dec 5 2024 02:37:22 for YARP by
1.9.8