This is the only one of the functions described in this section that is not called by SliceOmatic. This is a local function that is only called by your other functions. However since it is fairly important, I believe it should alway be present in your code.
The function is called from your "Update_A" and "Update_B" functions, as well as from the other Ctrl functions when they need to update the interface.
When it is called directly from your other Ctrl function, you have access to 8 new flags: "UPDATE_USER_1" to "UPDATE_USER_8".
Syntax
extern "C" __declspec(dllexport) int Ctrl_Update(
UInt64 flag
)
Parameters
flag
The current "Update Flag" value. This is an "or" of all the updates that occurred since the last processing of the updates.
Return value
The function returns "0" if an error occurred, "1" otherwise.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
In this example, we use 2 tools, tool_tag and tool_brush, that need a few updates.
See also
Ctrl_Blabla