class mrpt::maps::CRBPFParticleData

Overview

Auxiliary class used in mrpt::maps::CMultiMetricMapPDF.

#include <mrpt/maps/CMultiMetricMapPDF.h>

class CRBPFParticleData: public mrpt::serialization::CSerializable
{
public:
    // typedefs

    typedef std::shared_ptr<mrpt::maps ::CRBPFParticleData> Ptr;
    typedef std::shared_ptr<const mrpt::maps ::CRBPFParticleData> ConstPtr;
    typedef std::unique_ptr<mrpt::maps ::CRBPFParticleData> UniquePtr;
    typedef std::unique_ptr<const mrpt::maps ::CRBPFParticleData> ConstUniquePtr;

    // fields

    static constexpr const char* className = "mrpt::maps" "::" "CRBPFParticleData";
    CMultiMetricMap mapTillNow;
    std::deque<mrpt::math::TPose3D> robotPath;

    // construction

    CRBPFParticleData();
    CRBPFParticleData(const TSetOfMetricMapInitializers& mapsInit);

    // methods

    static constexpr auto getClassName();
    static const mrpt::rtti::TRuntimeClassId& GetRuntimeClassIdStatic();
    static std::shared_ptr<CObject> CreateObject();

    template <typename... Args>
    static Ptr Create(Args&&... args);

    template <typename Alloc, typename... Args>
    static Ptr CreateAlloc(
        const Alloc& alloc,
        Args&&... args
        );

    template <typename... Args>
    static UniquePtr CreateUnique(Args&&... args);

    virtual const mrpt::rtti::TRuntimeClassId* GetRuntimeClass() const;
    virtual mrpt::rtti::CObject* clone() const;
};

Inherited Members

public:
    // typedefs

    typedef std::shared_ptr<CObject> Ptr;
    typedef std::shared_ptr<const CObject> ConstPtr;
    typedef std::shared_ptr<CSerializable> Ptr;
    typedef std::shared_ptr<const CSerializable> ConstPtr;

    // methods

    static const mrpt::rtti::TRuntimeClassId& GetRuntimeClassIdStatic();
    virtual const mrpt::rtti::TRuntimeClassId* GetRuntimeClass() const;
    virtual const mrpt::rtti::TRuntimeClassId* GetRuntimeClass() const;
    static const mrpt::rtti::TRuntimeClassId& GetRuntimeClassIdStatic();

Typedefs

typedef std::shared_ptr<mrpt::maps ::CRBPFParticleData> Ptr

A type for the associated smart pointer.

Methods

virtual const mrpt::rtti::TRuntimeClassId* GetRuntimeClass() const

Returns information about the class of an object in runtime.

virtual mrpt::rtti::CObject* clone() const

Returns a deep copy (clone) of the object, indepently of its class.