Bull DPX/20 Betriebsanweisung Seite 89

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 88
SOM Kernel Reference 1-77
somClassReady Method
Purpose
Indicates that a class has been constructed and is ready for normal use. Designed to be
overridden.
IDL Syntax
void somClassReady ( );
Note: For backward compatibility, this method does not take an Environment parameter.
Description
The somClassReady method is invoked automatically by the somBuildClass function after
constructing and initializing a class object. The default implementation of this method
provided by SOMClass simply registers the newly constructed class with
SOMClassMgrObject. Metaclasses can override this method to augment class construction
with additional registration protocol.
To have special processing done when a class object is created, you must define a
metaclass for the class that overrides somClassReady. The final statement in any
overriding method should invoke the parent method to ensure that the class is properly
registered with SOMClassMgrObject. Users of the C and C++ implementation bindings for
SOM classes should never invoke the somClassReady method directly; it is invoked
automatically during class construction.
Parameters
receiver A pointer to the class object that should be registered.
Original Class
SOMClass
Seitenansicht 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare