PortableServer::POAManager_var pman = poa->the_POAManager();
pman->activate() ;
- INFOS( "pman->activate()" );
+ MESSAGE( "pman->activate()" );
_NS = new SALOME_NamingService( orb );
SALOME::Session_var session = SALOME::Session::_narrow( obj ) ;
ASSERT ( ! CORBA::is_nil( session ) );
// ...create GUI launcher
- INFOS( "Session activated, Launch IAPP..." );
+ MESSAGE( "Session activated, Launch IAPP..." );
guiThread = new GetInterfaceThread( session );
}
aGUISession = new SALOME_Session();
// Load SalomeApp dynamic library
- INFOS( "creation SUIT_Application" );
+ MESSAGE( "creation SUIT_Application" );
SUIT_Application* aGUIApp = aGUISession->startApplication( "SalomeApp", 0, 0 );
if ( aGUIApp )
{
argv[i+1] = _argv[(*itServ)._firstArg + i];
}
- std::cout << "*** activating [" << argc << "] : " << argv[0] << std::endl;
+ MESSAGE("*** activating [" << argc << "] : " << argv[0]);
Session_ServerThread* aServerThread
= new Session_ServerThread(argc, argv, _orb,_root_poa);
}
// Always launch Session Server
- std::cout << "*** activating [ SESSION ] " << std::endl;
+ MESSAGE("*** activating [ SESSION ] ");
int argc=1;
char** argv = new char*[argc];
{
try
{
- INFOS("ModuleCatalog thread started");
+ MESSAGE("ModuleCatalog thread started");
// allocation on heap to allow destruction by POA
SALOME_ModuleCatalogImpl* Catalogue_i
{
try
{
- INFOS("SALOMEDS thread started");
+ MESSAGE("SALOMEDS thread started");
// We allocate the objects on the heap. Since these are reference
// counted objects, they will be deleted by the POA when they are no
// longer needed.
void Session_ServerThread::ActivateRegistry(int argc,
char ** argv)
{
- INFOS("Registry thread started");
+ MESSAGE("Registry thread started");
SCRUTE(argc);
if( argc<3 )
{
{
try
{
- INFOS("Container thread started");
+ MESSAGE("Container thread started");
// get or create the child POA
}
catch (PortableServer::POA::AdapterNonExistent&)
{
- INFOS("factory_poa does not exists, create...");
+ MESSAGE("factory_poa does not exists, create...");
// define policy objects
PortableServer::ImplicitActivationPolicy_var implicitActivation =
_root_poa->create_implicit_activation_policy(
{
try
{
- INFOS("SalomeApp_Engine thread started");
+ MESSAGE("SalomeApp_Engine thread started");
SalomeApp_Engine_i* anEngine = new SalomeApp_Engine_i();
/*PortableServer::ObjectId_var id = */_root_poa->activate_object( anEngine );
- INFOS("poa->activate_object( SalomeApp_Engine )");
+ MESSAGE("poa->activate_object( SalomeApp_Engine )");
CORBA::Object_ptr obj = anEngine->_this();
_NS->Register( obj ,"/SalomeAppEngine");
{
try
{
- INFOS("Session thread started");
+ MESSAGE("Session thread started");
SALOME_Session_i * mySALOME_Session
= new SALOME_Session_i(argc, argv, _orb, _root_poa, _GUIMutex, _GUILauncher) ;
PortableServer::ObjectId_var mySALOME_Sessionid
= _root_poa->activate_object(mySALOME_Session);
- INFOS("poa->activate_object(mySALOME_Session)");
+ MESSAGE("poa->activate_object(mySALOME_Session)");
CORBA::Object_var obj = mySALOME_Session->_this();
CORBA::String_var sior(_orb->object_to_string(obj));