YARP
Yet Another Robot Platform
TypedReaderCallback-inl.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_TYPEDREADERCALLBACK_INL_H
8#define YARP_OS_TYPEDREADERCALLBACK_INL_H
9
10
11#ifndef DOXYGEN_SHOULD_SKIP_THIS
13#endif /*DOXYGEN_SHOULD_SKIP_THIS*/
14
15template <typename T>
17{
18}
19
20template <typename T>
22{
23 YARP_UNUSED(datum);
25}
26
27template <typename T>
29{
30 YARP_UNUSED(reader);
31 onRead(datum);
33
34#ifdef _MSC_VER
36#endif
37
38#endif // YARP_OS_TYPEDREADERCALLBACK_INL_H
void typedReaderMissingCallback()
virtual ~TypedReaderCallback()
Destructor.
virtual void onRead(T &datum)
Callback method.
A base class for sources of typed data.
Definition: TypedReader.h:22
#define YARP_UNUSED(var)
Definition: api.h:162
#define YARP_os_API
Definition: api.h:18