////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All rights reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// THIS IS AUTO-GENERATED CODE.  PLEASE DO NOT EDIT (File bug reports against tools).
///
/// Auto-generated by: Parameter Parser V7.4.1 (8cca6579792b9fcef3bc725ff070c5ec453c7c85)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file  modtemporalawbv1.cpp
/// @brief Auto-generated Chromatix parameter file
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "modtemporalawbv1.h"
#include "parametersetmanager.h"

MODTEMPORALAWBV1_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool HistoryResolutionType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "hor") == 0)
    {
        if (__index < horCount)
        {
            ParameterUtils::DoubleToString((double)hor[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < horCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)hor[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "vert") == 0)
    {
        if (__index < vertCount)
        {
            ParameterUtils::DoubleToString((double)vert[__index], __value, __size, 0);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < vertCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)vert[i], &__value[__valuePos], (INT32)(__size - __valuePos), 0);
            }
            __result = true;
        }
    }

    return __result;
}

bool HistoryResolutionType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "hor") == 0)
    {
        if (__index < horCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                hor[__index] = (INT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < horCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    hor[__index] = (INT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "vert") == 0)
    {
        if (__index < vertCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                vert[__index] = (INT32)dblValue; 
            }
        }
        else
        {
            const SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __valuePos = 0;

            __index = 0;
            while (__valuePos < __valueLen && __index < vertCount)
            {
                CHAR __valueStr[MAX_SIZE];

                __valuePos += ParameterUtils::GetSubString(&__value[__valuePos], ',', __valueStr, MAX_SIZE);
                __valuePos++;

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    vert[__index] = (INT32)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }

    return __result;
}

bool HistoryResolutionType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // hor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("hor", ParameterParserDataType::Int32, true, false, horCount));
    }

    // vert
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("vert", ParameterParserDataType::Int32, true, false, vertCount));
    }

    return __result;
}

bool HistoryConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "histResolution") == 0)
    {
        __result = histResolution.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeRGBGTh") == 0)
    {
        ParameterUtils::DoubleToString((double)sceneChangeRGBGTh, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeLuxTh") == 0)
    {
        ParameterUtils::DoubleToString((double)sceneChangeLuxTh, __value, __size);
        __result = true;
    }

    return __result;
}

bool HistoryConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "histResolution") == 0)
    {
        __result = histResolution.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeRGBGTh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sceneChangeRGBGTh = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeLuxTh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sceneChangeLuxTh = (float)dblValue; 
        }
    }

    return __result;
}

bool HistoryConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // histResolution
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("histResolution", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "histResolution") == 0)
    {
        __result = histResolution.GetInfo(&__path[__pos], __info);
    }

    // sceneChangeRGBGTh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneChangeRGBGTh", ParameterParserDataType::Float, (double)sceneChangeRGBGTh));
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeRGBGTh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)sceneChangeRGBGTh));
    }

    // sceneChangeLuxTh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneChangeLuxTh", ParameterParserDataType::Float, (double)sceneChangeLuxTh));
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeLuxTh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)sceneChangeLuxTh));
    }

    return __result;
}

bool WeightLUTGrayRatioTriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool WeightLUTGrayRatioTriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool WeightLUTGrayRatioTriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool WeightLUTFOVChangeTriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool WeightLUTFOVChangeTriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool WeightLUTFOVChangeTriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure, true, false, triggerDataCount));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, triggerDataCount));
        }
    }

    return __result;
}

bool WeightLUTLuxTriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool WeightLUTLuxTriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool WeightLUTLuxTriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure, true, false, triggerDataCount));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, triggerDataCount));
        }
    }

    return __result;
}

bool WeightLUTTriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool WeightLUTTriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool WeightLUTTriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure, true, false, triggerDataCount));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, triggerDataCount));
        }
    }

    return __result;
}

bool DecisionsAggBasedType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "weight") == 0)
    {
        __result = weight.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "historyConfig") == 0)
    {
        __result = historyConfig.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool DecisionsAggBasedType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "weight") == 0)
    {
        __result = weight.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "historyConfig") == 0)
    {
        __result = historyConfig.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool DecisionsAggBasedType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // weight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("weight", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "weight") == 0)
    {
        __result = weight.GetInfo(&__path[__pos], __info);
    }

    // historyConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("historyConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "historyConfig") == 0)
    {
        __result = historyConfig.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool DecisionGeneralParamsType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "histUpdateTolerance") == 0)
    {
        ParameterUtils::DoubleToString((double)histUpdateTolerance, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool DecisionGeneralParamsType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "histUpdateTolerance") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            histUpdateTolerance = (INT32)dblValue; 
        }
    }

    return __result;
}

bool DecisionGeneralParamsType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // histUpdateTolerance
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("histUpdateTolerance", ParameterParserDataType::Int32, (double)histUpdateTolerance, 0));
    }
    else if (PARAMETER_STRCMP(__name, "histUpdateTolerance") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)histUpdateTolerance, 0));
    }

    return __result;
}

bool TemporalDecisionConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "aggregation") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)aggregation, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "decisionsAggBased") == 0)
    {
        __result = decisionsAggBased.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool TemporalDecisionConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "aggregation") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            aggregation = (DecisionAggrType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "decisionsAggBased") == 0)
    {
        __result = decisionsAggBased.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool TemporalDecisionConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // generalParams
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("generalParams", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.GetInfo(&__path[__pos], __info);
    }

    // aggregation
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("aggregation", ParameterParserDataType::Enum, (double)(UINT32)aggregation, 0));
    }
    else if (PARAMETER_STRCMP(__name, "aggregation") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)aggregation, 0));
    }

    // decisionsAggBased
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("decisionsAggBased", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "decisionsAggBased") == 0)
    {
        __result = decisionsAggBased.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SCGeneralParamsType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "initFrameSkipCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)initFrameSkipCnt, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "globalSCFrameSkipCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)globalSCFrameSkipCnt, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool SCGeneralParamsType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "initFrameSkipCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            initFrameSkipCnt = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "globalSCFrameSkipCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            globalSCFrameSkipCnt = (INT32)dblValue; 
        }
    }

    return __result;
}

bool SCGeneralParamsType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // initFrameSkipCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("initFrameSkipCnt", ParameterParserDataType::Int32, (double)initFrameSkipCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "initFrameSkipCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)initFrameSkipCnt, 0));
    }

    // globalSCFrameSkipCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("globalSCFrameSkipCnt", ParameterParserDataType::Int32, (double)globalSCFrameSkipCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "globalSCFrameSkipCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)globalSCFrameSkipCnt, 0));
    }

    return __result;
}

bool GlobalSceneChangeParamsType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "AFDistSCEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)AFDistSCEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "contSCEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)contSCEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "contSCmaxTimeTh") == 0)
    {
        ParameterUtils::DoubleToString((double)contSCmaxTimeTh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "samePosSCEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)samePosSCEnable, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool GlobalSceneChangeParamsType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "AFDistSCEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            AFDistSCEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "contSCEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            contSCEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "contSCmaxTimeTh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            contSCmaxTimeTh = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "samePosSCEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            samePosSCEnable = (BOOL)dblValue; 
        }
    }

    return __result;
}

