9 #ifndef CActionCollection_H 10 #define CActionCollection_H 37 std::deque<mrpt::utils::poly_ptr_ptr<CActionPtr> >
m_actions;
116 CActionPtr
get(
size_t index);
126 template <
typename T>
130 size_t foundCount = 0;
133 if ( (*it)->GetRuntimeClass()->derivedFrom( class_ID ) )
134 if (foundCount++ == ith)
135 return typename T::Ptr(it->get_ptr());
136 return typename T::Ptr();
152 CActionRobotMovement2DPtr getBestMovementEstimation()
const;
172 void eraseByIndex(
const size_t &
index);
iterator begin()
Returns a iterator to the first action: this is an example of usage:
The virtual base class which provides a unified interface for all persistent objects in MRPT...
const_iterator end() const
Returns a iterator pointing to the end of the list: this is an example of usage:
EIGEN_STRONG_INLINE iterator begin()
std::deque< mrpt::utils::poly_ptr_ptr< CActionPtr > >::const_iterator const_iterator
You can use CActionCollection::begin to get a iterator to the first element.
void clear()
Clear the contents of this container.
Declares a class for storing a collection of robot actions.
std::deque< mrpt::utils::poly_ptr_ptr< CActionPtr > >::iterator iterator
You can use CActionCollection::begin to get a iterator to the first element.
#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...
TEstimationMethod
A list of posible ways for estimating the content of a CActionRobotMovement2D object.
Declares a class for storing a robot action.
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).
iterator end()
Returns a iterator pointing to the end of the list: this is an example of usage:
Declares a class that represents a Probability Density function (PDF) of a 3D pose ...
std::deque< mrpt::utils::poly_ptr_ptr< CActionPtr > > m_actions
The robot "actionss".
T::Ptr 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...
A structure that holds runtime class type information.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
GLubyte GLubyte GLubyte a
const_iterator begin() const
Returns a iterator to the first action: this is an example of usage: