Bull DPX/20 Betriebsanweisung Seite 25

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 24
SOM Kernel Reference 1-13
somEnvironmentNew Function
Purpose
Initializes the SOM runtime environment.
Syntax
SOMClassMgr somEnvironmentNew ( );
Description
The somEnvironmentNew function creates the four primitive SOM objects (SOMObject,
SOMClass, SOMClassMgr, and SOMClassMgrObject) and initializes global variables used
by the SOM runtime environment. This function must be called before using any other SOM
functions or methods (with the exception of somSetExpectedIds). If the SOM runtime
environment has already been initialized, calling this function has no harmful effect.
Although this function must be called before using other SOM functions or methods, it
needn’t always be called explicitly, because the <className>New macros, the
<className>Renew macros, the new operator, and the <className>NewClass
procedures defined by the SOM C and C++ language bindings call somEnvironmentNew if
needed.
Return Value
A pointer to the single class manager object active at run time. This class manager can be
referred by the global variable SOMClassMgrObject.
Example
somEnvironmentNew();
Related Information
Functions: somExceptionId, somExceptionValue, somSetException,
somGetGlobalEnvironment
Seitenansicht 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare