Main MRPT website > C++ reference for MRPT 1.4.0
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-2016, 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
14
16
17
18namespace mrpt
19{
20/** \ingroup mrpt_obs_grp */
21namespace 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 */
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.
54
55
56 } // End of namespace
57} // End of namespace
58
59#endif
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#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:34
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.



Page generated by Doxygen 1.9.8 for MRPT 1.4.0 SVN: at Thu Dec 14 17:13:25 UTC 2023