MESSAGE("Container_i::~Container_i()");
}
-void Engines_Container_i::destroy() {
- MESSAGE( "Container_i::destroy : " << _containerName.c_str() ) ;
- _NS->Destroy_Name( _containerName.c_str() ) ;
- _poa->deactivate_object( *_id ) ;
- CORBA::release( _poa ) ;
- delete( _id ) ;
- this->_remove_ref();
- MESSAGE( "Container_i::destroyed" ) ;
-}
-
char* Engines_Container_i::name()
{
return CORBA::string_dup(_containerName.c_str()) ;
MESSAGE("Engines_Container_i::ping() pid "<< getpid());
}
-Engines::ContainerType Engines_Container_i::type()
-{
- MESSAGE( "Engines_Container_i::type() "<< Engines::CppContainer );
- return Engines::CppContainer ;
-}
-
// Kill current container
bool Engines_Container_i::Kill_impl() {
MESSAGE("Engines_Container_i::Kill() pid "<< getpid() << " containerName "
}
// Launch a new container from the current container
-Engines::Container_ptr Engines_Container_i::start_impl( const char* ContainerName ,
- const Engines::ContainerType aContainerType ) {
+Engines::Container_ptr Engines_Container_i::start_impl( const char* ContainerName ) {
MESSAGE("start_impl argc " << _argc << " ContainerName " << ContainerName
<< hex << this << dec) ;
_numInstanceMutex.lock() ; // lock on the instance number
bool activ = true);
virtual ~Engines_Container_i();
- void destroy() ;
-
// Launch a new container from the current container
- Engines::Container_ptr start_impl( const char* ContainerName , const Engines::ContainerType );
+ Engines::Container_ptr start_impl( const char* ContainerName );
// Load component in current container
Engines::Component_ptr load_impl( const char* nameToRegister ,
char* name();
char* machineName();
void ping();
- Engines::ContainerType type();
// Kill current container
bool Kill_impl() ;
};
-std::ostream & operator<< (std::ostream &,const Engines::ContainerType &);
-
#endif