LegoGameState destructor and related (#259)

* LegoGameState destructor and related

* MxTypes, naming convention, and using a fraction

* use m_ prefix in struct
This commit is contained in:
MS
2023-11-01 11:12:03 -04:00
committed by GitHub
parent 9ac9fe2761
commit 176bd1d8fd
4 changed files with 151 additions and 12 deletions

View File

@@ -1,10 +1,24 @@
#ifndef LEGOROI_H
#define LEGOROI_H
#include "mxtypes.h"
typedef MxBool (*ROIHandler)(char*, char*, MxU32);
class LegoROI {
public:
__declspec(dllexport) void SetDisplayBB(int p_displayBB);
__declspec(dllexport) static void configureLegoROI(int p_roi);
__declspec(dllexport) void SetDisplayBB(MxS32 p_displayBB);
__declspec(dllexport) static void configureLegoROI(MxS32 p_roi);
static void SetSomeHandlerFunction(ROIHandler p_func);
static MxBool CallTheHandlerFunction(
char* p_param,
MxFloat& p_red,
MxFloat& p_green,
MxFloat& p_blue,
MxFloat& p_other
);
static MxBool ColorAliasLookup(char* p_param, MxFloat& p_red, MxFloat& p_green, MxFloat& p_blue, MxFloat& p_other);
};
#endif // LEGOROI_H