////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// 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 V5.5.1 (2411131018)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

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

#include "aecxextension.h"
#include "parametersetmanager.h"

AECXEXTENSION_NAMESPACE_BEGIN

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// SetValue/GetValue Functions
/// Gets or sets the requested value
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMainCoreParamType::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, "aggressiveness") == 0)
    {
        __result = aggressiveness.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "value") == 0)
    {
        if (__index < valueCount)
        {
            __result = value[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ESEMainCoreParamType::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, "aggressiveness") == 0)
    {
        __result = aggressiveness.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "value") == 0)
    {
        if (__index < valueCount)
        {
            __result = value[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ESEMainCoreParamType::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);

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

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

    return __result;
}

bool ESESCUnstableStageType::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;

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

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

    return __result;
}

bool ESESCUnstableStageType::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;

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

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

    return __result;
}

bool ESESCUnstableStageType::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;

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

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

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

    return __result;
}

bool ESESCStableStageType::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;

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

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

    return __result;
}

bool ESESCStableStageType::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;

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

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

    return __result;
}

bool ESESCStableStageType::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;

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

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

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

    return __result;
}

bool ESESceneChangeParamType::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, "initStage") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)initStage, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "stableStage") == 0)
    {
        __result = stableStage.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "unstableStage") == 0)
    {
        __result = unstableStage.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ESESceneChangeParamType::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, "initStage") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            initStage = (ESESceneChangeStageType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "stableStage") == 0)
    {
        __result = stableStage.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "unstableStage") == 0)
    {
        __result = unstableStage.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ESESceneChangeParamType::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));
    }

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

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

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

    return __result;
}

bool ESEMaxAdjustParamDataType::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;

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

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

    return __result;
}

bool ESEMaxAdjustParamDataType::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;

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

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

    return __result;
}

bool ESEMaxAdjustParamDataType::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;

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

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

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

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemEndLevelType::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, "trigger") == 0)
    {
        __result = trigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemEndLevelType::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, "trigger") == 0)
    {
        __result = trigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "triggerData") == 0)
    {
        __result = triggerData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemEndLevelType::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);

    // trigger
    if (__name[0] == '\0')
    {
        __result = true;
        __info.Add(ParameterParserInfo("trigger", ParameterParserDataType::Structure));
    }
    else if (PARAMETER_STRCMP(__name, "trigger") == 0)
    {
        __result = trigger.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 ESEMaxAdjustThreeLevelTriggerSystemLevel2Type::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, "trigger") == 0)
    {
        __result = trigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger3Data") == 0)
    {
        if (__index < trigger3DataCount)
        {
            __result = trigger3Data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemLevel2Type::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, "trigger") == 0)
    {
        __result = trigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger3Data") == 0)
    {
        if (__index < trigger3DataCount)
        {
            __result = trigger3Data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemLevel2Type::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);

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

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

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemLevel1Type::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, "trigger") == 0)
    {
        __result = trigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2Data") == 0)
    {
        if (__index < trigger2DataCount)
        {
            __result = trigger2Data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemLevel1Type::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, "trigger") == 0)
    {
        __result = trigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2Data") == 0)
    {
        if (__index < trigger2DataCount)
        {
            __result = trigger2Data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemLevel1Type::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);

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

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

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemType::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, "trigger1DataBank") == 0)
    {
        __result = trigger1DataBank.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2DataBank") == 0)
    {
        __result = trigger2DataBank.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger3DataBank") == 0)
    {
        __result = trigger3DataBank.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "trigger1Data") == 0)
    {
        if (__index < trigger1DataCount)
        {
            __result = trigger1Data[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemType::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, "trigger1DataBank") == 0)
    {
        __result = trigger1DataBank.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger2DataBank") == 0)
    {
        __result = trigger2DataBank.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger3DataBank") == 0)
    {
        __result = trigger3DataBank.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "trigger1Data") == 0)
    {
        if (__index < trigger1DataCount)
        {
            __result = trigger1Data[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ESEMaxAdjustThreeLevelTriggerSystemType::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);

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

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

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

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

    return __result;
}

bool ESEEntryParamType::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;

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

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

    return __result;
}

bool ESEEntryParamType::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;

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

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

    return __result;
}

bool ESEEntryParamType::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;

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

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

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

    return __result;
}

bool ESESaturationLumaRangeType::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;

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

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

    return __result;
}

bool ESESaturationLumaRangeType::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;

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

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

    return __result;
}

bool ESESaturationLumaRangeType::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;

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

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

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

    return __result;
}

bool ESEStatsSelectionType::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;

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

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

    return __result;
}

bool ESEStatsSelectionType::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;

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

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

    return __result;
}

bool ESEStatsSelectionType::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;

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

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

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

    return __result;
}

bool ExtensionEfficientShortEstimType::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, "statSelection") == 0)
    {
        __result = statSelection.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "satLumaRange") == 0)
    {
        __result = satLumaRange.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "entryParam") == 0)
    {
        __result = entryParam.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "maxAdjustParam") == 0)
    {
        __result = maxAdjustParam.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeParam") == 0)
    {
        __result = sceneChangeParam.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "mainCoreParam") == 0)
    {
        __result = mainCoreParam.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionEfficientShortEstimType::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, "statSelection") == 0)
    {
        __result = statSelection.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "satLumaRange") == 0)
    {
        __result = satLumaRange.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "entryParam") == 0)
    {
        __result = entryParam.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "maxAdjustParam") == 0)
    {
        __result = maxAdjustParam.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "sceneChangeParam") == 0)
    {
        __result = sceneChangeParam.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "mainCoreParam") == 0)
    {
        __result = mainCoreParam.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionEfficientShortEstimType::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));
    }

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

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

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

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

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

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

    return __result;
}

bool ExtensionMonitorTorchHDRSnapshot::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;

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

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

    return __result;
}

bool ExtensionMonitorTorchHDRSnapshot::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;

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

    if (PARAMETER_STRCMP(__name, "enableTorchHDRSnapshot") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableTorchHDRSnapshot = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggerHDRStableCountThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            triggerHDRStableCountThreshold = (UINT32)dblValue; 
        }
    }

    return __result;
}

bool ExtensionMonitorTorchHDRSnapshot::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;

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

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

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

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::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, "input") == 0)
    {
        __result = input.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "coreMotionData") == 0)
    {
        __result = coreMotionData.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::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, "input") == 0)
    {
        __result = input.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "coreMotionData") == 0)
    {
        __result = coreMotionData.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::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));
    }

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

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

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::coreMotionDataStruct::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, "data1") == 0)
    {
        __result = data1.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "data2") == 0)
    {
        ParameterUtils::DoubleToString((double)data2, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::coreMotionDataStruct::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, "data1") == 0)
    {
        __result = data1.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "data2") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            data2 = (UINT8)dblValue; 
        }
    }

    return __result;
}

bool ExtensionFastHDRConvMotionEnable::coreMotionDataStruct::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);

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

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

    return __result;
}

bool ExtensionFastHDRConvergence::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, "sensorModeBasedEnable") == 0)
    {
        __result = sensorModeBasedEnable.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "motionBasedEnable") == 0)
    {
        __result = motionBasedEnable.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "sceneBasedEnable") == 0)
    {
        __result = sceneBasedEnable.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "enableQuickStartup") == 0)
    {
        ParameterUtils::DoubleToString((double)enableQuickStartup, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "statsSelection") == 0)
    {
        PARAMETER_STRCPY(__value, __size, statsSelection);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "statsQualityControl") == 0)
    {
        __result = statsQualityControl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "reservedParameters") == 0)
    {
        if (__index < 10)
        {
            ParameterUtils::DoubleToString((double)reservedParameters[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < 10; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)reservedParameters[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }

    return __result;
}

bool ExtensionFastHDRConvergence::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, "sensorModeBasedEnable") == 0)
    {
        __result = sensorModeBasedEnable.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "motionBasedEnable") == 0)
    {
        __result = motionBasedEnable.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "sceneBasedEnable") == 0)
    {
        __result = sceneBasedEnable.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "enableQuickStartup") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableQuickStartup = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "statsSelection") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "statsQualityControl") == 0)
    {
        __result = statsQualityControl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "reservedParameters") == 0)
    {
        if (__index < 10)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                reservedParameters[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

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

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

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

    return __result;
}

bool ExtensionFastHDRConvergence::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));
    }

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

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

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

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

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

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

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

    return __result;
}