bool GlobalSceneChangeParamsType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // AFDistSCEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("AFDistSCEnable", ParameterParserDataType::Boolean, (double)AFDistSCEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "AFDistSCEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)AFDistSCEnable, 0));
    }

    // contSCEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("contSCEnable", ParameterParserDataType::Boolean, (double)contSCEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "contSCEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)contSCEnable, 0));
    }

    // contSCmaxTimeTh
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("contSCmaxTimeTh", ParameterParserDataType::Int32, (double)contSCmaxTimeTh, 0));
    }
    else if (PARAMETER_STRCMP(__name, "contSCmaxTimeTh") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)contSCmaxTimeTh, 0));
    }

    // samePosSCEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("samePosSCEnable", ParameterParserDataType::Boolean, (double)samePosSCEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "samePosSCEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)samePosSCEnable, 0));
    }

    return __result;
}

bool GlobalSceneChangeType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "accSCDetector") == 0)
    {
        __result = accSCDetector.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeParams") == 0)
    {
        __result = sceneChangeParams.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool GlobalSceneChangeType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "accSCDetector") == 0)
    {
        __result = accSCDetector.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeParams") == 0)
    {
        __result = sceneChangeParams.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool GlobalSceneChangeType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // luxSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luxSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.GetInfo(&__path[__pos], __info);
    }

    // accSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("accSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "accSCDetector") == 0)
    {
        __result = accSCDetector.GetInfo(&__path[__pos], __info);
    }

    // sceneChangeParams
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneChangeParams", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeParams") == 0)
    {
        __result = sceneChangeParams.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool LocalSceneChangeType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "orientSCDetector") == 0)
    {
        __result = orientSCDetector.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool LocalSceneChangeType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "orientSCDetector") == 0)
    {
        __result = orientSCDetector.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool LocalSceneChangeType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // luxSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("luxSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "luxSCDetector") == 0)
    {
        __result = luxSCDetector.GetInfo(&__path[__pos], __info);
    }

    // orientSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("orientSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "orientSCDetector") == 0)
    {
        __result = orientSCDetector.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SceneChangeConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "localSCDetector") == 0)
    {
        __result = localSCDetector.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "globalSCDetector") == 0)
    {
        __result = globalSCDetector.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool SceneChangeConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "localSCDetector") == 0)
    {
        __result = localSCDetector.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "globalSCDetector") == 0)
    {
        __result = globalSCDetector.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool SceneChangeConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // localSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("localSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "localSCDetector") == 0)
    {
        __result = localSCDetector.GetInfo(&__path[__pos], __info);
    }

    // globalSCDetector
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("globalSCDetector", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "globalSCDetector") == 0)
    {
        __result = globalSCDetector.GetInfo(&__path[__pos], __info);
    }

    // generalParams
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("generalParams", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "generalParams") == 0)
    {
        __result = generalParams.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool ImageConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "inputType") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)inputType, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "scale_x") == 0)
    {
        ParameterUtils::DoubleToString((double)scale_x, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "scale_y") == 0)
    {
        ParameterUtils::DoubleToString((double)scale_y, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "confThresholdCVP") == 0)
    {
        ParameterUtils::DoubleToString((double)confThresholdCVP, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "validateUsingIMU") == 0)
    {
        ParameterUtils::DoubleToString((double)validateUsingIMU, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "weightImage") == 0)
    {
        __result = weightImage.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ImageConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "inputType") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            inputType = (ImageOrienInputType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "scale_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            scale_x = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "scale_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            scale_y = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "confThresholdCVP") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            confThresholdCVP = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "validateUsingIMU") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            validateUsingIMU = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "weightImage") == 0)
    {
        __result = weightImage.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ImageConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // inputType
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("inputType", ParameterParserDataType::Enum, (double)(UINT32)inputType, 0));
    }
    else if (PARAMETER_STRCMP(__name, "inputType") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)inputType, 0));
    }

    // scale_x
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scale_x", ParameterParserDataType::Float, (double)scale_x));
    }
    else if (PARAMETER_STRCMP(__name, "scale_x") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)scale_x));
    }

    // scale_y
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scale_y", ParameterParserDataType::Float, (double)scale_y));
    }
    else if (PARAMETER_STRCMP(__name, "scale_y") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)scale_y));
    }

    // confThresholdCVP
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("confThresholdCVP", ParameterParserDataType::Float, (double)confThresholdCVP));
    }
    else if (PARAMETER_STRCMP(__name, "confThresholdCVP") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)confThresholdCVP));
    }

    // validateUsingIMU
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("validateUsingIMU", ParameterParserDataType::Boolean, (double)validateUsingIMU, 0));
    }
    else if (PARAMETER_STRCMP(__name, "validateUsingIMU") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)validateUsingIMU, 0));
    }

    // weightImage
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("weightImage", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "weightImage") == 0)
    {
        __result = weightImage.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SegmentIntegrateConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_x") == 0)
    {
        ParameterUtils::DoubleToString((double)noiseThreshold_x, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_y") == 0)
    {
        ParameterUtils::DoubleToString((double)noiseThreshold_y, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_z") == 0)
    {
        ParameterUtils::DoubleToString((double)noiseThreshold_z, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "sampleCntThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)sampleCntThreshold, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool SegmentIntegrateConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            noiseThreshold_x = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            noiseThreshold_y = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_z") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            noiseThreshold_z = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "sampleCntThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sampleCntThreshold = (INT32)dblValue; 
        }
    }

    return __result;
}

bool SegmentIntegrateConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    // noiseThreshold_x
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("noiseThreshold_x", ParameterParserDataType::Float, (double)noiseThreshold_x));
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_x") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)noiseThreshold_x));
    }

    // noiseThreshold_y
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("noiseThreshold_y", ParameterParserDataType::Float, (double)noiseThreshold_y));
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_y") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)noiseThreshold_y));
    }

    // noiseThreshold_z
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("noiseThreshold_z", ParameterParserDataType::Float, (double)noiseThreshold_z));
    }
    else if (PARAMETER_STRCMP(__name, "noiseThreshold_z") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)noiseThreshold_z));
    }

    // sampleCntThreshold
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sampleCntThreshold", ParameterParserDataType::Int32, (double)sampleCntThreshold, 0));
    }
    else if (PARAMETER_STRCMP(__name, "sampleCntThreshold") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)sampleCntThreshold, 0));
    }

    return __result;
}

bool OffsetScaleConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "offsetScale_x") == 0)
    {
        ParameterUtils::DoubleToString((double)offsetScale_x, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_y") == 0)
    {
        ParameterUtils::DoubleToString((double)offsetScale_y, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_z") == 0)
    {
        ParameterUtils::DoubleToString((double)offsetScale_z, __value, __size);
        __result = true;
    }

    return __result;
}

bool OffsetScaleConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "offsetScale_x") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            offsetScale_x = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_y") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            offsetScale_y = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_z") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            offsetScale_z = (float)dblValue; 
        }
    }

    return __result;
}

bool OffsetScaleConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // offsetScale_x
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("offsetScale_x", ParameterParserDataType::Float, (double)offsetScale_x));
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_x") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)offsetScale_x));
    }

    // offsetScale_y
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("offsetScale_y", ParameterParserDataType::Float, (double)offsetScale_y));
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_y") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)offsetScale_y));
    }

    // offsetScale_z
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("offsetScale_z", ParameterParserDataType::Float, (double)offsetScale_z));
    }
    else if (PARAMETER_STRCMP(__name, "offsetScale_z") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)offsetScale_z));
    }

    return __result;
}

