#include <mrpt/utils/CConfigFileBase.h>#include <mrpt/slam/CObservation.h>#include <mrpt/synch.h>#include <mrpt/system/os.h>#include <mrpt/hwdrivers/link_pragmas.h>Go to the source code of this file.
Classes | |
| struct | mrpt::hwdrivers::TSensorClassId |
| A structure for runtime ID class type information in the context of hwdrivers::CGenericSensor. More... | |
| class | mrpt::hwdrivers::CGenericSensor |
| A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabber. More... | |
| struct | mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR |
| Auxiliary structure used for CSerializable runtime class ID support. More... | |
Namespaces | |
| namespace | mrpt |
| This is the global namespace for all Mobile Robot Porgramming Toolkit (MRPT) libraries. | |
| namespace | mrpt::hwdrivers |
| Contains classes for various device interfaces. | |
Defines | |
| #define | SENSOR_CLASS_ID(class_name) static_cast<const mrpt::hwdrivers::TSensorClassId*>(& mrpt::hwdrivers::class_name::class##class_name) |
| #define | SENSOR_IS_CLASS(ptrObj, class_name) (ptrObj->GetRuntimeClass()==SENSOR_CLASS_ID(class_name)) |
| #define | DEFINE_GENERIC_SENSOR(class_name) |
| This declaration must be inserted in all CGenericSensor classes definition, within the class declaration. | |
| #define | IMPLEMENTS_GENERIC_SENSOR(class_name, NameSpace) |
| This must be inserted in all CGenericSensor classes implementation files:. | |
Typedefs | |
| typedef stlplus::smart_ptr < CGenericSensor > | mrpt::hwdrivers::CGenericSensorPtr |
Variables | |
| class HWDLLIMPEXP | mrpt::hwdrivers::CGenericSensor |
| #define DEFINE_GENERIC_SENSOR | ( | class_name | ) |
Value:
protected: \ static mrpt::hwdrivers::CGenericSensor::CLASSINIT_GENERIC_SENSOR _init_##class_name;\ public: \ static mrpt::hwdrivers::TSensorClassId class##class_name; \ virtual const mrpt::hwdrivers::TSensorClassId* GetRuntimeClass() const; \ static mrpt::hwdrivers::CGenericSensor* CreateObject(); \ static void doRegister() \ { CGenericSensor::registerClass( SENSOR_CLASS_ID( class_name ) ); }
Definition at line 164 of file CGenericSensor.h.
| #define IMPLEMENTS_GENERIC_SENSOR | ( | class_name, | |||
| NameSpace | ) |
Value:
mrpt::hwdrivers::CGenericSensor* NameSpace::class_name::CreateObject() \ { return static_cast<hwdrivers::CGenericSensor*>( new NameSpace::class_name ); } \ mrpt::hwdrivers::TSensorClassId NameSpace::class_name::class##class_name = { \ #class_name, NameSpace::class_name::CreateObject }; \ const mrpt::hwdrivers::TSensorClassId* NameSpace::class_name::GetRuntimeClass() const \ { return SENSOR_CLASS_ID(class_name); }
Definition at line 176 of file CGenericSensor.h.
| #define SENSOR_CLASS_ID | ( | class_name | ) | static_cast<const mrpt::hwdrivers::TSensorClassId*>(& mrpt::hwdrivers::class_name::class##class_name) |
Definition at line 156 of file CGenericSensor.h.
| #define SENSOR_IS_CLASS | ( | ptrObj, | |||
| class_name | ) | (ptrObj->GetRuntimeClass()==SENSOR_CLASS_ID(class_name)) |
Definition at line 159 of file CGenericSensor.h.
| Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009 |