bool ExtensionFastHDRConvergence::sensorModeBasedEnableStruct::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;

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

    if (PARAMETER_STRCMP(__name, "sensor1ExpMode") == 0)
    {
        ParameterUtils::DoubleToString((double)sensor1ExpMode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "sensor2ExpMode") == 0)
    {
        ParameterUtils::DoubleToString((double)sensor2ExpMode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "sensor3ExpMode") == 0)
    {
        ParameterUtils::DoubleToString((double)sensor3ExpMode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "sensor4ExpMode") == 0)
    {
        ParameterUtils::DoubleToString((double)sensor4ExpMode, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool ExtensionFastHDRConvergence::sensorModeBasedEnableStruct::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;

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

    if (PARAMETER_STRCMP(__name, "sensor1ExpMode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sensor1ExpMode = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "sensor2ExpMode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sensor2ExpMode = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "sensor3ExpMode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sensor3ExpMode = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "sensor4ExpMode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            sensor4ExpMode = (BOOL)dblValue; 
        }
    }

    return __result;
}

bool ExtensionFastHDRConvergence::sensorModeBasedEnableStruct::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;

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

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

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

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

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

    return __result;
}

bool ExtensionFastHDRConvergence::statsQualityControlStruct::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, "data1") == 0)
    {
        __result = data1.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "data2") == 0)
    {
        ParameterUtils::DoubleToString((double)data2, __value, __size);
        __result = true;
    }

    return __result;
}

bool ExtensionFastHDRConvergence::statsQualityControlStruct::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, "data1") == 0)
    {
        __result = data1.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "data2") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            data2 = (float)dblValue; 
        }
    }

    return __result;
}

bool ExtensionFastHDRConvergence::statsQualityControlStruct::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);

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

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

    return __result;
}

bool StartupAutoHDRType::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;

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

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

    return __result;
}

bool StartupAutoHDRType::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;

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

    if (PARAMETER_STRCMP(__name, "enableDiscardShortAtStartup") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableDiscardShortAtStartup = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxADRCFor1ExposureStart") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxADRCFor1ExposureStart = (float)dblValue; 
        }
    }

    return __result;
}

bool StartupAutoHDRType::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;

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

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

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

    return __result;
}

bool ExtensionAutoHDRType::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, "enableAutoHDR") == 0)
    {
        ParameterUtils::DoubleToString((double)enableAutoHDR, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "allowSkipSwitch") == 0)
    {
        ParameterUtils::DoubleToString((double)allowSkipSwitch, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enableEarlyArbitration") == 0)
    {
        ParameterUtils::DoubleToString((double)enableEarlyArbitration, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "switchDelayThresh") == 0)
    {
        ParameterUtils::DoubleToString((double)switchDelayThresh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "switchStableThresh") == 0)
    {
        ParameterUtils::DoubleToString((double)switchStableThresh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enableFPSAdjust") == 0)
    {
        ParameterUtils::DoubleToString((double)enableFPSAdjust, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "fpsAdjThresh") == 0)
    {
        ParameterUtils::DoubleToString((double)fpsAdjThresh, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "toleranceTrigger") == 0)
    {
        __result = toleranceTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "compensationGains") == 0)
    {
        if (__index < compensationGainsCount)
        {
            ParameterUtils::DoubleToString((double)compensationGains[__index], __value, __size);
            __result = true;
        }
        else
        {
            SIZE_T __valuePos = 0;
            for (UINT32 i = 0; i < compensationGainsCount; i++)
            {
                if (i > 0)
                {
                    PARAMETER_STRCAT(__value, __size, ",");
                    __valuePos = PARAMETER_STRLEN(__value);
                }
                ParameterUtils::DoubleToString((double)compensationGains[i], &__value[__valuePos], (INT32)(__size - __valuePos));
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "startup") == 0)
    {
        __result = startup.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionAutoHDRType::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, "enableAutoHDR") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableAutoHDR = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "allowSkipSwitch") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            allowSkipSwitch = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enableEarlyArbitration") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableEarlyArbitration = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "switchDelayThresh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            switchDelayThresh = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "switchStableThresh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            switchStableThresh = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enableFPSAdjust") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFPSAdjust = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "fpsAdjThresh") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            fpsAdjThresh = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "toleranceTrigger") == 0)
    {
        __result = toleranceTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "compensationGains") == 0)
    {
        if (__index < compensationGainsCount)
        {
            const double dblValue = ParameterUtils::StringToDouble(__value, __result);
            if (__result)
            {
                compensationGains[__index] = (float)dblValue; 
            }
        }
        else
        {
            SIZE_T __valueLen = PARAMETER_STRLEN(__value);
            UINT32 __pos = 0;

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

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

                const double dblValue = ParameterUtils::StringToDouble(__valueStr, __result);
                if (__result)
                {
                    compensationGains[__index] = (float)dblValue; 
                }
                __index++;
            }
            __result = true;
        }
    }
    else if (PARAMETER_STRCMP(__name, "startup") == 0)
    {
        __result = startup.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionAutoHDRType::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);

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

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

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

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

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

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

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

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

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

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

    return __result;
}

bool ExtensionUnderExposureType::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, "underExposureTrigger") == 0)
    {
        __result = underExposureTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "torchHDRExposureTrigger") == 0)
    {
        __result = torchHDRExposureTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "autoHDRTuning") == 0)
    {
        __result = autoHDRTuning.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "enableLowLightADRC") == 0)
    {
        ParameterUtils::DoubleToString((double)enableLowLightADRC, __value, __size, 0);
        __result = true;
    }

    return __result;
}

bool ExtensionUnderExposureType::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, "underExposureTrigger") == 0)
    {
        __result = underExposureTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "torchHDRExposureTrigger") == 0)
    {
        __result = torchHDRExposureTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "autoHDRTuning") == 0)
    {
        __result = autoHDRTuning.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "enableLowLightADRC") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableLowLightADRC = (BOOL)dblValue; 
        }
    }

    return __result;
}

bool ExtensionUnderExposureType::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);

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

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

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

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

    return __result;
}

bool SceneCriterion::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, "dataBankSource") == 0)
    {
        __result = dataBankSource.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "postCalculation") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)postCalculation, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "triggers") == 0)
    {
        if (__index < triggersCount)
        {
            __result = triggers[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool SceneCriterion::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, "dataBankSource") == 0)
    {
        __result = dataBankSource.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "postCalculation") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            postCalculation = (MonitorDataCalculatorType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "triggers") == 0)
    {
        if (__index < triggersCount)
        {
            __result = triggers[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool SceneCriterion::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);

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

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

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

    return __result;
}

bool MonitorSceneConfiguration::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, "sceneDescription") == 0)
    {
        PARAMETER_STRCPY(__value, __size, sceneDescription);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "criteriaArray") == 0)
    {
        if (__index < criteriaArrayCount)
        {
            __result = criteriaArray[__index].GetValue(&__path[__pos], __value, __size);
        }
    }
    else if (PARAMETER_STRCMP(__name, "passThreshold") == 0)
    {
        ParameterUtils::DoubleToString((double)passThreshold, __value, __size);
        __result = true;
    }

    return __result;
}

bool MonitorSceneConfiguration::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, "sceneDescription") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "criteriaArray") == 0)
    {
        if (__index < criteriaArrayCount)
        {
            __result = criteriaArray[__index].SetValue(&__path[__pos], __value);
        }
    }
    else if (PARAMETER_STRCMP(__name, "passThreshold") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            passThreshold = (float)dblValue; 
        }
    }

    return __result;
}

bool MonitorSceneConfiguration::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);

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

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

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

    return __result;
}

bool ExtensionGeneralizedMonitor::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, "monitorDescription") == 0)
    {
        PARAMETER_STRCPY(__value, __size, monitorDescription);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "scenes") == 0)
    {
        if (__index < scenesCount)
        {
            __result = scenes[__index].GetValue(&__path[__pos], __value, __size);
        }
    }

    return __result;
}