bool AccPositionConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)staticOffsetEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)scaleAdjEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "referenceCnt") == 0)
    {
        ParameterUtils::DoubleToString((double)referenceCnt, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AccPositionConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            staticOffsetEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            scaleAdjEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "referenceCnt") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            referenceCnt = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AccPositionConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    // staticOffsetEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("staticOffsetEnable", ParameterParserDataType::Boolean, (double)staticOffsetEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)staticOffsetEnable, 0));
    }

    // staticOffsetRAW
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("staticOffsetRAW", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.GetInfo(&__path[__pos], __info);
    }

    // scaleAdjEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scaleAdjEnable", ParameterParserDataType::Boolean, (double)scaleAdjEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)scaleAdjEnable, 0));
    }

    // scaleAdjFactor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scaleAdjFactor", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.GetInfo(&__path[__pos], __info);
    }

    // referenceCnt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("referenceCnt", ParameterParserDataType::Int32, (double)referenceCnt, 0));
    }
    else if (PARAMETER_STRCMP(__name, "referenceCnt") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)referenceCnt, 0));
    }

    // segmentIntConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("segmentIntConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool ScaleFactorLevel1TriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ScaleFactorLevel1TriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ScaleFactorLevel1TriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool ScaleFactorTriggerType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ScaleFactorTriggerType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ScaleFactorTriggerType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // triggerPt
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerPt", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "triggerPt") == 0)
    {
        __result = triggerPt.GetInfo(&__path[__pos], __info);
    }

    // triggerData
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("triggerData", ParameterParserDataType::Structure, true, false, triggerDataCount));
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        if (__index < triggerDataCount)
        {
            __result = triggerData[__index].GetInfo(&__path[__pos], __info);
        }
        else
        {
            __result = true;
            __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Structure, true, false, triggerDataCount));
        }
    }

    return __result;
}

bool Gyro2DOrientationConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)staticOffsetEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)scaleAdjEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "accDataFusionEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)accDataFusionEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "accFusionWeight") == 0)
    {
        ParameterUtils::DoubleToString((double)accFusionWeight, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjEnable") == 0)
    {
        ParameterUtils::DoubleToString((double)FOVScaleAdjEnable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjFactor") == 0)
    {
        __result = FOVScaleAdjFactor.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool Gyro2DOrientationConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            staticOffsetEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            scaleAdjEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "accDataFusionEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            accDataFusionEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "accFusionWeight") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            accFusionWeight = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjEnable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            FOVScaleAdjEnable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjFactor") == 0)
    {
        __result = FOVScaleAdjFactor.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool Gyro2DOrientationConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // staticOffsetEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("staticOffsetEnable", ParameterParserDataType::Boolean, (double)staticOffsetEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)staticOffsetEnable, 0));
    }

    // staticOffsetRAW
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("staticOffsetRAW", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "staticOffsetRAW") == 0)
    {
        __result = staticOffsetRAW.GetInfo(&__path[__pos], __info);
    }

    // scaleAdjEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scaleAdjEnable", ParameterParserDataType::Boolean, (double)scaleAdjEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)scaleAdjEnable, 0));
    }

    // scaleAdjFactor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("scaleAdjFactor", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "scaleAdjFactor") == 0)
    {
        __result = scaleAdjFactor.GetInfo(&__path[__pos], __info);
    }

    // accDataFusionEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("accDataFusionEnable", ParameterParserDataType::Boolean, (double)accDataFusionEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "accDataFusionEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)accDataFusionEnable, 0));
    }

    // accFusionWeight
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("accFusionWeight", ParameterParserDataType::Float, (double)accFusionWeight));
    }
    else if (PARAMETER_STRCMP(__name, "accFusionWeight") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Float, (double)accFusionWeight));
    }

    // segmentIntConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("segmentIntConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "segmentIntConfig") == 0)
    {
        __result = segmentIntConfig.GetInfo(&__path[__pos], __info);
    }

    // FOVScaleAdjEnable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("FOVScaleAdjEnable", ParameterParserDataType::Boolean, (double)FOVScaleAdjEnable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjEnable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)FOVScaleAdjEnable, 0));
    }

    // FOVScaleAdjFactor
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("FOVScaleAdjFactor", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "FOVScaleAdjFactor") == 0)
    {
        __result = FOVScaleAdjFactor.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SenorRefreshConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        ParameterUtils::DoubleToString((double)gyro, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        ParameterUtils::DoubleToString((double)accelerometer, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool SenorRefreshConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            gyro = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            accelerometer = (INT32)dblValue; 
        }
    }

    return __result;
}

bool SenorRefreshConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // gyro
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("gyro", ParameterParserDataType::Int32, (double)gyro, 0));
    }
    else if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)gyro, 0));
    }

    // accelerometer
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("accelerometer", ParameterParserDataType::Int32, (double)accelerometer, 0));
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)accelerometer, 0));
    }

    return __result;
}

bool AlignmentConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "real_x_axis") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)real_x_axis, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "real_y_axis") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)real_y_axis, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "real_z_axis") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)real_z_axis, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool AlignmentConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "real_x_axis") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            real_x_axis = (SensorAxisType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "real_y_axis") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            real_y_axis = (SensorAxisType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "real_z_axis") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            real_z_axis = (SensorAxisType)(UINT32)dblValue; 
        }
    }

    return __result;
}

bool AlignmentConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // real_x_axis
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("real_x_axis", ParameterParserDataType::Enum, (double)(UINT32)real_x_axis, 0));
    }
    else if (PARAMETER_STRCMP(__name, "real_x_axis") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)real_x_axis, 0));
    }

    // real_y_axis
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("real_y_axis", ParameterParserDataType::Enum, (double)(UINT32)real_y_axis, 0));
    }
    else if (PARAMETER_STRCMP(__name, "real_y_axis") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)real_y_axis, 0));
    }

    // real_z_axis
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("real_z_axis", ParameterParserDataType::Enum, (double)(UINT32)real_z_axis, 0));
    }
    else if (PARAMETER_STRCMP(__name, "real_z_axis") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)real_z_axis, 0));
    }

    return __result;
}

