PSI sics-cvs-psi_pre-ansto
This commit is contained in:
24
doc/programmer/ofac.tex
Normal file
24
doc/programmer/ofac.tex
Normal file
@@ -0,0 +1,24 @@
|
||||
\subsection{The Object Factory}
|
||||
SICS is a highly configurable system. This module implements
|
||||
the configurable. Configuration is meant to happen via a Tcl-
|
||||
configuration script. This module will initialize commands which
|
||||
create SICS-objects. Than an initialization file is evaluated
|
||||
via the macro facility. As most of the initialization commands
|
||||
will no longer be needed after this, they will be deleted.
|
||||
All this will be run with a higly privileged connection which
|
||||
prints to stdout/stdin. This module contains the file static functions:
|
||||
InitIniCommands and KillIniCommands. {\bf InitIniCommands}
|
||||
intializes all SICS common commands plus the object creation
|
||||
commands. Once a new class has been devised its object
|
||||
creation function needs to be entered into this
|
||||
function. {\bf KillIniCommands} removes all the initialization
|
||||
commands no longer needed after the initialization file has
|
||||
been evaluated. Make sure to add an entry for your new
|
||||
classes creation command here as well.
|
||||
|
||||
The interface consists of a single function: \begin{verbatim}
|
||||
int InitObjectCommands(pServer pServ, char *file);
|
||||
\end{verbatim}
|
||||
Commands will be initialized for the server pServ from the file file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user