bool ExtensionGeneralizedMonitor::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, "monitorDescription") == 0)
    {
        // Cannot modify strings, risk of memory leaks or corruption
    }
    else if (PARAMETER_STRCMP(__name, "scenes") == 0)
    {
        if (__index < scenesCount)
        {
            __result = scenes[__index].SetValue(&__path[__pos], __value);
        }
    }

    return __result;
}

bool ExtensionGeneralizedMonitor::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);

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

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

    return __result;
}

bool ExtensionMonitorEVBracketLock::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, "enableEVBracketLock") == 0)
    {
        ParameterUtils::DoubleToString((double)enableEVBracketLock, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameNum") == 0)
    {
        ParameterUtils::DoubleToString((double)maxFrameNum, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "generalizedMonitor") == 0)
    {
        __result = generalizedMonitor.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionMonitorEVBracketLock::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, "enableEVBracketLock") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableEVBracketLock = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "maxFrameNum") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            maxFrameNum = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "generalizedMonitor") == 0)
    {
        __result = generalizedMonitor.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionMonitorEVBracketLock::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);

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

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

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

    return __result;
}

bool ExtensionMonitor3HDRSnapshot::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, "enable3HDRSnapshot") == 0)
    {
        ParameterUtils::DoubleToString((double)enable3HDRSnapshot, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "frameCounterEnter") == 0)
    {
        ParameterUtils::DoubleToString((double)frameCounterEnter, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "generalizedMonitor") == 0)
    {
        __result = generalizedMonitor.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionMonitor3HDRSnapshot::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, "enable3HDRSnapshot") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enable3HDRSnapshot = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "frameCounterEnter") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            frameCounterEnter = (UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "generalizedMonitor") == 0)
    {
        __result = generalizedMonitor.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionMonitor3HDRSnapshot::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);

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

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

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

    return __result;
}

bool ExtensionFlagQLL::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, "enableQLLSnapshot") == 0)
    {
        ParameterUtils::DoubleToString((double)enableQLLSnapshot, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enforceQLLSetting") == 0)
    {
        ParameterUtils::DoubleToString((double)enforceQLLSetting, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "longUnderExposure") == 0)
    {
        __result = longUnderExposure.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "shortBlendRatio") == 0)
    {
        __result = shortBlendRatio.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionFlagQLL::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, "enableQLLSnapshot") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableQLLSnapshot = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enforceQLLSetting") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enforceQLLSetting = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "longUnderExposure") == 0)
    {
        __result = longUnderExposure.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "shortBlendRatio") == 0)
    {
        __result = shortBlendRatio.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionFlagQLL::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);

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

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

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

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

    return __result;
}

bool ExtensionYHistStretch::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, "enableYHistStretch") == 0)
    {
        ParameterUtils::DoubleToString((double)enableYHistStretch, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "tempFilterStrength") == 0)
    {
        ParameterUtils::DoubleToString((double)tempFilterStrength, __value, __size);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "clampValue") == 0)
    {
        __result = clampValue.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "scalingValue") == 0)
    {
        __result = scalingValue.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionYHistStretch::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, "enableYHistStretch") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableYHistStretch = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "tempFilterStrength") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            tempFilterStrength = (float)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "clampValue") == 0)
    {
        __result = clampValue.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "scalingValue") == 0)
    {
        __result = scalingValue.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionYHistStretch::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);

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

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

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

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

    return __result;
}

bool ExtensionFlagLLS::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, "enableLLS") == 0)
    {
        ParameterUtils::DoubleToString((double)enableLLS, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "LLSLuxHysteresis") == 0)
    {
        __result = LLSLuxHysteresis.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionFlagLLS::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, "enableLLS") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableLLS = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "LLSLuxHysteresis") == 0)
    {
        __result = LLSLuxHysteresis.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionFlagLLS::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);

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

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

    return __result;
}

bool ExtensionFlagFlash::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, "flashLuxTrigger") == 0)
    {
        __result = flashLuxTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "flashFDReqestDelayLuxTrigger") == 0)
    {
        __result = flashFDReqestDelayLuxTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "enableForceAFInLEDOnMode") == 0)
    {
        ParameterUtils::DoubleToString((double)enableForceAFInLEDOnMode, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "enableFlashOnMultiLevelTrigger") == 0)
    {
        ParameterUtils::DoubleToString((double)enableFlashOnMultiLevelTrigger, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "flashOnMultiLevelTrigger") == 0)
    {
        __result = flashOnMultiLevelTrigger.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "flashTrigValueTrigger") == 0)
    {
        __result = flashTrigValueTrigger.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionFlagFlash::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, "flashLuxTrigger") == 0)
    {
        __result = flashLuxTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "flashFDReqestDelayLuxTrigger") == 0)
    {
        __result = flashFDReqestDelayLuxTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "enableForceAFInLEDOnMode") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableForceAFInLEDOnMode = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "enableFlashOnMultiLevelTrigger") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            enableFlashOnMultiLevelTrigger = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "flashOnMultiLevelTrigger") == 0)
    {
        __result = flashOnMultiLevelTrigger.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "flashTrigValueTrigger") == 0)
    {
        __result = flashTrigValueTrigger.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionFlagFlash::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);

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

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

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

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

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

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

    return __result;
}

bool ExtensionFlagsMonitor::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, "flashFlag") == 0)
    {
        __result = flashFlag.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "LLSFlag") == 0)
    {
        __result = LLSFlag.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "YHistStretch") == 0)
    {
        __result = YHistStretch.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "QLLFlag") == 0)
    {
        __result = QLLFlag.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool ExtensionFlagsMonitor::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, "flashFlag") == 0)
    {
        __result = flashFlag.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "LLSFlag") == 0)
    {
        __result = LLSFlag.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "YHistStretch") == 0)
    {
        __result = YHistStretch.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "QLLFlag") == 0)
    {
        __result = QLLFlag.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool ExtensionFlagsMonitor::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);

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

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

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

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

    return __result;
}

bool AECXExtensionType::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, "moduleID") == 0)
    {
        ParameterUtils::DoubleToString((double)(UINT32)moduleID, __value, __size, 0);
        __result = true;
    }
    else if (PARAMETER_STRCMP(__name, "flagMonitor") == 0)
    {
        __result = flagMonitor.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "monitor3HDRSnapshot") == 0)
    {
        __result = monitor3HDRSnapshot.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "monitorEVBracketLock") == 0)
    {
        __result = monitorEVBracketLock.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "verboseDebugDataEnable") == 0)
    {
        __result = verboseDebugDataEnable.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "underExposureControl") == 0)
    {
        __result = underExposureControl.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "fastHDRConv") == 0)
    {
        __result = fastHDRConv.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "monitorTorchHDRSnapshot") == 0)
    {
        __result = monitorTorchHDRSnapshot.GetValue(&__path[__pos], __value, __size);
    }
    else if (PARAMETER_STRCMP(__name, "efficientShortEstimation") == 0)
    {
        __result = efficientShortEstimation.GetValue(&__path[__pos], __value, __size);
    }

    return __result;
}

bool AECXExtensionType::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, "moduleID") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            moduleID = (aecxglobalelements::AECXModuleIDType)(UINT32)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "flagMonitor") == 0)
    {
        __result = flagMonitor.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "monitor3HDRSnapshot") == 0)
    {
        __result = monitor3HDRSnapshot.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "monitorEVBracketLock") == 0)
    {
        __result = monitorEVBracketLock.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "verboseDebugDataEnable") == 0)
    {
        __result = verboseDebugDataEnable.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "underExposureControl") == 0)
    {
        __result = underExposureControl.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "fastHDRConv") == 0)
    {
        __result = fastHDRConv.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "monitorTorchHDRSnapshot") == 0)
    {
        __result = monitorTorchHDRSnapshot.SetValue(&__path[__pos], __value);
    }
    else if (PARAMETER_STRCMP(__name, "efficientShortEstimation") == 0)
    {
        __result = efficientShortEstimation.SetValue(&__path[__pos], __value);
    }

    return __result;
}

