Main MRPT website > C++ reference for MRPT 1.5.6
obs/CAction.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef CAction_H
10 #define CAction_H
11 
13 #include <mrpt/system/datetime.h>
14 
15 #include <mrpt/obs/link_pragmas.h>
16 
17 
18 namespace mrpt
19 {
20 /** \ingroup mrpt_obs_grp */
21 namespace obs
22 {
23  // This must be added to any CSerializable derived class:
25 
26  /** Declares a class for storing a robot action. It is used in mrpt::obs::CRawlog,
27  * for logs storage and particle filter based simulations.
28  * See derived classes for implementations.
29  *
30  * \sa CActionCollection, CRawlog
31  * \ingroup mrpt_obs_grp
32  */
33  class OBS_IMPEXP CAction : public mrpt::utils::CSerializable
34  {
35  // This must be added to any CSerializable derived class:
37 
38  /** Default constructor
39  */
40  CAction();
41 
42  /** Constructor
43  */
44  virtual ~CAction();
45 
46  /** The associated time-stamp.
47  * This was added at 2-Dec-2007, new serialization versions have been added to derived classes to manage this time-stamp.
48  * Prior versions will be read as having a INVALID_TIMESTAMP value.
49  */
50  mrpt::system::TTimeStamp timestamp;
51 
52  }; // End of class def.
53  DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE( CAction, mrpt::utils::CSerializable, OBS_IMPEXP )
54 
55 
56  } // End of namespace
57 } // End of namespace
58 
59 #endif
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
Definition: datetime.h:30
The virtual base class which provides a unified interface for all persistent objects in MRPT...
Definition: CSerializable.h:39
#define DEFINE_VIRTUAL_SERIALIZABLE(class_name)
This declaration must be inserted in virtual CSerializable classes definition:
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Declares a class for storing a robot action.
Definition: obs/CAction.h:33
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018