MRPT  1.9.9
CObservationComment.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-2018, 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 CObservationComment_H
10 #define CObservationComment_H
11 
13 #include <mrpt/obs/CObservation.h>
14 
15 namespace mrpt::obs
16 {
17 /** This "observation" is actually a placeholder for a text block with comments
18  * or additional parameters attached to a given rawlog file.
19  * There should be only one of this observations in a rawlog file, and it's
20  * recommended to insert/modify them from the application RawlogViewer.
21  *
22  * \sa CObservation
23  * \ingroup mrpt_obs_grp
24  */
26 {
28 
29  public:
30  /** Constructor.
31  */
33  /** Destructor
34  */
35  virtual ~CObservationComment() {}
36  /** The text block. */
38 
39  // See base class docs
40  void getSensorPose(mrpt::poses::CPose3D&) const override {}
41  void setSensorPose(const mrpt::poses::CPose3D&) override {}
42  void getDescriptionAsText(std::ostream& o) const override;
43 
44 }; // End of class def.
45 
46 }
47 #endif
48 
49 
virtual ~CObservationComment()
Destructor.
This "observation" is actually a placeholder for a text block with comments or additional parameters ...
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
void getSensorPose(mrpt::poses::CPose3D &) const override
A general method to retrieve the sensor pose on the robot.
void setSensorPose(const mrpt::poses::CPose3D &) override
A general method to change the sensor pose on the robot.
This namespace contains representation of robot actions and observations.
GLsizei const GLchar ** string
Definition: glext.h:4101
std::string text
The text block.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:86
Declares a class that represents any robot&#39;s observation.
Definition: CObservation.h:43



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020