Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiActivateModel (SdaiServerContext serverContextId); 

Defines a user defined function that will be the EDMinterface main output function. This function defines the EDMinterface current output device. The prototype for such an user defined function is:

Code Block
languagecpp
themeConfluence
void myOutputFunction(char *stringToOutput); 

The effect of this operation will last until the calling application is terminated or until a new invocation of the edmiDefineOutputFunction function.

...

The default EDMinterface current output device is the applications standard output device stdio.

...


Arguments

...

TypeNameComment
EdmiOutput

pFunction

Specifies the function that will be the EDMinterface main output function. This function will implicitly define the EDMinterface current output device.
Specifying <pFunction> = NULL will reset the EDMinterface current output device to the standard output device stdio.

...

Return Value

...

 

TypeComment
EdmiOutput

A value of type EdmiOutput that defines the current EDMinterface main output function at the invocation of this function, hence it is possible to reset the EDMinterface main output function to the old value after an invocation of the edmiDefineOutputFunction function.

...

Options

...

  

Example

...

 

Code Block
languagecpp
EdmiOutput myOutputFunction, oldOutputFunction;

...


 ...

...


 oldOutputFunction = edmiDefineOutputFunction(myOutputFunction);

...


 . . .

...


 edmiDefineOutputFunction(oldOutputFunction); /* reset to old function */

...


 . . . 

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"