SalomeApp_Module::initialize( app );
- Engines::Component_var comp = dynamic_cast<SalomeApp_Application*>(app)->lcc()->FindOrLoad_Component( "FactoryServer","cppcompos" );
+ Engines::EngineComponent_var comp = dynamic_cast<SalomeApp_Application*>(app)->lcc()->FindOrLoad_Component( "FactoryServer","cppcompos" );
engine = cppcompos_ORB::cppcompos::_narrow(comp);
QWidget* aParent = application()->desktop();
${component}_i * myEngine = new ${component}_i(orb, poa, container, instanceName.c_str(), "${component}");
pman->activate();
obj=myEngine->POA_${module}_ORB::${component}::_this();
- Engines::Component_var component = Engines::Component::_narrow(obj);
+ Engines::EngineComponent_var component = Engines::EngineComponent::_narrow(obj);
string component_registerName = containerName + "/" + instanceName;
salomens->Register(component,component_registerName.c_str());
orb->run();
lib${component}Exelib_la_LDFLAGS = ${rlibs}
"""
compoEXEMakefile=Template(compoEXEMakefile)
-
return CORBA::string_dup("${component}");
}
-Engines::Component_ptr ${component}_i::GetComponentInstance()
+Engines::EngineComponent_ptr ${component}_i::GetComponentInstance()
{
return ${component}_Gen::_this();
}
${servicesdef}
// (re)defined methods of Driver
- virtual Engines::Component_ptr GetComponentInstance();
+ virtual Engines::EngineComponent_ptr GetComponentInstance();
char* ComponentDataType();
private:
#, SALOME_MED::MED_Gen_Driver, SALOME::MultiCommClass
interfaceidlhxx="""
- interface ${component}_Gen:Engines::Component,SALOME::MultiCommClass ${inherited}
+ interface ${component}_Gen:Engines::EngineComponent,SALOME::MultiCommClass ${inherited}
{
${services}
};
InterfaceParallel_impl(orb,ior, rank),
Engines::Superv_Component_serv(orb, ior, rank),
Engines::DSC_serv(orb, ior, rank),
- Engines::Component_serv(orb,ior, rank),
+ Engines::EngineComponent_serv(orb,ior, rank),
Engines::Parallel_Component_serv(orb,ior, rank),
Engines::Parallel_DSC_base_serv(orb, ior, rank),
Engines::Superv_Component_base_serv(orb, ior, rank),
Engines::DSC_base_serv(orb, ior, rank),
- Engines::Component_base_serv(orb,ior, rank),
+ Engines::EngineComponent_base_serv(orb,ior, rank),
Engines::Parallel_Component_base_serv(orb,ior, rank)
{