Main MRPT website > C++ reference for 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-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 CObservationComment_H
10 #define CObservationComment_H
11 
13 #include <mrpt/obs/CObservation.h>
14 
15 namespace mrpt
16 {
17 namespace obs
18 {
19 /** This "observation" is actually a placeholder for a text block with comments
20  * or additional parameters attached to a given rawlog file.
21  * There should be only one of this observations in a rawlog file, and it's
22  * recommended to insert/modify them from the application RawlogViewer.
23  *
24  * \sa CObservation
25  * \ingroup mrpt_obs_grp
26  */
28 {
30 
31  public:
32  /** Constructor.
33  */
35  /** Destructor
36  */
37  virtual ~CObservationComment() {}
38  /** The text block. */
40 
41  // See base class docs
42  void getSensorPose(mrpt::poses::CPose3D&) const override {}
43  void setSensorPose(const mrpt::poses::CPose3D&) override {}
44  void getDescriptionAsText(std::ostream& o) const override;
45 
46 }; // End of class def.
47 
48 } // End of namespace
49 } // End of namespace
50 
51 #endif
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.
GLsizei const GLchar ** string
Definition: glext.h:4101
std::string text
The text block.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#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:88
Declares a class that represents any robot&#39;s observation.
Definition: CObservation.h:41



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019