Example of client connection detection and invocation of remote methode. This example works with the demo generator example.
#include "ConceptRTOs.h"
{
}
{
bool connected = false;
if (rootOcf.OpenMetaData())
{
rootOcf.CloseMetaData();
connected = true;
}
else
if (connected)
{
rootOcf.
GetChild(
"Generators", Generators,
true);
Generators.
GetChild(
"Sinus", SinusGenerator,
true);
}
}