Go to the documentation of this file.
9 #ifndef CActionCollection_H
10 #define CActionCollection_H
134 CActionPtr get(
size_t index);
143 template <
typename T>
147 size_t foundCount = 0;
150 if ( (*it)->GetRuntimeClass()->derivedFrom( class_ID ) )
151 if (foundCount++ == ith)
152 return typename T::SmartPtr(*it);
153 return typename T::SmartPtr();
169 CActionRobotMovement2DPtr getBestMovementEstimation()
const;
189 void eraseByIndex(
const size_t & index);
EIGEN_STRONG_INLINE iterator begin()
Declares a class that represents a Probability Density function (PDF) of a 3D pose .
std::deque< CActionPtr >::iterator iterator
You can use CActionCollection::begin to get a iterator to the first element.
size_t size(const MATRIXLIKE &m, int dim)
iterator begin()
Returns a iterator to the first action: this is an example of usage:
EIGEN_STRONG_INLINE iterator end()
Declares a class for storing a collection of robot actions.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::deque< CActionPtr >::const_iterator const_iterator
You can use CActionCollection::begin to get a iterator to the first element.
const typedef Scalar * const_iterator
const_iterator begin() const
Returns a iterator to the first action: this is an example of usage:
const_iterator end() const
Returns a iterator pointing to the end of the list: this is an example of usage:
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
The virtual base class which provides a unified interface for all persistent objects in MRPT.
#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...
T::SmartPtr getActionByClass(const size_t &ith=0) const
Access to the i'th action of a given class, or a NULL smart pointer if there is no action of that cla...
iterator end()
Returns a iterator pointing to the end of the list: this is an example of usage:
std::deque< CActionPtr > m_actions
The actions:
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Declares a class for storing a robot action.
A structure that holds runtime class type information.
TEstimationMethod
A list of posible ways for estimating the content of a CActionRobotMovement2D object.
Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Tue Mar 3 09:15:16 UTC 2020 | | |