The configuration of the runtime environment module example is defined in a descriptive way. If you want to learn more about how to define a configuration by declaring first the data members and then the description for introspection, you will find an example at Descriptive configuration declaration example
static int initMyRuntimeEnvironment()
{
}
class MyRuntimeEnvironmentConfig
{
public:
{
}
MyRuntimeEnvironmentConfig( const char* classname, const char* title, const char* logprefix, const char* subsection)
:_Wolframe::serialize::DescriptiveConfiguration( title, "authentication", logprefix, getStructDescription())
{
}
};
class MyRuntimeEnvironment
{
public:
MyRuntimeEnvironment( const MyRuntimeEnvironmentConfig* cfg)
{
}
{
}
virtual std::vector<std::string>
functions()
const
{
}
virtual const char*
name()
const
{
}
};
WF_MODULE_BEGIN(
"MyRuntimeEnvironment",
"runtime environment for my programs")
WF_RUNTIME_ENVIRONMENT( "my runtime environment", "runtimeenv", "myrunenv", MyRuntimeEnvironment, MyRuntimeEnvironmentConfig, initMyRuntimeEnvironment)