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-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
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
mrpt::obs::CObservationComment::getSensorPose
void getSensorPose(mrpt::poses::CPose3D &) const override
A general method to retrieve the sensor pose on the robot.
Definition: CObservationComment.h:42
mrpt::obs::CObservationComment::text
std::string text
The text block.
Definition: CObservationComment.h:39
mrpt::obs::CObservationComment::CObservationComment
CObservationComment()
Constructor.
Definition: CObservationComment.h:34
mrpt::obs::CObservationComment
This "observation" is actually a placeholder for a text block with comments or additional parameters ...
Definition: CObservationComment.h:27
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CKalmanFilterCapable.h:30
mrpt::obs::CObservationComment::setSensorPose
void setSensorPose(const mrpt::poses::CPose3D &) override
A general method to change the sensor pose on the robot.
Definition: CObservationComment.h:43
mrpt::poses::CPose3D
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:88
mrpt::obs::CObservationComment::~CObservationComment
virtual ~CObservationComment()
Destructor.
Definition: CObservationComment.h:37
CObservation.h
DEFINE_SERIALIZABLE
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Definition: CSerializable.h:102
mrpt::obs::CObservation
Declares a class that represents any robot's observation.
Definition: CObservation.h:43
string
GLsizei const GLchar ** string
Definition: glext.h:4101
CSerializable.h
mrpt::obs::CObservationComment::getDescriptionAsText
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
Definition: CObservationComment.cpp:41



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST