DAnCE::NodeApplication_Impl Class Reference

#include <NodeApplication_Impl.h>

Collaboration diagram for DAnCE::NodeApplication_Impl:

Collaboration graph
[legend]

List of all members.

Classes

struct  ComponentServer
struct  Container
struct  Instance

Public Types

enum  ERequestType { eCreateComponentServer, eCreateContainer, eInstallHome, eCreateComponentWithConfigValues }
enum  EInstanceType { eHome, eComponent, eHomedComponent, eInvalid }
enum  EComponentState {
  eUninstalled, eInstalled, eConfigured, eActive,
  ePassive, eRemoved, eInvalidState
}

Public Member Functions

 NodeApplication_Impl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, const Deployment::DeploymentPlan &plan, RedirectionService &redirection, const ACE_CString &node_name, const PROPERTY_MAP &properties)
virtual ~NodeApplication_Impl ()
virtual void finishLaunch (const Deployment::Connections &providedReference,::CORBA::Boolean start)
virtual void start ()
Deployment::ConnectionsgetAllConnections ()
void init_components ()
void configuration_complete_components ()
void passivate_components ()
void remove_components ()

Protected Types

typedef ACE_Array< InstanceINSTANCES
typedef ACE_Array< Instance * > INSTANCE_PTRS
typedef ACE_Array< ContainerCONTAINERS
typedef ACE_Array
< ComponentServer
COMPONENTSERVERS

Protected Member Functions

void init ()
EInstanceType get_instance_type (const Deployment::Properties &prop) const
void create_config_values (const Deployment::Properties &prop, const ERequestType request, Components::ConfigValues &cfg) const
void create_config_values (const Deployment::Properties &prop, Components::ConfigValues &cfg) const
void create_component_server (size_t index)
void create_container (size_t server, size_t container)
void install_home (Container &cont, Instance &inst)
void install_component (Container &cont, Instance &inst)
void install_homed_component (Container &cont, Instance &inst)
void store_instance_ior (Instance &inst)
Components::Cookie * connect_receptacle (Components::CCMObject_ptr inst, const ACE_CString &port_name, CORBA::Object_ptr facet)
Components::Cookie * connect_receptacle_ext (Components::CCMObject_ptr inst, const ACE_CString &port_name, CORBA::Object_ptr facet)
void connect_emitter (Components::CCMObject_ptr inst, const ACE_CString &port_name, CORBA::Object_ptr consumer)
void connect_emitter_ext (Components::CCMObject_ptr inst, const ACE_CString &port_name, CORBA::Object_ptr consumer)
Components::Cookie * connect_publisher (Components::CCMObject_ptr inst, const ACE_CString &port_name, CORBA::Object_ptr consumer)

Protected Attributes

CORBA::ORB_var orb_
PortableServer::POA_var poa_
const Deployment::DeploymentPlanplan_
auto_ptr
< CIAO::Deployment::CIAO_ServerActivator_i > 
activator_
RedirectionServiceredirection_
ACE_CString node_name_
PROPERTY_MAP properties_
COMPONENTSERVERS servers_
INSTANCE_PTRS instances_
CosNaming::NamingContext_var instance_nc_


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
eUninstalled 
eInstalled 
eConfigured 
eActive 
ePassive 
eRemoved 
eInvalidState 

Enumerator:
eHome 
eComponent 
eHomedComponent 
eInvalid 

Enumerator:
eCreateComponentServer 
eCreateContainer 
eInstallHome 
eCreateComponentWithConfigValues 


Constructor & Destructor Documentation

NodeApplication_Impl::NodeApplication_Impl ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
const Deployment::DeploymentPlan plan,
RedirectionService redirection,
const ACE_CString node_name,
const PROPERTY_MAP properties 
)

NodeApplication_Impl::~NodeApplication_Impl (  )  [virtual]


Member Function Documentation

void NodeApplication_Impl::configuration_complete_components (  ) 

void NodeApplication_Impl::connect_emitter ( Components::CCMObject_ptr  inst,
const ACE_CString port_name,
CORBA::Object_ptr  consumer 
) [protected]

void NodeApplication_Impl::connect_emitter_ext ( Components::CCMObject_ptr  inst,
const ACE_CString port_name,
CORBA::Object_ptr  consumer 
) [protected]

Components::Cookie * NodeApplication_Impl::connect_publisher ( Components::CCMObject_ptr  inst,
const ACE_CString port_name,
CORBA::Object_ptr  consumer 
) [protected]

Components::Cookie * NodeApplication_Impl::connect_receptacle ( Components::CCMObject_ptr  inst,
const ACE_CString port_name,
CORBA::Object_ptr  facet 
) [protected]

Components::Cookie * NodeApplication_Impl::connect_receptacle_ext ( Components::CCMObject_ptr  inst,
const ACE_CString port_name,
CORBA::Object_ptr  facet 
) [protected]

void NodeApplication_Impl::create_component_server ( size_t  index  )  [protected]

void NodeApplication_Impl::create_config_values ( const Deployment::Properties prop,
Components::ConfigValues &  cfg 
) const [protected]

void NodeApplication_Impl::create_config_values ( const Deployment::Properties prop,
const ERequestType  request,
Components::ConfigValues &  cfg 
) const [protected]

void NodeApplication_Impl::create_container ( size_t  server,
size_t  container 
) [protected]

void NodeApplication_Impl::finishLaunch ( const Deployment::Connections providedReference,
::CORBA::Boolean  start 
) [virtual]

NodeApplication_Impl::EInstanceType NodeApplication_Impl::get_instance_type ( const Deployment::Properties prop  )  const [protected]

Deployment::Connections * NodeApplication_Impl::getAllConnections (  ) 

void NodeApplication_Impl::init (  )  [protected]

void NodeApplication_Impl::init_components (  ) 

void NodeApplication_Impl::install_component ( Container cont,
Instance inst 
) [protected]

void NodeApplication_Impl::install_home ( Container cont,
Instance inst 
) [protected]

void NodeApplication_Impl::install_homed_component ( Container cont,
Instance inst 
) [protected]

void NodeApplication_Impl::passivate_components (  ) 

void NodeApplication_Impl::remove_components (  ) 

void NodeApplication_Impl::start (  )  [virtual]

void NodeApplication_Impl::store_instance_ior ( Instance inst  )  [protected]


Member Data Documentation

auto_ptr<CIAO::Deployment::CIAO_ServerActivator_i> DAnCE::NodeApplication_Impl::activator_ [protected]

CosNaming::NamingContext_var DAnCE::NodeApplication_Impl::instance_nc_ [protected]


The documentation for this class was generated from the following files:

Generated on Mon Jun 22 12:46:07 2009 for DAnCE by  doxygen 1.5.8