Bull DPX/20 Betriebsanweisung Seite 261

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 260
2-93
DSOM Framework Reference
somdTargetGetClass Method
Purpose
Returns (a proxy for) the class object for the remote target object.
IDL Syntax
SOMClass somdTargetGetClass ( );
Description
The somdTargetGetClass method forwards the somGetClass method call to the remote
target object and returns a pointer to the class object for that object. This method has been
provided when the application program wants to be explicit about getting the class object
for the remote target object vs. the local proxy.
Parameters
receiver A pointer to the SOMDClientProxy object for the desired remote target
object.
env A pointer to the Environment structure for the method caller.
Return Value
The somdTargetGetClass method returns a pointer to the class object for the remote
target object.
Example
#include <somd.h>
#include <car.h>
Environment ev;
Car car;
SOMClass carClass;
string somdObjectId;
...
/* restore proxy from its string form */
FileRead(”/u/joe/mycar”, &somdObjectId);
car = _somdGetObjectFromId(SOMD_ObjectMgr, &ev, somdObjectId);
...
carClass = _somdTargetGetClass(car, &ev);
Original Class
SOMDClientProxy
Related Information
Methods: somdProxyGetClass
Seitenansicht 260
1 2 ... 256 257 258 259 260 261 262 263 264 265 266 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare