Main MRPT website > C++ reference for MRPT 1.5.9
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  */
51 
52  }; // End of class def.
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
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
mrpt::system::TTimeStamp timestamp
The associated time-stamp.
Definition: obs/CAction.h:50



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020