Main MRPT website > C++ reference for MRPT 1.4.0
maps/CMetricMapEvents.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 CMetricMapEvents_H
10 #define CMetricMapEvents_H
11 
12 #include <mrpt/utils/mrptEvent.h>
13 #include <mrpt/poses/poses_frwds.h>
14 
15 namespace mrpt
16 {
17 namespace obs { class CObservation; }
18  namespace maps
19  {
20  class CMetricMap;
21 
22  /** Event emitted by a metric up upon call of clear()
23  * \sa CMetricMap
24  * \ingroup mrpt_obs_grp
25  */
27  {
28  protected:
29  virtual void do_nothing() MRPT_OVERRIDE { } //!< Just to allow this class to be polymorphic
30  public:
32 
34  };
35 
36  /** Event emitted by a metric up upon a succesful call to insertObservation()
37  * \sa CMetricMap
38  * \ingroup mrpt_obs_grp
39  */
41  {
42  protected:
43  virtual void do_nothing() MRPT_OVERRIDE { } //!< Just to allow this class to be polymorphic
44  public:
45  inline mrptEventMetricMapInsert(const mrpt::maps::CMetricMap *smap, const mrpt::obs::CObservation *obs,const mrpt::poses::CPose3D *robotPose ) : source_map(smap), inserted_obs(obs), inserted_robotPose(robotPose) { }
46 
50  };
51 
52  } // End of namespace
53 } // End of namespace
54 
55 #endif
mrpt::maps::mrptEventMetricMapInsert::source_map
const mrpt::maps::CMetricMap * source_map
Definition: maps/CMetricMapEvents.h:47
mrpt::utils::mrptEvent
The basic event type for the observer-observable pattern in MRPT.
Definition: mrptEvent.h:34
mrpt::maps::mrptEventMetricMapInsert::inserted_robotPose
const mrpt::poses::CPose3D * inserted_robotPose
Definition: maps/CMetricMapEvents.h:49
mrpt::maps::mrptEventMetricMapInsert::mrptEventMetricMapInsert
mrptEventMetricMapInsert(const mrpt::maps::CMetricMap *smap, const mrpt::obs::CObservation *obs, const mrpt::poses::CPose3D *robotPose)
Definition: maps/CMetricMapEvents.h:45
mrpt::maps::mrptEventMetricMapClear
Event emitted by a metric up upon call of clear()
Definition: maps/CMetricMapEvents.h:26
mrptEvent.h
mrpt
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Definition: CParticleFilter.h:16
mrpt::maps::CMetricMap
Declares a virtual base class for all metric maps storage classes.
Definition: maps/CMetricMap.h:52
mrpt::maps::mrptEventMetricMapInsert::inserted_obs
const mrpt::obs::CObservation * inserted_obs
Definition: maps/CMetricMapEvents.h:48
mrpt::poses::CPose3D
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
Definition: CPose3D.h:72
mrpt::maps::mrptEventMetricMapClear::source_map
const mrpt::maps::CMetricMap * source_map
Definition: maps/CMetricMapEvents.h:33
poses_frwds.h
mrpt::maps::mrptEventMetricMapClear::mrptEventMetricMapClear
mrptEventMetricMapClear(const mrpt::maps::CMetricMap *smap)
Definition: maps/CMetricMapEvents.h:31
mrpt::obs::CObservation
Declares a class that represents any robot's observation.
Definition: obs/CObservation.h:47
mrpt::maps::mrptEventMetricMapInsert
Event emitted by a metric up upon a succesful call to insertObservation()
Definition: maps/CMetricMapEvents.h:40
MRPT_OVERRIDE
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Definition: mrpt_macros.h:28



Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Sat Jan 18 22:37:07 UTC 2020