bool AlignmentModeConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "landscape") == 0)
    {
        __result = landscape.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "portrait") == 0)
    {
        __result = portrait.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "faceUpDown") == 0)
    {
        __result = faceUpDown.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AlignmentModeConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "landscape") == 0)
    {
        __result = landscape.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "portrait") == 0)
    {
        __result = portrait.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "faceUpDown") == 0)
    {
        __result = faceUpDown.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AlignmentModeConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // landscape
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("landscape", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "landscape") == 0)
    {
        __result = landscape.GetInfo(&__path[__pos], __info);
    }

    // portrait
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("portrait", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "portrait") == 0)
    {
        __result = portrait.GetInfo(&__path[__pos], __info);
    }

    // faceUpDown
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("faceUpDown", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "faceUpDown") == 0)
    {
        __result = faceUpDown.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool AccAlignmentConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "orientationAlignment") == 0)
    {
        __result = orientationAlignment.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "modeAlignment") == 0)
    {
        __result = modeAlignment.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AccAlignmentConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "orientationAlignment") == 0)
    {
        __result = orientationAlignment.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "modeAlignment") == 0)
    {
        __result = modeAlignment.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AccAlignmentConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // orientationAlignment
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("orientationAlignment", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "orientationAlignment") == 0)
    {
        __result = orientationAlignment.GetInfo(&__path[__pos], __info);
    }

    // modeAlignment
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("modeAlignment", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "modeAlignment") == 0)
    {
        __result = modeAlignment.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SensorsAlignmentConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        __result = gyro.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        __result = accelerometer.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool SensorsAlignmentConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        __result = gyro.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        __result = accelerometer.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool SensorsAlignmentConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // gyro
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("gyro", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "gyro") == 0)
    {
        __result = gyro.GetInfo(&__path[__pos], __info);
    }

    // accelerometer
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("accelerometer", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "accelerometer") == 0)
    {
        __result = accelerometer.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool IMUConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "aligmentConfig") == 0)
    {
        __result = aligmentConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "refreshRate") == 0)
    {
        __result = refreshRate.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "imu2DOrientation") == 0)
    {
        __result = imu2DOrientation.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "imuDevicePosition") == 0)
    {
        __result = imuDevicePosition.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool IMUConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "aligmentConfig") == 0)
    {
        __result = aligmentConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "refreshRate") == 0)
    {
        __result = refreshRate.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "imu2DOrientation") == 0)
    {
        __result = imu2DOrientation.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "imuDevicePosition") == 0)
    {
        __result = imuDevicePosition.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool IMUConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // aligmentConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("aligmentConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "aligmentConfig") == 0)
    {
        __result = aligmentConfig.GetInfo(&__path[__pos], __info);
    }

    // refreshRate
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("refreshRate", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "refreshRate") == 0)
    {
        __result = refreshRate.GetInfo(&__path[__pos], __info);
    }

    // imu2DOrientation
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("imu2DOrientation", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "imu2DOrientation") == 0)
    {
        __result = imu2DOrientation.GetInfo(&__path[__pos], __info);
    }

    // imuDevicePosition
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("imuDevicePosition", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "imuDevicePosition") == 0)
    {
        __result = imuDevicePosition.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool SceneConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "sceneInfo") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)sceneInfo, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "imuConfig") == 0)
    {
        __result = imuConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "imageConfig") == 0)
    {
        __result = imageConfig.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool SceneConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "sceneInfo") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sceneInfo = (SceneInfoType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "imuConfig") == 0)
    {
        __result = imuConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "imageConfig") == 0)
    {
        __result = imageConfig.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool SceneConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // sceneInfo
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneInfo", ParameterParserDataType::Enum, (double)(UINT32)sceneInfo, 0));
    }
    else if (PARAMETER_STRCMP(__name, "sceneInfo") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Enum, (double)(UINT32)sceneInfo, 0));
    }

    // imuConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("imuConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "imuConfig") == 0)
    {
        __result = imuConfig.GetInfo(&__path[__pos], __info);
    }

    // imageConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("imageConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "imageConfig") == 0)
    {
        __result = imageConfig.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool TemporalAWBConfigType::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "sceneConfig") == 0)
    {
        __result = sceneConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeConfig") == 0)
    {
        __result = sceneChangeConfig.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "tempDecisionConfig") == 0)
    {
        __result = tempDecisionConfig.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool TemporalAWBConfigType::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "sceneConfig") == 0)
    {
        __result = sceneConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeConfig") == 0)
    {
        __result = sceneChangeConfig.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "tempDecisionConfig") == 0)
    {
        __result = tempDecisionConfig.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool TemporalAWBConfigType::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // sceneConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "sceneConfig") == 0)
    {
        __result = sceneConfig.GetInfo(&__path[__pos], __info);
    }

    // sceneChangeConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("sceneChangeConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeConfig") == 0)
    {
        __result = sceneChangeConfig.GetInfo(&__path[__pos], __info);
    }

    // tempDecisionConfig
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("tempDecisionConfig", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "tempDecisionConfig") == 0)
    {
        __result = tempDecisionConfig.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        ParameterUtils::DoubleToString((double)enable, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "temporalAWB") == 0)
    {
        __result = temporalAWB.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "temporalAWB") == 0)
    {
        __result = temporalAWB.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    const UINT32 __pos = ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // module_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("module_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "module_version") == 0)
    {
        __result = module_version.GetInfo(&__path[__pos], __info);
    }

    // parameter_version
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("parameter_version", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "parameter_version") == 0)
    {
        __result = parameter_version.GetInfo(&__path[__pos], __info);
    }

    // enable
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("enable", ParameterParserDataType::Boolean, (double)enable, 0));
    }
    else if (PARAMETER_STRCMP(__name, "enable") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Boolean, (double)enable, 0));
    }

    // temporalAWB
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("temporalAWB", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "temporalAWB") == 0)
    {
        __result = temporalAWB.GetInfo(&__path[__pos], __info);
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::module_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)major_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)minor_revision, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        ParameterUtils::DoubleToString((double)incr_revision, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::module_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const __value)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            major_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            minor_revision = (INT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            incr_revision = (INT32)dblValue; 
        }
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::module_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // major_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("major_revision", ParameterParserDataType::Int32, (double)major_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "major_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)major_revision, 0));
    }

    // minor_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("minor_revision", ParameterParserDataType::Int32, (double)minor_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "minor_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)minor_revision, 0));
    }

    // incr_revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("incr_revision", ParameterParserDataType::Int32, (double)incr_revision, 0));
    }
    else if (PARAMETER_STRCMP(__name, "incr_revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::Int32, (double)incr_revision, 0));
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::parameter_versionStruct::GetValue(
    const CHAR* const __path,
    CHAR* const       __value,
    UINT32 const      __size)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        PARAMETER_STRCPY(__value, __size, revision);
        __result = true;
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::parameter_versionStruct::SetValue(
    const CHAR* const __path,
    const CHAR* const /*__value*/)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }

    return __result;
}

