YARP
Yet Another Robot Platform
PreciselyTimed.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2019 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_DEV_PRECISELYTIMED_H
11 #define YARP_DEV_PRECISELYTIMED_H
12 
13 #include <yarp/os/Stamp.h>
14 
15 #include <yarp/dev/api.h>
16 
17 namespace yarp{
18  namespace dev{
19  class IPreciselyTimed;
20  }
21 }
22 
24 public:
28  virtual yarp::os::Stamp getLastInputStamp() = 0;
29  virtual ~IPreciselyTimed(){}
30 };
31 
32 #endif // YARP_DEV_PRECISELYTIMED_H
#define YARP_dev_API
Definition: api.h:19
The main, catch-all namespace for YARP.
Definition: numeric.h:47
An abstraction for a time stamp and/or sequence number.
Definition: Stamp.h:24