bool AECXExtensionType::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);
    }

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

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

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

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

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

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

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

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

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

    return __result;
}

bool AECXExtensionType::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;

    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 AECXExtensionType::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;

    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 AECXExtensionType::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;

    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 AECXExtensionType::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;

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

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

    return __result;
}

bool AECXExtensionType::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;

    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 AECXExtensionType::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;

    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;
}

bool AECXExtensionType::verboseDebugDataEnableStruct::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;

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

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

    return __result;
}

bool AECXExtensionType::verboseDebugDataEnableStruct::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;

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

    if (PARAMETER_STRCMP(__name, "Metering") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            Metering = (BOOL)dblValue; 
        }
    }
    else if (PARAMETER_STRCMP(__name, "StatsList") == 0)
    {
        const double dblValue = ParameterUtils::StringToDouble(__value, __result);
        if (__result)
        {
            StatsList = (BOOL)dblValue; 
        }
    }

    return __result;
}

bool AECXExtensionType::verboseDebugDataEnableStruct::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;

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

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

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

    return __result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @brief Read enum value
/// @param entry [in] Symbol table entry
/// @param enumValue [out] Enum value to read
/// @param alignment [in] Symbol table byte alignment
/// @return true if successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ReadEnum_ESESceneChangeStageType(
    ParameterFileSymbolTableEntry* const entry,
    ESESceneChangeStageType& enumValue,
    BYTE const alignment)
{
    bool result {false};

    UINT32 uintValue {entry->ReadEnum(&result, alignment)};

    if (result)
    {
        switch (uintValue)
        {
        case static_cast<UINT32>(ESESceneChangeStageType::UnstableStage):
            enumValue = ESESceneChangeStageType::UnstableStage;
            result    = true;
            break;
        case static_cast<UINT32>(ESESceneChangeStageType::StableStage):
            enumValue = ESESceneChangeStageType::StableStage;
            result    = true;
            break;
        default:
            PARAMETER_LOG_ERROR(entry->SetManager, "Invalid value(% u) converting UINT32 to ESESceneChangeStageType", uintValue);
            break;
        }
    }
    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @brief Read enum value
/// @param entry [in] Symbol table entry
/// @param enumValue [out] Enum value to read
/// @param alignment [in] Symbol table byte alignment
/// @return true if successful
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ReadEnum_MonitorDataCalculatorType(
    ParameterFileSymbolTableEntry* const entry,
    MonitorDataCalculatorType& enumValue,
    BYTE const alignment)
{
    bool result {false};

    UINT32 uintValue {entry->ReadEnum(&result, alignment)};

    if (result)
    {
        switch (uintValue)
        {
        case static_cast<UINT32>(MonitorDataCalculatorType::OriginalData):
            enumValue = MonitorDataCalculatorType::OriginalData;
            result    = true;
            break;
        case static_cast<UINT32>(MonitorDataCalculatorType::AbsoluteDifference):
            enumValue = MonitorDataCalculatorType::AbsoluteDifference;
            result    = true;
            break;
        case static_cast<UINT32>(MonitorDataCalculatorType::AbsoluteDifferencePercentage):
            enumValue = MonitorDataCalculatorType::AbsoluteDifferencePercentage;
            result    = true;
            break;
        case static_cast<UINT32>(MonitorDataCalculatorType::Division):
            enumValue = MonitorDataCalculatorType::Division;
            result    = true;
            break;
        default:
            PARAMETER_LOG_ERROR(entry->SetManager, "Invalid value(% u) converting UINT32 to MonitorDataCalculatorType", uintValue);
            break;
        }
    }
    return result;
}


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Default Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AECXExtensionTypeClass::AECXExtensionTypeClass(
    const CHAR* const name)
    : ParameterModule(name, MAJOR, MINOR, PATCH, nullptr)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(flagMonitor);
    PARAMETER_INITIALIZE(monitor3HDRSnapshot);
    PARAMETER_INITIALIZE(monitorEVBracketLock);
    PARAMETER_INITIALIZE(verboseDebugDataEnable);
    PARAMETER_INITIALIZE(underExposureControl);
    PARAMETER_INITIALIZE(fastHDRConv);
    PARAMETER_INITIALIZE(monitorTorchHDRSnapshot);
    PARAMETER_INITIALIZE(efficientShortEstimation);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Constructor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
AECXExtensionTypeClass::AECXExtensionTypeClass(
    const CHAR* const name,
    ModuleData* const moduleData)
    : ParameterModule(name, MAJOR, MINOR, PATCH, moduleData)
{
    PARAMETER_INITIALIZE(SymbolTableID);
    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(flagMonitor);
    PARAMETER_INITIALIZE(monitor3HDRSnapshot);
    PARAMETER_INITIALIZE(monitorEVBracketLock);
    PARAMETER_INITIALIZE(verboseDebugDataEnable);
    PARAMETER_INITIALIZE(underExposureControl);
    PARAMETER_INITIALIZE(fastHDRConv);
    PARAMETER_INITIALIZE(monitorTorchHDRSnapshot);
    PARAMETER_INITIALIZE(efficientShortEstimation);
}

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

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// GetName
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
const CHAR* AECXExtensionTypeClass::GetName(
    const CHAR* const type)
{
    const CHAR* name = type;
    CHAR temp[ParameterFileSymbolTableEntry::TYPE_LEN + 1];
    if (PARAMETER_STRCMP(type, ModuleData::GetType(temp, "aecxextension")) == 0)
    {
        name = "aecxextension";
    }
    return name;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMainCoreParamType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMainCoreParamType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(aggressiveness);
    PARAMETER_INITIALIZE(value);

    result = aggressiveness.Load(entry, alignment);

    // Reading Array value from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        valueCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, valueCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            valueID = pointerEntry->ID;
            DupObjInfo* valueDupInfo = pointerEntry->GetDupObject(valueCount, file, line);
            if (valueDupInfo != nullptr && valueDupInfo->Object != nullptr)
            {
                value = (aecxglobalelements::StartEndType*)valueDupInfo->Object;
                if (value == nullptr)
                {
                    if (valueDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "value duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            valueDupInfo->File, valueDupInfo->Line, valueDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "value duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            valueDupInfo->Line, valueDupInfo->RefCount);
                    }
                }
            }

            if (value == nullptr)
            {
                if (result && valueCount > 0)
                {
                    value = PARAMETER_NEW aecxglobalelements::StartEndType[valueCount];
                    (void)pointerEntry->SetDupObject(value, valueCount, file, line);
                }
                if (!result || value == nullptr)
                {
                    if (valueCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate value\n");
                    }
                    valueCount = 0;
                }
                for (UINT32 i = 0; result && i < valueCount; i++)
                {
                    result = value[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (value == nullptr)
        {
            valueCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESESCUnstableStageType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESESCUnstableStageType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(adrcDeltaThres);
    PARAMETER_INITIALIZE(frameCountThres);

    SYMBOL_TABLE_ENTRY_READ(entry, result, adrcDeltaThres, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, frameCountThres, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESESCStableStageType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESESCStableStageType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(adrcDeltaThres);
    PARAMETER_INITIALIZE(frameCountThres);

    SYMBOL_TABLE_ENTRY_READ(entry, result, adrcDeltaThres, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, frameCountThres, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESESceneChangeParamType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESESceneChangeParamType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(initStage);
    PARAMETER_INITIALIZE(stableStage);
    PARAMETER_INITIALIZE(unstableStage);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable, alignment)
    if (result)
    {
        result = aecxextension::ReadEnum_ESESceneChangeStageType(entry, initStage, alignment);
    }
    if (result)
    {
        result = stableStage.Load(entry, alignment);
    }
    if (result)
    {
        result = unstableStage.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMaxAdjustParamDataType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMaxAdjustParamDataType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(adrcReductionMax);
    PARAMETER_INITIALIZE(satRatioMax);

    SYMBOL_TABLE_ENTRY_READ(entry, result, adrcReductionMax, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, satRatioMax, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMaxAdjustThreeLevelTriggerSystemEndLevelType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMaxAdjustThreeLevelTriggerSystemEndLevelType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(trigger);
    PARAMETER_INITIALIZE(triggerData);

    result = trigger.Load(entry, alignment);
    if (result)
    {
        result = triggerData.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMaxAdjustThreeLevelTriggerSystemLevel2Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMaxAdjustThreeLevelTriggerSystemLevel2Type::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(trigger);
    PARAMETER_INITIALIZE(trigger3Data);

    result = trigger.Load(entry, alignment);

    // Reading Array trigger3Data from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        trigger3DataCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, trigger3DataCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            trigger3DataID = pointerEntry->ID;
            DupObjInfo* trigger3DataDupInfo = pointerEntry->GetDupObject(trigger3DataCount, file, line);
            if (trigger3DataDupInfo != nullptr && trigger3DataDupInfo->Object != nullptr)
            {
                trigger3Data = (ESEMaxAdjustThreeLevelTriggerSystemEndLevelType*)trigger3DataDupInfo->Object;
                if (trigger3Data == nullptr)
                {
                    if (trigger3DataDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger3Data duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            trigger3DataDupInfo->File, trigger3DataDupInfo->Line, trigger3DataDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger3Data duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            trigger3DataDupInfo->Line, trigger3DataDupInfo->RefCount);
                    }
                }
            }

            if (trigger3Data == nullptr)
            {
                if (result && trigger3DataCount > 0)
                {
                    trigger3Data = PARAMETER_NEW ESEMaxAdjustThreeLevelTriggerSystemEndLevelType[trigger3DataCount];
                    (void)pointerEntry->SetDupObject(trigger3Data, trigger3DataCount, file, line);
                }
                if (!result || trigger3Data == nullptr)
                {
                    if (trigger3DataCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate trigger3Data\n");
                    }
                    trigger3DataCount = 0;
                }
                for (UINT32 i = 0; result && i < trigger3DataCount; i++)
                {
                    result = trigger3Data[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (trigger3Data == nullptr)
        {
            trigger3DataCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMaxAdjustThreeLevelTriggerSystemLevel1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMaxAdjustThreeLevelTriggerSystemLevel1Type::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(trigger);
    PARAMETER_INITIALIZE(trigger2Data);

    result = trigger.Load(entry, alignment);

    // Reading Array trigger2Data from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        trigger2DataCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, trigger2DataCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            trigger2DataID = pointerEntry->ID;
            DupObjInfo* trigger2DataDupInfo = pointerEntry->GetDupObject(trigger2DataCount, file, line);
            if (trigger2DataDupInfo != nullptr && trigger2DataDupInfo->Object != nullptr)
            {
                trigger2Data = (ESEMaxAdjustThreeLevelTriggerSystemLevel2Type*)trigger2DataDupInfo->Object;
                if (trigger2Data == nullptr)
                {
                    if (trigger2DataDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger2Data duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            trigger2DataDupInfo->File, trigger2DataDupInfo->Line, trigger2DataDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger2Data duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            trigger2DataDupInfo->Line, trigger2DataDupInfo->RefCount);
                    }
                }
            }

            if (trigger2Data == nullptr)
            {
                if (result && trigger2DataCount > 0)
                {
                    trigger2Data = PARAMETER_NEW ESEMaxAdjustThreeLevelTriggerSystemLevel2Type[trigger2DataCount];
                    (void)pointerEntry->SetDupObject(trigger2Data, trigger2DataCount, file, line);
                }
                if (!result || trigger2Data == nullptr)
                {
                    if (trigger2DataCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate trigger2Data\n");
                    }
                    trigger2DataCount = 0;
                }
                for (UINT32 i = 0; result && i < trigger2DataCount; i++)
                {
                    result = trigger2Data[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (trigger2Data == nullptr)
        {
            trigger2DataCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEMaxAdjustThreeLevelTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEMaxAdjustThreeLevelTriggerSystemType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(trigger1DataBank);
    PARAMETER_INITIALIZE(trigger2DataBank);
    PARAMETER_INITIALIZE(trigger3DataBank);
    PARAMETER_INITIALIZE(trigger1Data);

    result = trigger1DataBank.Load(entry, alignment);
    if (result)
    {
        result = trigger2DataBank.Load(entry, alignment);
    }
    if (result)
    {
        result = trigger3DataBank.Load(entry, alignment);
    }

    // Reading Array trigger1Data from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        trigger1DataCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, trigger1DataCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            trigger1DataID = pointerEntry->ID;
            DupObjInfo* trigger1DataDupInfo = pointerEntry->GetDupObject(trigger1DataCount, file, line);
            if (trigger1DataDupInfo != nullptr && trigger1DataDupInfo->Object != nullptr)
            {
                trigger1Data = (ESEMaxAdjustThreeLevelTriggerSystemLevel1Type*)trigger1DataDupInfo->Object;
                if (trigger1Data == nullptr)
                {
                    if (trigger1DataDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger1Data duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            trigger1DataDupInfo->File, trigger1DataDupInfo->Line, trigger1DataDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "trigger1Data duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            trigger1DataDupInfo->Line, trigger1DataDupInfo->RefCount);
                    }
                }
            }

            if (trigger1Data == nullptr)
            {
                if (result && trigger1DataCount > 0)
                {
                    trigger1Data = PARAMETER_NEW ESEMaxAdjustThreeLevelTriggerSystemLevel1Type[trigger1DataCount];
                    (void)pointerEntry->SetDupObject(trigger1Data, trigger1DataCount, file, line);
                }
                if (!result || trigger1Data == nullptr)
                {
                    if (trigger1DataCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate trigger1Data\n");
                    }
                    trigger1DataCount = 0;
                }
                for (UINT32 i = 0; result && i < trigger1DataCount; i++)
                {
                    result = trigger1Data[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (trigger1Data == nullptr)
        {
            trigger1DataCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEEntryParamType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEEntryParamType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(satRatio);
    PARAMETER_INITIALIZE(adrc);

    SYMBOL_TABLE_ENTRY_READ(entry, result, satRatio, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, adrc, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESESaturationLumaRangeType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESESaturationLumaRangeType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(start);
    PARAMETER_INITIALIZE(end);

    SYMBOL_TABLE_ENTRY_READ(entry, result, start, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, end, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ESEStatsSelectionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ESEStatsSelectionType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(channel1);
    PARAMETER_INITIALIZE(channel2);


    // Reading String channel1 from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, channel1, count, alignment)
    }

    // Reading String channel2 from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, channel2, count, alignment)
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionEfficientShortEstimType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionEfficientShortEstimType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(statSelection);
    PARAMETER_INITIALIZE(satLumaRange);
    PARAMETER_INITIALIZE(entryParam);
    PARAMETER_INITIALIZE(maxAdjustParam);
    PARAMETER_INITIALIZE(sceneChangeParam);
    PARAMETER_INITIALIZE(mainCoreParam);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable, alignment)
    if (result)
    {
        result = statSelection.Load(entry, alignment);
    }
    if (result)
    {
        result = satLumaRange.Load(entry, alignment);
    }
    if (result)
    {
        result = entryParam.Load(entry, alignment);
    }
    if (result)
    {
        result = maxAdjustParam.Load(entry, alignment);
    }
    if (result)
    {
        result = sceneChangeParam.Load(entry, alignment);
    }
    if (result)
    {
        result = mainCoreParam.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionMonitorTorchHDRSnapshot
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionMonitorTorchHDRSnapshot::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableTorchHDRSnapshot);
    PARAMETER_INITIALIZE(triggerHDRStableCountThreshold);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableTorchHDRSnapshot, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, triggerHDRStableCountThreshold, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFastHDRConvMotionEnable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFastHDRConvMotionEnable::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(input);
    PARAMETER_INITIALIZE(coreMotionData);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable, alignment)
    if (result)
    {
        result = input.Load(entry, alignment);
    }
    if (result)
    {
        result = coreMotionData.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFastHDRConvMotionEnable_coreMotionDataStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFastHDRConvMotionEnable::coreMotionDataStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(data1);
    PARAMETER_INITIALIZE(data2);

    result = data1.Load(entry, alignment);
    SYMBOL_TABLE_ENTRY_READ(entry, result, data2, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFastHDRConvergence
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFastHDRConvergence::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable);
    PARAMETER_INITIALIZE(sensorModeBasedEnable);
    PARAMETER_INITIALIZE(motionBasedEnable);
    PARAMETER_INITIALIZE(sceneBasedEnable);
    PARAMETER_INITIALIZE(enableQuickStartup);
    PARAMETER_INITIALIZE(statsSelection);
    PARAMETER_INITIALIZE(statsQualityControl);
    PARAMETER_INITIALIZE(reservedParameters);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable, alignment)
    if (result)
    {
        result = sensorModeBasedEnable.Load(entry, alignment);
    }
    if (result)
    {
        result = motionBasedEnable.Load(entry, alignment);
    }
    if (result)
    {
        result = sceneBasedEnable.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableQuickStartup, alignment)

    // Reading String statsSelection from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, statsSelection, count, alignment)
    }
    if (result)
    {
        result = statsQualityControl.Load(entry, alignment);
    }
    if (result)
    {
        result = entry->ReadArray(reservedParameters, 10, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFastHDRConvergence_sensorModeBasedEnableStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFastHDRConvergence::sensorModeBasedEnableStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(sensor1ExpMode);
    PARAMETER_INITIALIZE(sensor2ExpMode);
    PARAMETER_INITIALIZE(sensor3ExpMode);
    PARAMETER_INITIALIZE(sensor4ExpMode);

    SYMBOL_TABLE_ENTRY_READ(entry, result, sensor1ExpMode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, sensor2ExpMode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, sensor3ExpMode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, sensor4ExpMode, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFastHDRConvergence_statsQualityControlStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFastHDRConvergence::statsQualityControlStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(data1);
    PARAMETER_INITIALIZE(data2);

    result = data1.Load(entry, alignment);
    SYMBOL_TABLE_ENTRY_READ(entry, result, data2, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load StartupAutoHDRType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool StartupAutoHDRType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableDiscardShortAtStartup);
    PARAMETER_INITIALIZE(maxADRCFor1ExposureStart);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableDiscardShortAtStartup, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, maxADRCFor1ExposureStart, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionAutoHDRType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionAutoHDRType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableAutoHDR);
    PARAMETER_INITIALIZE(allowSkipSwitch);
    PARAMETER_INITIALIZE(enableEarlyArbitration);
    PARAMETER_INITIALIZE(switchDelayThresh);
    PARAMETER_INITIALIZE(switchStableThresh);
    PARAMETER_INITIALIZE(enableFPSAdjust);
    PARAMETER_INITIALIZE(fpsAdjThresh);
    PARAMETER_INITIALIZE(toleranceTrigger);
    PARAMETER_INITIALIZE(compensationGains);
    PARAMETER_INITIALIZE(startup);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableAutoHDR, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, allowSkipSwitch, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableEarlyArbitration, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, switchDelayThresh, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, switchStableThresh, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableFPSAdjust, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, fpsAdjThresh, alignment)
    if (result)
    {
        result = toleranceTrigger.Load(entry, alignment);
    }

    // Reading Array compensationGains from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        compensationGainsCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, compensationGainsCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            compensationGainsID = pointerEntry->ID;
            DupObjInfo* compensationGainsDupInfo = pointerEntry->GetDupObject(compensationGainsCount, file, line);
            if (compensationGainsDupInfo != nullptr && compensationGainsDupInfo->Object != nullptr)
            {
                compensationGains = (float*)compensationGainsDupInfo->Object;
                if (compensationGains == nullptr)
                {
                    if (compensationGainsDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "compensationGains duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            compensationGainsDupInfo->File, compensationGainsDupInfo->Line, compensationGainsDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "compensationGains duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            compensationGainsDupInfo->Line, compensationGainsDupInfo->RefCount);
                    }
                }
            }

            if (compensationGains == nullptr)
            {
                if (result && compensationGainsCount > 0)
                {
                    compensationGains = pointerEntry->ReadArray<float>(compensationGainsCount, alignment);
                    result = compensationGains != nullptr;
                }
                if (!result || compensationGains == nullptr)
                {
                    if (compensationGainsCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate compensationGains\n");
                    }
                    compensationGainsCount = 0;
                }
            }
        }
        if (compensationGains == nullptr)
        {
            compensationGainsCount = 0;
        }
    }
    if (result)
    {
        result = startup.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionUnderExposureType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionUnderExposureType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(underExposureTrigger);
    PARAMETER_INITIALIZE(torchHDRExposureTrigger);
    PARAMETER_INITIALIZE(autoHDRTuning);
    PARAMETER_INITIALIZE(enableLowLightADRC);

    result = underExposureTrigger.Load(entry, alignment);
    if (result)
    {
        result = torchHDRExposureTrigger.Load(entry, alignment);
    }
    if (result)
    {
        result = autoHDRTuning.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableLowLightADRC, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load SceneCriterion
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool SceneCriterion::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(dataBankSource);
    PARAMETER_INITIALIZE(postCalculation);
    PARAMETER_INITIALIZE(triggers);

    result = dataBankSource.Load(entry, alignment);
    if (result)
    {
        result = aecxextension::ReadEnum_MonitorDataCalculatorType(entry, postCalculation, alignment);
    }

    // Reading Array triggers from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        triggersCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, triggersCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            triggersID = pointerEntry->ID;
            DupObjInfo* triggersDupInfo = pointerEntry->GetDupObject(triggersCount, file, line);
            if (triggersDupInfo != nullptr && triggersDupInfo->Object != nullptr)
            {
                triggers = (aecxglobalelements::TriggerSystemEndLevelType*)triggersDupInfo->Object;
                if (triggers == nullptr)
                {
                    if (triggersDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "triggers duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            triggersDupInfo->File, triggersDupInfo->Line, triggersDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "triggers duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            triggersDupInfo->Line, triggersDupInfo->RefCount);
                    }
                }
            }

            if (triggers == nullptr)
            {
                if (result && triggersCount > 0)
                {
                    triggers = PARAMETER_NEW aecxglobalelements::TriggerSystemEndLevelType[triggersCount];
                    (void)pointerEntry->SetDupObject(triggers, triggersCount, file, line);
                }
                if (!result || triggers == nullptr)
                {
                    if (triggersCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate triggers\n");
                    }
                    triggersCount = 0;
                }
                for (UINT32 i = 0; result && i < triggersCount; i++)
                {
                    result = triggers[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (triggers == nullptr)
        {
            triggersCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load MonitorSceneConfiguration
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool MonitorSceneConfiguration::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(sceneDescription);
    PARAMETER_INITIALIZE(criteriaArray);
    PARAMETER_INITIALIZE(passThreshold);


    // Reading String sceneDescription from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, sceneDescription, count, alignment)
    }

    // Reading Array criteriaArray from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        criteriaArrayCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, criteriaArrayCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            criteriaArrayID = pointerEntry->ID;
            DupObjInfo* criteriaArrayDupInfo = pointerEntry->GetDupObject(criteriaArrayCount, file, line);
            if (criteriaArrayDupInfo != nullptr && criteriaArrayDupInfo->Object != nullptr)
            {
                criteriaArray = (SceneCriterion*)criteriaArrayDupInfo->Object;
                if (criteriaArray == nullptr)
                {
                    if (criteriaArrayDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "criteriaArray duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            criteriaArrayDupInfo->File, criteriaArrayDupInfo->Line, criteriaArrayDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "criteriaArray duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            criteriaArrayDupInfo->Line, criteriaArrayDupInfo->RefCount);
                    }
                }
            }

            if (criteriaArray == nullptr)
            {
                if (result && criteriaArrayCount > 0)
                {
                    criteriaArray = PARAMETER_NEW SceneCriterion[criteriaArrayCount];
                    (void)pointerEntry->SetDupObject(criteriaArray, criteriaArrayCount, file, line);
                }
                if (!result || criteriaArray == nullptr)
                {
                    if (criteriaArrayCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate criteriaArray\n");
                    }
                    criteriaArrayCount = 0;
                }
                for (UINT32 i = 0; result && i < criteriaArrayCount; i++)
                {
                    result = criteriaArray[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (criteriaArray == nullptr)
        {
            criteriaArrayCount = 0;
        }
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, passThreshold, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionGeneralizedMonitor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionGeneralizedMonitor::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(monitorDescription);
    PARAMETER_INITIALIZE(scenes);


    // Reading String monitorDescription from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, monitorDescription, count, alignment)
    }

    // Reading Array scenes from symbol table
    // Do not check result value here because the count value needs to be initialized in this block
    {
        scenesCount = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, scenesCount, alignment)
        constexpr const CHAR* const file {__FILE__};
        constexpr INT32 line {LINE_CONST};
        ParameterFileSymbolTableEntry  pointerEntryCls;
        ParameterFileSymbolTableEntry* const pointerEntry = &pointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(pointerEntryCls, entry, alignment);
        }

        if (result)
        {
            scenesID = pointerEntry->ID;
            DupObjInfo* scenesDupInfo = pointerEntry->GetDupObject(scenesCount, file, line);
            if (scenesDupInfo != nullptr && scenesDupInfo->Object != nullptr)
            {
                scenes = (MonitorSceneConfiguration*)scenesDupInfo->Object;
                if (scenes == nullptr)
                {
                    if (scenesDupInfo->File != nullptr)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "scenes duplicate found but object is nullptr: %s:%d, RefCount: %d\n",
                            scenesDupInfo->File, scenesDupInfo->Line, scenesDupInfo->RefCount);
                    }
                    else
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "scenes duplicate found but Object is nullptr: <nullptr file ptr>:%d, RefCount: %d\n",
                            scenesDupInfo->Line, scenesDupInfo->RefCount);
                    }
                }
            }

            if (scenes == nullptr)
            {
                if (result && scenesCount > 0)
                {
                    scenes = PARAMETER_NEW MonitorSceneConfiguration[scenesCount];
                    (void)pointerEntry->SetDupObject(scenes, scenesCount, file, line);
                }
                if (!result || scenes == nullptr)
                {
                    if (scenesCount > 0)
                    {
                        PARAMETER_LOG_ERROR(entry->SetManager, "Failed to allocate scenes\n");
                    }
                    scenesCount = 0;
                }
                for (UINT32 i = 0; result && i < scenesCount; i++)
                {
                    result = scenes[i].Load(pointerEntry, alignment);
                }
            }
        }
        if (scenes == nullptr)
        {
            scenesCount = 0;
        }
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionMonitorEVBracketLock
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionMonitorEVBracketLock::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableEVBracketLock);
    PARAMETER_INITIALIZE(maxFrameNum);
    PARAMETER_INITIALIZE(generalizedMonitor);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableEVBracketLock, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, maxFrameNum, alignment)
    if (result)
    {
        result = generalizedMonitor.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionMonitor3HDRSnapshot
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionMonitor3HDRSnapshot::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enable3HDRSnapshot);
    PARAMETER_INITIALIZE(frameCounterEnter);
    PARAMETER_INITIALIZE(generalizedMonitor);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enable3HDRSnapshot, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, frameCounterEnter, alignment)
    if (result)
    {
        result = generalizedMonitor.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFlagQLL
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFlagQLL::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableQLLSnapshot);
    PARAMETER_INITIALIZE(enforceQLLSetting);
    PARAMETER_INITIALIZE(longUnderExposure);
    PARAMETER_INITIALIZE(shortBlendRatio);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableQLLSnapshot, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, enforceQLLSetting, alignment)
    if (result)
    {
        result = longUnderExposure.Load(entry, alignment);
    }
    if (result)
    {
        result = shortBlendRatio.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionYHistStretch
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionYHistStretch::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableYHistStretch);
    PARAMETER_INITIALIZE(tempFilterStrength);
    PARAMETER_INITIALIZE(clampValue);
    PARAMETER_INITIALIZE(scalingValue);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableYHistStretch, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, tempFilterStrength, alignment)
    if (result)
    {
        result = clampValue.Load(entry, alignment);
    }
    if (result)
    {
        result = scalingValue.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFlagLLS
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFlagLLS::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(enableLLS);
    PARAMETER_INITIALIZE(LLSLuxHysteresis);

    SYMBOL_TABLE_ENTRY_READ(entry, result, enableLLS, alignment)
    if (result)
    {
        result = LLSLuxHysteresis.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFlagFlash
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFlagFlash::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(flashLuxTrigger);
    PARAMETER_INITIALIZE(flashFDReqestDelayLuxTrigger);
    PARAMETER_INITIALIZE(enableForceAFInLEDOnMode);
    PARAMETER_INITIALIZE(enableFlashOnMultiLevelTrigger);
    PARAMETER_INITIALIZE(flashOnMultiLevelTrigger);
    PARAMETER_INITIALIZE(flashTrigValueTrigger);

    result = flashLuxTrigger.Load(entry, alignment);
    if (result)
    {
        result = flashFDReqestDelayLuxTrigger.Load(entry, alignment);
    }
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableForceAFInLEDOnMode, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, enableFlashOnMultiLevelTrigger, alignment)
    if (result)
    {
        result = flashOnMultiLevelTrigger.Load(entry, alignment);
    }
    if (result)
    {
        result = flashTrigValueTrigger.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load ExtensionFlagsMonitor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool ExtensionFlagsMonitor::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(flashFlag);
    PARAMETER_INITIALIZE(LLSFlag);
    PARAMETER_INITIALIZE(YHistStretch);
    PARAMETER_INITIALIZE(QLLFlag);

    result = flashFlag.Load(entry, alignment);
    if (result)
    {
        result = LLSFlag.Load(entry, alignment);
    }
    if (result)
    {
        result = YHistStretch.Load(entry, alignment);
    }
    if (result)
    {
        result = QLLFlag.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load AECXExtensionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool AECXExtensionType::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(module_version);
    PARAMETER_INITIALIZE(parameter_version);
    PARAMETER_INITIALIZE(moduleID);
    PARAMETER_INITIALIZE(flagMonitor);
    PARAMETER_INITIALIZE(monitor3HDRSnapshot);
    PARAMETER_INITIALIZE(monitorEVBracketLock);
    PARAMETER_INITIALIZE(verboseDebugDataEnable);
    PARAMETER_INITIALIZE(underExposureControl);
    PARAMETER_INITIALIZE(fastHDRConv);
    PARAMETER_INITIALIZE(monitorTorchHDRSnapshot);
    PARAMETER_INITIALIZE(efficientShortEstimation);

    result = module_version.Load(entry, alignment);
    if (result)
    {
        result = parameter_version.Load(entry, alignment);
    }
    if (result)
    {
        result = aecxglobalelements::ReadEnum_AECXModuleIDType(entry, moduleID, alignment);
    }
    if (result)
    {
        result = flagMonitor.Load(entry, alignment);
    }
    if (result)
    {
        result = monitor3HDRSnapshot.Load(entry, alignment);
    }
    if (result)
    {
        result = monitorEVBracketLock.Load(entry, alignment);
    }
    if (result)
    {
        result = verboseDebugDataEnable.Load(entry, alignment);
    }
    if (result)
    {
        result = underExposureControl.Load(entry, alignment);
    }
    if (result)
    {
        result = fastHDRConv.Load(entry, alignment);
    }
    if (result)
    {
        result = monitorTorchHDRSnapshot.Load(entry, alignment);
    }
    if (result)
    {
        result = efficientShortEstimation.Load(entry, alignment);
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load module_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool AECXExtensionType::module_versionStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(major_revision);
    PARAMETER_INITIALIZE(minor_revision);
    PARAMETER_INITIALIZE(incr_revision);

    SYMBOL_TABLE_ENTRY_READ(entry, result, major_revision, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, minor_revision, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, incr_revision, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool AECXExtensionType::parameter_versionStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(revision);


    // Reading String revision from symbol table
    {
        UINT32 count = 0;
        SYMBOL_TABLE_ENTRY_READ(entry, result, count, alignment)
        ParameterFileSymbolTableEntry stringPointerEntryCls;
        ParameterFileSymbolTableEntry* const stringPointerEntry = &stringPointerEntryCls;
        if (result)
        {
            result = entry->Table->ReadPointerEntry(stringPointerEntryCls, entry, alignment);
        }
        SYMBOL_TABLE_ENTRY_READ_STRING(stringPointerEntry, result, revision, count, alignment)
    }

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Load verboseDebugDataEnableStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
bool AECXExtensionType::verboseDebugDataEnableStruct::Load(
    ParameterFileSymbolTableEntry* const entry,
    BYTE const alignment)
{
    bool result = true;

    PARAMETER_INITIALIZE(Metering);
    PARAMETER_INITIALIZE(StatsList);

    SYMBOL_TABLE_ENTRY_READ(entry, result, Metering, alignment)
    SYMBOL_TABLE_ENTRY_READ(entry, result, StatsList, alignment)

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ESEMainCoreParamType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ESEMainCoreParamType::Unload(ParameterFileSymbolTable* const __table)
{
    aggressiveness.Unload(__table);
    if (__table != nullptr && __table->ReleaseDupObject(value))
    {
        PARAMETER_DELETE[] value;
    }
    value = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ESEMaxAdjustThreeLevelTriggerSystemLevel2Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ESEMaxAdjustThreeLevelTriggerSystemLevel2Type::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(trigger3Data))
    {
        PARAMETER_DELETE[] trigger3Data;
    }
    trigger3Data = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ESEMaxAdjustThreeLevelTriggerSystemLevel1Type
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ESEMaxAdjustThreeLevelTriggerSystemLevel1Type::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; i < trigger2DataCount; i++)
    {
        trigger2Data[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(trigger2Data))
    {
        PARAMETER_DELETE[] trigger2Data;
    }
    trigger2Data = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ESEMaxAdjustThreeLevelTriggerSystemType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ESEMaxAdjustThreeLevelTriggerSystemType::Unload(ParameterFileSymbolTable* const __table)
{
    for (UINT32 i = 0; i < trigger1DataCount; i++)
    {
        trigger1Data[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(trigger1Data))
    {
        PARAMETER_DELETE[] trigger1Data;
    }
    trigger1Data = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ESEStatsSelectionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ESEStatsSelectionType::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(channel1))
    {
        PARAMETER_DELETE[] channel1;
    }
    channel1 = nullptr;
    if (__table != nullptr && __table->ReleaseDupObject(channel2))
    {
        PARAMETER_DELETE[] channel2;
    }
    channel2 = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionEfficientShortEstimType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionEfficientShortEstimType::Unload(ParameterFileSymbolTable* const __table)
{
    statSelection.Unload(__table);
    maxAdjustParam.Unload(__table);
    mainCoreParam.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFastHDRConvMotionEnable
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFastHDRConvMotionEnable::Unload(ParameterFileSymbolTable* const __table)
{
    coreMotionData.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFastHDRConvMotionEnable_coreMotionDataStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFastHDRConvMotionEnable::coreMotionDataStruct::Unload(ParameterFileSymbolTable* const __table)
{
    data1.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFastHDRConvergence
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFastHDRConvergence::Unload(ParameterFileSymbolTable* const __table)
{
    motionBasedEnable.Unload(__table);
    sceneBasedEnable.Unload(__table);
    if (__table != nullptr && __table->ReleaseDupObject(statsSelection))
    {
        PARAMETER_DELETE[] statsSelection;
    }
    statsSelection = nullptr;
    statsQualityControl.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFastHDRConvergence_statsQualityControlStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFastHDRConvergence::statsQualityControlStruct::Unload(ParameterFileSymbolTable* const __table)
{
    data1.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionAutoHDRType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionAutoHDRType::Unload(ParameterFileSymbolTable* const __table)
{
    toleranceTrigger.Unload(__table);
    if (__table != nullptr && __table->ReleaseDupObject(compensationGains))
    {
        PARAMETER_DELETE[] compensationGains;
    }
    compensationGains = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionUnderExposureType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionUnderExposureType::Unload(ParameterFileSymbolTable* const __table)
{
    underExposureTrigger.Unload(__table);
    torchHDRExposureTrigger.Unload(__table);
    autoHDRTuning.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload SceneCriterion
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void SceneCriterion::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(triggers))
    {
        PARAMETER_DELETE[] triggers;
    }
    triggers = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload MonitorSceneConfiguration
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void MonitorSceneConfiguration::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(sceneDescription))
    {
        PARAMETER_DELETE[] sceneDescription;
    }
    sceneDescription = nullptr;
    for (UINT32 i = 0; i < criteriaArrayCount; i++)
    {
        criteriaArray[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(criteriaArray))
    {
        PARAMETER_DELETE[] criteriaArray;
    }
    criteriaArray = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionGeneralizedMonitor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionGeneralizedMonitor::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(monitorDescription))
    {
        PARAMETER_DELETE[] monitorDescription;
    }
    monitorDescription = nullptr;
    for (UINT32 i = 0; i < scenesCount; i++)
    {
        scenes[i].Unload(__table);
    }
    if (__table != nullptr && __table->ReleaseDupObject(scenes))
    {
        PARAMETER_DELETE[] scenes;
    }
    scenes = nullptr;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionMonitorEVBracketLock
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionMonitorEVBracketLock::Unload(ParameterFileSymbolTable* const __table)
{
    generalizedMonitor.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionMonitor3HDRSnapshot
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionMonitor3HDRSnapshot::Unload(ParameterFileSymbolTable* const __table)
{
    generalizedMonitor.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFlagQLL
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFlagQLL::Unload(ParameterFileSymbolTable* const __table)
{
    longUnderExposure.Unload(__table);
    shortBlendRatio.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFlagFlash
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFlagFlash::Unload(ParameterFileSymbolTable* const __table)
{
    flashOnMultiLevelTrigger.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload ExtensionFlagsMonitor
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void ExtensionFlagsMonitor::Unload(ParameterFileSymbolTable* const __table)
{
    flashFlag.Unload(__table);
    QLLFlag.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload AECXExtensionType
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXExtensionType::Unload(ParameterFileSymbolTable* const __table)
{
    parameter_version.Unload(__table);
    flagMonitor.Unload(__table);
    monitor3HDRSnapshot.Unload(__table);
    monitorEVBracketLock.Unload(__table);
    underExposureControl.Unload(__table);
    fastHDRConv.Unload(__table);
    efficientShortEstimation.Unload(__table);
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload parameter_versionStruct
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXExtensionType::parameter_versionStruct::Unload(ParameterFileSymbolTable* const __table)
{
    if (__table != nullptr && __table->ReleaseDupObject(revision))
    {
        PARAMETER_DELETE[] revision;
    }
    revision = nullptr;
}

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

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

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

    if (PARAMETER_STRCMP(Type, moduleData->Type) == 0 && 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 = (AECXExtensionTypeClass*)module;
        }
        else
        {
            cls = PARAMETER_NEW AECXExtensionTypeClass(GetName(moduleData->Type), moduleData);
            cls->SymbolTableID = id;
            defModule->AddModule((ParameterModule*)cls);
        }
    }
    else if (Version.Value != moduleData->Version.Value)
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create AECXExtensionTypeClass, binary version (%lld) does not match source version (%lld)\n",
            moduleData->Version.Value, Version.Value);
    }
    else
    {
        PARAMETER_LOG_ERROR(moduleData->SetManager, "Unable to create AECXExtensionTypeClass, binary name (%s) does not match source name (%s)\n",
            moduleData->Type, Type);
    }

    return (ParameterModule*)cls;
}

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

    if (!Loaded)
    {
        BYTE const alignment = table->Alignment;
        AECXExtensionTypeClass* 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 & 0x00ffffff);

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

        if (result)
        {
            result = cls->Load(entry, alignment);
        }
        Modified++;
        Loaded = true;
    }

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

    return result;
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// Unload module data
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void AECXExtensionTypeClass::UnloadModule()
{
    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 AECXExtensionTypeClass::Release()
{
    ParameterModule::Release();
}

AECXEXTENSION_NAMESPACE_END
