Changeset 3040 in Sophya for trunk/SophyaLib/Manual/sophya.tex
- Timestamp:
- Jul 19, 2006, 1:20:51 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Manual/sophya.tex
r3037 r3040 415 415 of SOPHYA persistence, as well as FITS I/O facilities. 416 416 Initialisation of many SOPHYA modules is performed through an initialiser class, 417 which inherits from {\bf SophyaInitiator}. Static instance of each 418 initialiser class exist in the library and the various SOPHYA services 419 should be operational when the user code ({\tt main()}) starts. 420 However, in some cases the run time loader may not perform correctly the static 421 object initialisation. You may thus need to instanciate the initialiser class 422 for the modules you use in the beginning of your main program: \\ 423 {\tt TArrayInitiator , HiStatsInitiator , SkyMapInitiator \ldots } 417 which inherits from {\bf SophyaInitiator}. 418 \par 419 Static instance of each initialiser class exist in the library and the various SOPHYA services 420 should be operational when the user code ({\tt main()}) starts, except for 421 modules in the second or third shared libraries 422 ({\tt libextsophya.so libPI.so}). Indeed, a problem related 423 to the initialisation of shared libraries arises on some systems 424 (Darwin/Mac OS X in particular) causing program crash at start-up, 425 if static instance of initialiser class is present in the second shared library. 426 The FitsIOServer module should thus be explicitly initialised in the user 427 program. 428 \par 429 In cases where the run time loader does not perform correctly the static 430 object initialisation, the initialiser class for the modules used in the 431 program must be instanciated in the beginning of your main program: \\ 432 {\tt TArrayInitiator , HiStatsInitiator , SkyMapInitiator , FitsIOServer \ldots} 424 433 %%% 425 434 \subsection{SOPHYA persistence}
Note:
See TracChangeset
for help on using the changeset viewer.