Files
sics/doc/programmer/ofac.tex
2000-02-07 10:38:55 +00:00

25 lines
1.2 KiB
TeX

\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.