29 # if !defined( __DESTRUCTEUR_GENERIQUE__H__ )
30 # define __DESTRUCTEUR_GENERIQUE__H__
32 #include <SALOMEconfig.h>
34 #include "SALOME_Utils.hxx"
38 #include <omniORB4/CORBA.h>
66 static std::list<DESTRUCTEUR_GENERIQUE_*> *Destructeurs;
70 virtual void operator()(
void )=0 ;
114 typedef PortableServer::ServantBase TServant;
116 if(dynamic_cast<TServant*>(_PtrObjet)){
127 TYPE* aPtr =
static_cast<TYPE*
>(_PtrObjet);
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:63
static const int Ajout(DESTRUCTEUR_GENERIQUE_ &objet)
adds a destruction object to the list of destructions
Definition: Utils_DESTRUCTEUR_GENERIQUE.cxx:153
virtual ~DESTRUCTEUR_GENERIQUE_()
virtual destructor
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:68
virtual void operator()(void)
performs the destruction
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:113
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:96