Go to the documentation of this file.
52 #ifndef __PCL_MetaModule_h
53 #define __PCL_MetaModule_h
57 #ifndef __PCL_BUILDING_PIXINSIGHT_APPLICATION
60 #include <pcl/Diagnostics.h>
134 virtual const char*
UniqueId()
const;
195 virtual const char*
Version()
const = 0;
225 void GetVersion(
int& major,
int& minor,
int& release,
int& build,
363 year = month = day = 0;
407 return availableBytes;
427 return float( 1 -
double( availableBytes )/totalBytes );
448 PCL_PRECONDITION( sz != 0 )
449 return reinterpret_cast<void*
>( ::operator
new( sz ) );
469 PCL_PRECONDITION( p !=
nullptr )
470 ::
operator delete( p );
684 void PerformAPIDefinitions()
const override;
686 friend class APIInitializer;
691 extern MetaModule* Module;
697 #endif // __PCL_BUILDING_PIXINSIGHT_APPLICATION
721 namespace InstallMode
744 #define PCL_MODULE_UNIQUE_ID( uid ) \
745 ("PIXINSIGHT_MODULE_UNIQUE_ID_" PCL_STRINGIFY( uid ))
808 #define PCL_MODULE_VERSION( MM, mm, rr, bbbb, lan ) \
809 ("PIXINSIGHT_MODULE_VERSION_" \
810 PCL_STRINGIFY( MM ) "." \
811 PCL_STRINGIFY( mm ) "." \
812 PCL_STRINGIFY( rr ) "." \
813 PCL_STRINGIFY( bbbb ) "." \
814 PCL_STRINGIFY( lan ))
881 #define PCL_MODULE_VERSION_S( MM, mm, rr, bbbb, lan, status ) \
882 ("PIXINSIGHT_MODULE_VERSION_" \
883 PCL_STRINGIFY( MM ) "." \
884 PCL_STRINGIFY( mm ) "." \
885 PCL_STRINGIFY( rr ) "." \
886 PCL_STRINGIFY( bbbb ) "." \
887 PCL_STRINGIFY( lan ) "." \
888 PCL_STRINGIFY( status ))
1034 #endif // __PCL_MetaModule_h
Acts like a union to store instances of different data types.
Eight-bit string (ISO/IEC-8859-1 or UTF-8 string)