Bull DPX/20 Guida Utente Pagina 230

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 229
2-62
SOMobjects Base Toolkit: Programmers Reference Manual
somdDestroyObject Method
Purpose
Requests destruction of the target object.
IDL Syntax
void somdDestroyObject (
in SOMObject obj);
Description
The somdDestroyObject method indicates that the object manager should destroy the
specified object. Storage associated with the object is freed.
In DSOM, the SOMDObjectMgr forwards the deletion request to the remote server, and
then frees the local proxy object.
Parameters
receiver A pointer to an ObjectMgr object.
env A pointer to the Environment structure for the method caller.
obj A pointer to the object to be freed.
Example
#include <somd.h>
Stack stk;
Environment ev;
SOMDServer server;
SOM_InitEnvironment(&ev);
SOMD_Init(&ev);
StackNewClass(0,0);
server =
_somdFindAnyServerByClass(SOMD_ObjectMgr, &ev,”Stack”);
stk = _somdCreateObj(server, &ev, ”Stack”, ””);
...
_somdDestroyObject(SOMD_ObjectMgr, &ev, stk);
Original Class
ObjectMgr
Related Information
Methods: somdReleaseObject, somdCreateObj, somdTargetFree, release
Vedere la pagina 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 423 424

Commenti su questo manuale

Nessun commento