2-1
SOM Kernel Quick Reference
SOM Kernel Quick Reference
SOMObject
SOMClass
metaclass
SOMClassMgr
Class Organization
— The root class of all SOM metaclasses.
Defines the essential behavior (methods) common to all
SOM classes.
— An instance of SOMClassMgr is created automatically during SOM
initialization. It acts as a run-time registry for all SOM class objects
and assists with dynamic loading and unloading of class libraries.
— The root class for all SOM objects.
Provides behavior (methods) common to all SOM objects.
SOM Functions
(see somapi.h and somcorba.h)
Note: function prototypes are given using C syntax, assuming the type environment
created by: #include <som.h>. Pointers to objects that support an interface are typed
using the interface name, without an explicit asterisk (*).
boolean somApply (
SOMObject objPtr,
somToken *retVal,
somMethodDataPtr mdPtr,
va_list args);
Invokes (on the object pointed to by objPtr) the apply stub for the method described by the structure pointed to by
the somMethodDataPtr. The result of the method invocation is stored in the memory location pointed to by
retVal (which cannot be null). The va_list must include objPtr as its first entry.
void somBeginPersistentIds ();
Tells SOM to begin a “persistent ID interval.”
void somBuildClass (
unsigned long inheritVars,
somStaticClassInfoPtr sciPtr,
long majorVersion,
long minorVersion);
Automates the process of building a new SOM class object; used by C and C++ implementation bindings.
somId somCheckId (somId id);
Registers a SOM ID.
somMethodPtr somClassResolve ( SOMClass clsPtr,
somMToken mToken);
Obtains a pointer to the procedure that implements a static method for instances of a particular SOM class.
Komentarze do niniejszej Instrukcji