struct mrpt::hwdrivers::TSensorClassId

A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor.

#include <mrpt/hwdrivers/CGenericSensor.h>

struct TSensorClassId
{
    //
fields

    const char* className;
    CGenericSensor*(* ptrCreateObject)();
};

Fields

const char* className

Class name.

CGenericSensor*(* ptrCreateObject)()

Pointer to class constructor.