YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
PortReport.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef YARP_OS_PORTREPORT_H
8#define YARP_OS_PORTREPORT_H
9
10#include <yarp/os/api.h>
11
12namespace yarp::os {
13class PortInfo;
14} // namespace yarp::os
15
16namespace yarp::os {
17
25{
26public:
30 virtual ~PortReport();
31
42 virtual void report(const PortInfo& info) = 0;
43};
44
45} // namespace yarp::os
46
47#endif // YARP_OS_PORTREPORT_H
Information about a port connection or event.
Definition PortInfo.h:25
A base class for objects that want information about port status changes.
Definition PortReport.h:25
virtual ~PortReport()
Destructor.
virtual void report(const PortInfo &info)=0
Callback for port event/state information.
An interface to the operating system, including Port based communication.
#define YARP_os_API
Definition api.h:18