YARP
Yet Another Robot Platform
PortReport.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* Copyright (C) 2006-2010 RobotCub Consortium
4
* All rights reserved.
5
*
6
* This software may be modified and distributed under the terms of the
7
* BSD-3-Clause license. See the accompanying LICENSE file for details.
8
*/
9
10
#ifndef YARP_OS_PORTREPORT_H
11
#define YARP_OS_PORTREPORT_H
12
13
#include <
yarp/os/api.h
>
14
15
namespace
yarp
{
16
namespace
os {
17
class
PortInfo;
18
}
// namespace os
19
}
// namespace yarp
20
21
namespace
yarp
{
22
namespace
os {
23
30
class
YARP_os_API
PortReport
31
{
32
public
:
36
virtual
~PortReport
();
37
48
virtual
void
report
(
const
PortInfo
& info) = 0;
49
};
50
51
}
// namespace os
52
}
// namespace yarp
53
54
#endif // YARP_OS_PORTREPORT_H
yarp::os::PortReport::~PortReport
virtual ~PortReport()
Destructor.
yarp::os::PortReport::report
virtual void report(const PortInfo &info)=0
Callback for port event/state information.
api.h
YARP_os_API
#define YARP_os_API
Definition:
api.h:19
yarp::os::PortReport
A base class for objects that want information about port status changes.
Definition:
PortReport.h:31
yarp::os::PortInfo
Information about a port connection or event.
Definition:
PortInfo.h:29
yarp
The main, catch-all namespace for YARP.
Definition:
environment.h:18
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
PortReport.h
Generated on Sun Jan 3 2021 02:46:25 for YARP by
1.8.20