MeVisLab Toolbox Reference
mlPCLSupportTestTools.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code author="Wolf Spindler"
3//------------------------------------------------------------------------------
5
10//------------------------------------------------------------------------------
11
12#include <MLPCLSupportSystem.h>
13#include <mlTypeDefs.h>
14#include <mlAPI.h>
15#include <mlPCLBaseObject.h>
16
18namespace MLPCLTestTools {
19
21 MLPCLSUPPORT_EXPORT extern MLLibraryHandle loadPCLLibrary(const char * const modName) ML_RETURN_VALUE_SHOULD_BE_USED;
22
26 const char * const modName) ML_RETURN_VALUE_SHOULD_BE_USED;
27
30 MLPCLSUPPORT_EXPORT extern MLErrorCode setUpPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED;
31
34 MLPCLSUPPORT_EXPORT extern MLErrorCode tearDownPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED;
35
38 typedef void (*OverrideTestDefaultsFunc)(mlModule *modulePtr, const char *className);
39
55 MLPCLSUPPORT_EXPORT extern MLErrorCode runClassInstancesTest(const char * const * pclClassNames,
56 size_t numPCLClassNames,
57 OverrideTestDefaultsFunc overrideTestDefaults=nullptr,
58 bool pclSupportItselfIsTested=false,
59 size_t numIndirectlyLoadedPCLClasses=0) ML_RETURN_VALUE_SHOULD_BE_USED;
60
67
74
75}
76
Project global and OS specific declarations.
#define MLPCLSUPPORT_EXPORT
If included by external modules, exported symbols are declared as import symbols.
MLint32 MLErrorCode
Type of an ML Error code.
Definition mlTypeDefs.h:715
#define mlModule
A macro name for a void pointer to an ml::Module in the ML to make the pointer more readable.
Definition mlAPI.h:60
HMODULE MLLibraryHandle
Definition mlAPI.h:71
UINT64 MLuint64
Introduce platform-independent 64-bit unsigned integer type.
Definition mlTypeDefs.h:424
Namespace containing useful tools for Google tests written for PCL related classes in MeVisLab.
MLPCLSUPPORT_EXPORT MLLibraryHandle loadPCLLibrary(const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED
Loads a MeVisLab library with name modName and returns a non-nullptr handle to the library on success...
MLPCLSUPPORT_EXPORT MLErrorCode setUpPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED
MLPCLSUPPORT_EXPORT MLErrorCode tearDownPCLTestTools() ML_RETURN_VALUE_SHOULD_BE_USED
void(* OverrideTestDefaultsFunc)(mlModule *modulePtr, const char *className)
MLPCLSUPPORT_EXPORT MLuint64 _MaxUnsigned32BitIndex
MLPCLSUPPORT_EXPORT MLErrorCode unloadPCLLibrary(MLLibraryHandle modLibHandle, const char *const modName) ML_RETURN_VALUE_SHOULD_BE_USED
MLPCLSUPPORT_EXPORT MLuint64 _MaxSigned32BitIndex
MLPCLSUPPORT_EXPORT MLErrorCode runClassInstancesTest(const char *const *pclClassNames, size_t numPCLClassNames, OverrideTestDefaultsFunc overrideTestDefaults=nullptr, bool pclSupportItselfIsTested=false, size_t numIndirectlyLoadedPCLClasses=0) ML_RETURN_VALUE_SHOULD_BE_USED