bool chromatixTemporalAWBV1Type::parameter_versionStruct::GetInfo(
    const CHAR* const           __path,
    PList<ParameterParserInfo>& __info)
{
    constexpr SIZE_T MAX_SIZE = 129;
    CHAR   __name[MAX_SIZE] = "";
    UINT32 __index          = MAX_UINT;
    bool   __result         = false;

    (void)ParameterUtils::GetVariable(__path, __name, __index, MAX_SIZE);

    // revision
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("revision", ParameterParserDataType::String, revision));
    }
    else if (PARAMETER_STRCMP(__name, "revision") == 0)
    {
        __result = true;
        __info.Add(ParameterParserInfo(nullptr, ParameterParserDataType::String, revision));
    }

    return __result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatixTemporalAWBV1TypeClass::chromatixTemporalAWBV1TypeClass(
    const CHAR* name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(temporalAWB);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatixTemporalAWBV1TypeClass::chromatixTemporalAWBV1TypeClass(
    const CHAR*       name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(temporalAWB);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Destructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
chromatixTemporalAWBV1TypeClass::~chromatixTemporalAWBV1TypeClass()
{
    if (Loaded)
    {
        UnloadModule();
    }
}


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load HistoryResolutionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void HistoryResolutionType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(horCount);
    PARAMETER_INITIALIZE(hor);
    PARAMETER_INITIALIZE(vertCount);
    PARAMETER_INITIALIZE(vert);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x917aa42f80c3d0a2;
        entry->ReadSimpleTypeArray(hor, horCount, horID, 1,
            localParams, __COUNTER__);
        localParams.NameHash = 0xc905aca638a3ab6c;
        entry->ReadSimpleTypeArray(vert, vertCount, vertID, 1,
            localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void HistoryResolutionType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        HistoryResolutionType* arrayPtr = (HistoryResolutionType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* HistoryResolutionType::AllocArray(
    UINT32 __count)
{
    HistoryResolutionType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW HistoryResolutionType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load HistoryConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void HistoryConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(histResolution);
    PARAMETER_INITIALIZE(sceneChangeRGBGTh);
    PARAMETER_INITIALIZE(sceneChangeLuxTh);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xbb1b247fed7564e4;
        histResolution.Load(localParams);
        localParams.NameHash = 0xcdada25184a594ea;
        entry->ReadSimpleTypeFixedArray(&sceneChangeRGBGTh, 1, localParams);
        localParams.NameHash = 0xcfbf91eb9610454e;
        entry->ReadSimpleTypeFixedArray(&sceneChangeLuxTh, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void HistoryConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        HistoryConfigType* arrayPtr = (HistoryConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* HistoryConfigType::AllocArray(
    UINT32 __count)
{
    HistoryConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW HistoryConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load WeightLUTGrayRatioTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTGrayRatioTriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash        = 0xd5dc9fcb428af073;
        triggerData.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void WeightLUTGrayRatioTriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        WeightLUTGrayRatioTriggerType* arrayPtr = (WeightLUTGrayRatioTriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* WeightLUTGrayRatioTriggerType::AllocArray(
    UINT32 __count)
{
    WeightLUTGrayRatioTriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW WeightLUTGrayRatioTriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load WeightLUTFOVChangeTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTFOVChangeTriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void WeightLUTFOVChangeTriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        WeightLUTFOVChangeTriggerType* arrayPtr = (WeightLUTFOVChangeTriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* WeightLUTFOVChangeTriggerType::AllocArray(
    UINT32 __count)
{
    WeightLUTFOVChangeTriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW WeightLUTFOVChangeTriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load WeightLUTLuxTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTLuxTriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void WeightLUTLuxTriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        WeightLUTLuxTriggerType* arrayPtr = (WeightLUTLuxTriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* WeightLUTLuxTriggerType::AllocArray(
    UINT32 __count)
{
    WeightLUTLuxTriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW WeightLUTLuxTriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load WeightLUTTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTTriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void WeightLUTTriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        WeightLUTTriggerType* arrayPtr = (WeightLUTTriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* WeightLUTTriggerType::AllocArray(
    UINT32 __count)
{
    WeightLUTTriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW WeightLUTTriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DecisionsAggBasedType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DecisionsAggBasedType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(weight);
    PARAMETER_INITIALIZE(historyConfig);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xbe059318b040bcf4;
        weight.Load(localParams);
        localParams.NameHash        = 0xadf58ddc3d0534d5;
        historyConfig.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DecisionsAggBasedType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DecisionsAggBasedType* arrayPtr = (DecisionsAggBasedType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DecisionsAggBasedType::AllocArray(
    UINT32 __count)
{
    DecisionsAggBasedType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DecisionsAggBasedType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load DecisionGeneralParamsType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DecisionGeneralParamsType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(histUpdateTolerance);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd6337204700ec054;
        entry->ReadSimpleTypeFixedArray(&histUpdateTolerance, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void DecisionGeneralParamsType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        DecisionGeneralParamsType* arrayPtr = (DecisionGeneralParamsType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* DecisionGeneralParamsType::AllocArray(
    UINT32 __count)
{
    DecisionGeneralParamsType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW DecisionGeneralParamsType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load TemporalDecisionConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void TemporalDecisionConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(generalParams);
    PARAMETER_INITIALIZE(aggregation);
    PARAMETER_INITIALIZE(decisionsAggBased);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xd9efd88bc7ed096e;
        generalParams.Load(localParams);
        localParams.NameHash = 0xa3aa7455ffc96a2c;
        entry->ReadEnumFixedArray(&aggregation, 1, localParams);
        localParams.NameHash        = 0xb8f56df7d7ec1951;
        decisionsAggBased.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void TemporalDecisionConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        TemporalDecisionConfigType* arrayPtr = (TemporalDecisionConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* TemporalDecisionConfigType::AllocArray(
    UINT32 __count)
{
    TemporalDecisionConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW TemporalDecisionConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SCGeneralParamsType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SCGeneralParamsType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(initFrameSkipCnt);
    PARAMETER_INITIALIZE(globalSCFrameSkipCnt);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x99716ee8eb1816ea;
        entry->ReadSimpleTypeFixedArray(&initFrameSkipCnt, 1, localParams);
        localParams.NameHash = 0xf7de757b525c6b73;
        entry->ReadSimpleTypeFixedArray(&globalSCFrameSkipCnt, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SCGeneralParamsType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SCGeneralParamsType* arrayPtr = (SCGeneralParamsType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SCGeneralParamsType::AllocArray(
    UINT32 __count)
{
    SCGeneralParamsType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SCGeneralParamsType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load GlobalSceneChangeParamsType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void GlobalSceneChangeParamsType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(AFDistSCEnable);
    PARAMETER_INITIALIZE(contSCEnable);
    PARAMETER_INITIALIZE(contSCmaxTimeTh);
    PARAMETER_INITIALIZE(samePosSCEnable);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb625542f33146db0;
        entry->ReadSimpleTypeFixedArray(&AFDistSCEnable, 1, localParams);
        localParams.NameHash = 0xc947d230719eb30a;
        entry->ReadSimpleTypeFixedArray(&contSCEnable, 1, localParams);
        localParams.NameHash = 0xddbae3e28edd6761;
        entry->ReadSimpleTypeFixedArray(&contSCmaxTimeTh, 1, localParams);
        localParams.NameHash = 0xafa9cddb15ffdb62;
        entry->ReadSimpleTypeFixedArray(&samePosSCEnable, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void GlobalSceneChangeParamsType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        GlobalSceneChangeParamsType* arrayPtr = (GlobalSceneChangeParamsType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* GlobalSceneChangeParamsType::AllocArray(
    UINT32 __count)
{
    GlobalSceneChangeParamsType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW GlobalSceneChangeParamsType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load GlobalSceneChangeType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void GlobalSceneChangeType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(luxSCDetector);
    PARAMETER_INITIALIZE(accSCDetector);
    PARAMETER_INITIALIZE(sceneChangeParams);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcca2a71313893273;
        luxSCDetector.Load(localParams);
        localParams.NameHash        = 0xd90e8d50a88e2991;
        accSCDetector.Load(localParams);
        localParams.NameHash        = 0xe2b6ae133f93c3bd;
        sceneChangeParams.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void GlobalSceneChangeType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        GlobalSceneChangeType* arrayPtr = (GlobalSceneChangeType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* GlobalSceneChangeType::AllocArray(
    UINT32 __count)
{
    GlobalSceneChangeType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW GlobalSceneChangeType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load LocalSceneChangeType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LocalSceneChangeType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(luxSCDetector);
    PARAMETER_INITIALIZE(orientSCDetector);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcca2a71313893273;
        luxSCDetector.Load(localParams);
        localParams.NameHash        = 0xcb05a2d3dd0667d9;
        orientSCDetector.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void LocalSceneChangeType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        LocalSceneChangeType* arrayPtr = (LocalSceneChangeType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* LocalSceneChangeType::AllocArray(
    UINT32 __count)
{
    LocalSceneChangeType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW LocalSceneChangeType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SceneChangeConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SceneChangeConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(localSCDetector);
    PARAMETER_INITIALIZE(globalSCDetector);
    PARAMETER_INITIALIZE(generalParams);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xc7a0b56c87bb8d47;
        localSCDetector.Load(localParams);
        localParams.NameHash        = 0xa3da88e67fef79d7;
        globalSCDetector.Load(localParams);
        localParams.NameHash        = 0xd9efd88bc7ed096e;
        generalParams.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SceneChangeConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SceneChangeConfigType* arrayPtr = (SceneChangeConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SceneChangeConfigType::AllocArray(
    UINT32 __count)
{
    SceneChangeConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SceneChangeConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ImageConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ImageConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(inputType);
    PARAMETER_INITIALIZE(scale_x);
    PARAMETER_INITIALIZE(scale_y);
    PARAMETER_INITIALIZE(confThresholdCVP);
    PARAMETER_INITIALIZE(validateUsingIMU);
    PARAMETER_INITIALIZE(weightImage);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0x902051f2a742943e;
        entry->ReadEnumFixedArray(&inputType, 1, localParams);
        localParams.NameHash = 0xd92d7ce5d3a278cc;
        entry->ReadSimpleTypeFixedArray(&scale_x, 1, localParams);
        localParams.NameHash = 0xe1c9163ad899d336;
        entry->ReadSimpleTypeFixedArray(&scale_y, 1, localParams);
        localParams.NameHash = 0xd8cbc311e567830a;
        entry->ReadSimpleTypeFixedArray(&confThresholdCVP, 1, localParams);
        localParams.NameHash = 0x9aa277608123c4af;
        entry->ReadSimpleTypeFixedArray(&validateUsingIMU, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xafec3ca5f3fae958;
        weightImage.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void ImageConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        ImageConfigType* arrayPtr = (ImageConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* ImageConfigType::AllocArray(
    UINT32 __count)
{
    ImageConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW ImageConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SegmentIntegrateConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SegmentIntegrateConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(noiseThreshold_x);
    PARAMETER_INITIALIZE(noiseThreshold_y);
    PARAMETER_INITIALIZE(noiseThreshold_z);
    PARAMETER_INITIALIZE(sampleCntThreshold);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.NameHash = 0xd2cf4c13cd6baff6;
        entry->ReadSimpleTypeFixedArray(&noiseThreshold_x, 1, localParams);
        localParams.NameHash = 0xea2b26ccc650040c;
        entry->ReadSimpleTypeFixedArray(&noiseThreshold_y, 1, localParams);
        localParams.NameHash = 0xa30799addb1cf802;
        entry->ReadSimpleTypeFixedArray(&noiseThreshold_z, 1, localParams);
        localParams.NameHash = 0x87e37d3f11d07d29;
        entry->ReadSimpleTypeFixedArray(&sampleCntThreshold, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SegmentIntegrateConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SegmentIntegrateConfigType* arrayPtr = (SegmentIntegrateConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SegmentIntegrateConfigType::AllocArray(
    UINT32 __count)
{
    SegmentIntegrateConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SegmentIntegrateConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load OffsetScaleConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void OffsetScaleConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(offsetScale_x);
    PARAMETER_INITIALIZE(offsetScale_y);
    PARAMETER_INITIALIZE(offsetScale_z);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd807dd7930630ba3;
        entry->ReadSimpleTypeFixedArray(&offsetScale_x, 1, localParams);
        localParams.NameHash = 0xe0e3b7a63b58a059;
        entry->ReadSimpleTypeFixedArray(&offsetScale_y, 1, localParams);
        localParams.NameHash = 0xa9cf08c726145c57;
        entry->ReadSimpleTypeFixedArray(&offsetScale_z, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void OffsetScaleConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        OffsetScaleConfigType* arrayPtr = (OffsetScaleConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* OffsetScaleConfigType::AllocArray(
    UINT32 __count)
{
    OffsetScaleConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW OffsetScaleConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AccPositionConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AccPositionConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(staticOffsetEnable);
    PARAMETER_INITIALIZE(staticOffsetRAW);
    PARAMETER_INITIALIZE(scaleAdjEnable);
    PARAMETER_INITIALIZE(scaleAdjFactor);
    PARAMETER_INITIALIZE(referenceCnt);
    PARAMETER_INITIALIZE(segmentIntConfig);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.NameHash = 0xf4ae1b5826ed89f7;
        entry->ReadSimpleTypeFixedArray(&staticOffsetEnable, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xad98b6c99cc49300;
        staticOffsetRAW.Load(localParams);
        localParams.NameHash = 0xc3789a275587ec3d;
        entry->ReadSimpleTypeFixedArray(&scaleAdjEnable, 1, localParams);
        localParams.NameHash        = 0xa218f4aa852eec53;
        scaleAdjFactor.Load(localParams);
        localParams.NameHash = 0xfed9bf0a74d7fe79;
        entry->ReadSimpleTypeFixedArray(&referenceCnt, 1, localParams);
        localParams.NameHash        = 0xcc991b094007f78a;
        segmentIntConfig.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AccPositionConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AccPositionConfigType* arrayPtr = (AccPositionConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AccPositionConfigType::AllocArray(
    UINT32 __count)
{
    AccPositionConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AccPositionConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ScaleFactorLevel1TriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ScaleFactorLevel1TriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash        = 0xd5dc9fcb428af073;
        triggerData.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void ScaleFactorLevel1TriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        ScaleFactorLevel1TriggerType* arrayPtr = (ScaleFactorLevel1TriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* ScaleFactorLevel1TriggerType::AllocArray(
    UINT32 __count)
{
    ScaleFactorLevel1TriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW ScaleFactorLevel1TriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ScaleFactorTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ScaleFactorTriggerType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(triggerPt);
    PARAMETER_INITIALIZE(triggerDataCount);
    PARAMETER_INITIALIZE(triggerData);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xcb944a716851ffce;
        triggerPt.Load(localParams);
        localParams.NameHash = 0xd5dc9fcb428af073;
        entry->ReadStructureArray(triggerData, triggerDataCount, triggerDataID, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void ScaleFactorTriggerType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        ScaleFactorTriggerType* arrayPtr = (ScaleFactorTriggerType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* ScaleFactorTriggerType::AllocArray(
    UINT32 __count)
{
    ScaleFactorTriggerType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW ScaleFactorTriggerType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load Gyro2DOrientationConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void Gyro2DOrientationConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(staticOffsetEnable);
    PARAMETER_INITIALIZE(staticOffsetRAW);
    PARAMETER_INITIALIZE(scaleAdjEnable);
    PARAMETER_INITIALIZE(scaleAdjFactor);
    PARAMETER_INITIALIZE(accDataFusionEnable);
    PARAMETER_INITIALIZE(accFusionWeight);
    PARAMETER_INITIALIZE(segmentIntConfig);
    PARAMETER_INITIALIZE(FOVScaleAdjEnable);
    PARAMETER_INITIALIZE(FOVScaleAdjFactor);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xf4ae1b5826ed89f7;
        entry->ReadSimpleTypeFixedArray(&staticOffsetEnable, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xad98b6c99cc49300;
        staticOffsetRAW.Load(localParams);
        localParams.NameHash = 0xc3789a275587ec3d;
        entry->ReadSimpleTypeFixedArray(&scaleAdjEnable, 1, localParams);
        localParams.NameHash        = 0xa218f4aa852eec53;
        scaleAdjFactor.Load(localParams);
        localParams.NameHash = 0xd1b09c1320410989;
        entry->ReadSimpleTypeFixedArray(&accDataFusionEnable, 1, localParams);
        localParams.NameHash = 0xa2f1df909b514e8a;
        entry->ReadSimpleTypeFixedArray(&accFusionWeight, 1, localParams);
        localParams.NameHash        = 0xcc991b094007f78a;
        segmentIntConfig.Load(localParams);
        localParams.NameHash = 0x93c848b79f2197ac;
        entry->ReadSimpleTypeFixedArray(&FOVScaleAdjEnable, 1, localParams);
        localParams.NameHash        = 0xf2a8263a4f8897c2;
        FOVScaleAdjFactor.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void Gyro2DOrientationConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        Gyro2DOrientationConfigType* arrayPtr = (Gyro2DOrientationConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* Gyro2DOrientationConfigType::AllocArray(
    UINT32 __count)
{
    Gyro2DOrientationConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW Gyro2DOrientationConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SenorRefreshConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SenorRefreshConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(gyro);
    PARAMETER_INITIALIZE(accelerometer);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xf5a299c70485a3d3;
        entry->ReadSimpleTypeFixedArray(&gyro, 1, localParams);
        localParams.NameHash = 0xa03c203b04f85370;
        entry->ReadSimpleTypeFixedArray(&accelerometer, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SenorRefreshConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SenorRefreshConfigType* arrayPtr = (SenorRefreshConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SenorRefreshConfigType::AllocArray(
    UINT32 __count)
{
    SenorRefreshConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SenorRefreshConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AlignmentConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AlignmentConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(real_x_axis);
    PARAMETER_INITIALIZE(real_y_axis);
    PARAMETER_INITIALIZE(real_z_axis);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xf9fff48dab40200f;
        entry->ReadEnumFixedArray(&real_x_axis, 1, localParams);
        localParams.NameHash = 0x9d666703542c5fd6;
        entry->ReadEnumFixedArray(&real_y_axis, 1, localParams);
        localParams.NameHash = 0xb52d1047064cb29a;
        entry->ReadEnumFixedArray(&real_z_axis, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AlignmentConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AlignmentConfigType* arrayPtr = (AlignmentConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AlignmentConfigType::AllocArray(
    UINT32 __count)
{
    AlignmentConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AlignmentConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AlignmentModeConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AlignmentModeConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(landscape);
    PARAMETER_INITIALIZE(portrait);
    PARAMETER_INITIALIZE(faceUpDown);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xf1d8bf6a73b90927;
        landscape.Load(localParams);
        localParams.NameHash        = 0xe20ae9970f3b32b6;
        portrait.Load(localParams);
        localParams.NameHash        = 0xe2f2b5e3475057e0;
        faceUpDown.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AlignmentModeConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AlignmentModeConfigType* arrayPtr = (AlignmentModeConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AlignmentModeConfigType::AllocArray(
    UINT32 __count)
{
    AlignmentModeConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AlignmentModeConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AccAlignmentConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AccAlignmentConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(orientationAlignment);
    PARAMETER_INITIALIZE(modeAlignment);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xe7bd0035308a3cff;
        orientationAlignment.Load(localParams);
        localParams.NameHash        = 0xb249783b9513c69a;
        modeAlignment.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void AccAlignmentConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        AccAlignmentConfigType* arrayPtr = (AccAlignmentConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* AccAlignmentConfigType::AllocArray(
    UINT32 __count)
{
    AccAlignmentConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW AccAlignmentConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SensorsAlignmentConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SensorsAlignmentConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(gyro);
    PARAMETER_INITIALIZE(accelerometer);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xf5a299c70485a3d3;
        gyro.Load(localParams);
        localParams.NameHash        = 0xa03c203b04f85370;
        accelerometer.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SensorsAlignmentConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SensorsAlignmentConfigType* arrayPtr = (SensorsAlignmentConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SensorsAlignmentConfigType::AllocArray(
    UINT32 __count)
{
    SensorsAlignmentConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SensorsAlignmentConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load IMUConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void IMUConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(aligmentConfig);
    PARAMETER_INITIALIZE(refreshRate);
    PARAMETER_INITIALIZE(imu2DOrientation);
    PARAMETER_INITIALIZE(imuDevicePosition);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xfdb94364cb61f36a;
        aligmentConfig.Load(localParams);
        localParams.NameHash        = 0xe1127eedabff7b74;
        refreshRate.Load(localParams);
        localParams.NameHash        = 0x99e96398a74ccc44;
        imu2DOrientation.Load(localParams);
        localParams.NameHash        = 0xd9f0b44368476614;
        imuDevicePosition.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void IMUConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        IMUConfigType* arrayPtr = (IMUConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* IMUConfigType::AllocArray(
    UINT32 __count)
{
    IMUConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW IMUConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SceneConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SceneConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(sceneInfo);
    PARAMETER_INITIALIZE(imuConfig);
    PARAMETER_INITIALIZE(imageConfig);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd8555b7105aab056;
        entry->ReadEnumFixedArray(&sceneInfo, 1, localParams);
        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xf32839b06a8b6e8c;
        imuConfig.Load(localParams);
        localParams.NameHash        = 0xe2260c193980b5d3;
        imageConfig.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void SceneConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        SceneConfigType* arrayPtr = (SceneConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* SceneConfigType::AllocArray(
    UINT32 __count)
{
    SceneConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW SceneConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load TemporalAWBConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void TemporalAWBConfigType::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(sceneConfig);
    PARAMETER_INITIALIZE(sceneChangeConfig);
    PARAMETER_INITIALIZE(tempDecisionConfig);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xb2ecd65e66ff3d24;
        sceneConfig.Load(localParams);
        localParams.NameHash        = 0xffbf2aaaa16778af;
        sceneChangeConfig.Load(localParams);
        localParams.NameHash        = 0xae0e2cfb0730338d;
        tempDecisionConfig.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void TemporalAWBConfigType::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        TemporalAWBConfigType* arrayPtr = (TemporalAWBConfigType*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* TemporalAWBConfigType::AllocArray(
    UINT32 __count)
{
    TemporalAWBConfigType* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW TemporalAWBConfigType[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load chromatixTemporalAWBV1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(temporalAWB);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.UseParent       = false;
        localParams.UseParentOffset = true;
        localParams.NameHash        = 0xe11cd9f365a2599f;
        module_version.Load(localParams);
        localParams.NameHash        = 0xca3106e199a12935;
        parameter_version.Load(localParams);
        localParams.NameHash = 0xb3c00adf8e304e57;
        entry->ReadSimpleTypeFixedArray(&enable, 1, localParams);
        localParams.NameHash        = 0xfe219fd5abb6a0f8;
        temporalAWB.Load(localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatixTemporalAWBV1Type::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        chromatixTemporalAWBV1Type* arrayPtr = (chromatixTemporalAWBV1Type*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatixTemporalAWBV1Type::AllocArray(
    UINT32 __count)
{
    chromatixTemporalAWBV1Type* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW chromatixTemporalAWBV1Type[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::module_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xcd66249477636693;
        entry->ReadSimpleTypeFixedArray(&major_revision, 1, localParams);
        localParams.NameHash = 0xc5497493137a9c25;
        entry->ReadSimpleTypeFixedArray(&minor_revision, 1, localParams);
        localParams.NameHash = 0xb27b8a668efb2a56;
        entry->ReadSimpleTypeFixedArray(&incr_revision, 1, localParams);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatixTemporalAWBV1Type::module_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        module_versionStruct* arrayPtr = (module_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatixTemporalAWBV1Type::module_versionStruct::AllocArray(
    UINT32 __count)
{
    module_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW module_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::parameter_versionStruct::Load(
    ParameterLoadParameters& parentParams)
{
    PARAMETER_INITIALIZE(revision);

    ParameterFileSymbolTableEntry* const entry = parentParams.Entry;
    ParameterLoadParameters localParams(parentParams);
    localParams.Element   = nullptr;
    localParams.UseParent = false;
    localParams.Index     = 0;

    if (parentParams.Element != nullptr)
    {
        bool _posChanged = false;
        localParams.Element = entry->AdjustPositionAndGetElement(parentParams, true, _posChanged);
    }

    // If parentParams.Element != null && localParams.Element == null, then this element is not defined in the binary file.
    // If parentParams.Element == null then this binary file does not contain a definition table or
    // the full backwards compatibility feature is disabled (for memory or performance reasons)
    if (parentParams.Element == nullptr || parentParams.Element->Verified || localParams.Element != nullptr)
    {
        localParams.Position      = entry->Position;
        localParams.LoadDataLimit = entry->ReadLoadDataLimit(parentParams.LoadDataLimit);

        localParams.NameHash = 0xd594eed07a5650c5;
        entry->ReadStringFixedArray(&revision, 1, localParams, __COUNTER__);

        entry->UpdatePosition(localParams.LoadDataLimit);
    }
    else
    {
        PARAMETER_LOG_ERROR(entry->Table->SetManager, "%s: 0x%llx entry not found in the binary file, all values will be 0\n",
            __FUNCTION__, parentParams.NameHash);
    }
}

void chromatixTemporalAWBV1Type::parameter_versionStruct::LoadArray(
    ParameterLoadParameters& __params,
    void*                    __array,
    UINT32                   __count)
{
    if (__array != nullptr)
    {
        parameter_versionStruct* arrayPtr = (parameter_versionStruct*)__array;
        for (UINT32 i = 0; i < __count; i++)
        {
            __params.Index = i;
            arrayPtr[i].Load(__params);
        }
    }
}

void* chromatixTemporalAWBV1Type::parameter_versionStruct::AllocArray(
    UINT32 __count)
{
    parameter_versionStruct* result = nullptr;
    if (__count > 0)
    {
        result = PARAMETER_NEW parameter_versionStruct[__count];
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload HistoryResolutionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void HistoryResolutionType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, hor);
    ParameterFileSymbolTable::ReleaseObject(__table, vert);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload HistoryConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void HistoryConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    histResolution.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload WeightLUTFOVChangeTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTFOVChangeTriggerType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload WeightLUTLuxTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTLuxTriggerType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload WeightLUTTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void WeightLUTTriggerType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; triggerData != nullptr && i < triggerDataCount; i++)
    {
        triggerData[i].Unload(__table);
    }
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload DecisionsAggBasedType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void DecisionsAggBasedType::Unload(ParameterFileSymbolTable* const __table)
{
    weight.Unload(__table);
    historyConfig.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload TemporalDecisionConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void TemporalDecisionConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    decisionsAggBased.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload GlobalSceneChangeType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void GlobalSceneChangeType::Unload(ParameterFileSymbolTable* const __table)
{
    luxSCDetector.Unload(__table);
    accSCDetector.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload LocalSceneChangeType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void LocalSceneChangeType::Unload(ParameterFileSymbolTable* const __table)
{
    luxSCDetector.Unload(__table);
    orientSCDetector.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload SceneChangeConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SceneChangeConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    localSCDetector.Unload(__table);
    globalSCDetector.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ImageConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ImageConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    weightImage.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ScaleFactorTriggerType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ScaleFactorTriggerType::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, triggerData);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload Gyro2DOrientationConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void Gyro2DOrientationConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    scaleAdjFactor.Unload(__table);
    FOVScaleAdjFactor.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload IMUConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void IMUConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    imu2DOrientation.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload SceneConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SceneConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    imuConfig.Unload(__table);
    imageConfig.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload TemporalAWBConfigType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void TemporalAWBConfigType::Unload(ParameterFileSymbolTable* const __table)
{
    sceneConfig.Unload(__table);
    sceneChangeConfig.Unload(__table);
    tempDecisionConfig.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload chromatixTemporalAWBV1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::Unload(ParameterFileSymbolTable* const __table)
{
    parameter_version.Unload(__table);
    temporalAWB.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::parameter_versionStruct::Unload(ParameterFileSymbolTable* const __table)
{
    ParameterFileSymbolTable::ReleaseObject(__table, revision);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Release the ParameterModule object
/// Requires that this object was created via a ParameterSetManager::GetModule call
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1Type::Release()
{
    ((chromatixTemporalAWBV1TypeClass*)this)->Release();
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Returns the ParameterModule::Modified value
/// The Modified value is incremented when the module's data or pointer values change
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT32 chromatixTemporalAWBV1Type::GetModified()
{
    return ((chromatixTemporalAWBV1TypeClass*)this)->Modified;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::Name variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* chromatixTemporalAWBV1Type::GetModuleName()
{
    return ((chromatixTemporalAWBV1TypeClass*)this)->Name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetModuleName: Returns ParameterModule::NameHash variable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
UINT64 chromatixTemporalAWBV1Type::GetModuleNameHash()
{
    return ((chromatixTemporalAWBV1TypeClass*)this)->NameHash;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Create module, and return a new object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
ParameterModule* chromatixTemporalAWBV1TypeClass::Create(
    ModuleData* const    moduleData,
    DefaultModule* const defModule) const
{
    chromatixTemporalAWBV1TypeClass* cls = nullptr;

    if (IsModuleMatch(moduleData) && Version.Value == moduleData->Version.Value)
    {
        const UINT32 id = moduleData->DuplicateID > 0 ? moduleData->DuplicateID : moduleData->ID;

        ParameterModule* const module = defModule->Find(id);
        if (module != nullptr)
        {
            cls = (chromatixTemporalAWBV1TypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW chromatixTemporalAWBV1TypeClass(Name, moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatixTemporalAWBV1TypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create chromatixTemporalAWBV1TypeClass, binary name hash (0x%016llx) does not match source name hash (0x%016llx)\n",
            moduleData->NameHash, NameHash);
    }

    return (ParameterModule*)cls;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module data, return true is successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool chromatixTemporalAWBV1TypeClass::LoadModule(
    ParameterFileSymbolTable* const table)
{
    bool result = true;

#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (!Loaded)
    {
        chromatixTemporalAWBV1TypeClass* const cls = this;

        ParameterFileSymbolTableEntry  entryObj;
        ParameterFileSymbolTableEntry* const entry = &entryObj;
        // With EzTune enabled, the unused upper byte of SymbolTableID value can change, so clear it
        result = table->Find(entryObj, SymbolTableID & 0x00ffffffU);

        if (!result)
        {
            PARAMETER_LOG_ERROR(entry->Table->SetManager, "chromatixTemporalAWBV1TypeClass::LoadModule Failed to find module ID (%d) in Symbol Table\n", SymbolTableID);
        }


        ParameterDefinitionElement* _element = nullptr;
        if (table->ModuleDefinitions != nullptr && !table->ModuleDefinitions->empty())
        {
            _element = table->BuildModuleElement(NameHash);
        }

        ParameterLoadParameters parentParams(entry, NameHash, true, true, _element, entry->Position, 0, ParameterFileSymbolTableEntry::LOAD_LIMIT_MAX);
        cls->Load(parentParams);
        PARAMETER_DELETE _element;
        Modified++;
        Loaded = true;
    }

    if (!result)
    {
        /// Module failed to fully load, unload it
        UnloadModule();
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1TypeClass::UnloadModule()
{
#ifdef PARAMETER_USE_MUTEX
    ParameterMutexLocker lock(Mutex); // Unique LOCK
#endif

    if (Loaded)
    {
        if (Data != nullptr && Data->SymbolTable != nullptr)
        {
            Unload(Data->SymbolTable);
        }
        else
        {
            PARAMETER_LOG_ERROR(Data != nullptr ? Data->SetManager : nullptr, "UnloadModule %s called with nullptr "
                "Data->SymbolTable object\n", Name);
            Unload(nullptr);
        }
        Loaded = false;
    }
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /// Release the ParameterModule object
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void chromatixTemporalAWBV1TypeClass::Release()
{
    ParameterModule::Release();
}

MODTEMPORALAWBV1_NAMESPACE_END
