The Main Fct

 

The "main" file contain functions that are called completely at the beginning or the end of a sliceOmatic session.

 

 

 

Register

This function  must be present if you want sliceOmatic to use your module.  The function must return the name of your module.

 

 

Init

This optional function is called at the beginning of a sliceOmatic session. It is a good place to initialize the variables of your module.

 

 

Exit

This optional function is called when the sliceOmatic session is about to end.  It is a good place to free any memory allocated by your module.

 

 

Version

This optional function return a version number. When the user place the program in trace mode, the list of modules and their version is output to the trace file.