struct mrpt::hwdrivers::TSensorClassId

Overview

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 = nullptr;
    CGenericSensor*(* ptrCreateObject)() = nullptr;
};

Fields

const char* className = nullptr

Class name.

CGenericSensor*(* ptrCreateObject)() = nullptr

Pointer to class constructor.