CIAO  1.0.8
Public Member Functions | Public Attributes | Private Types | Private Attributes
CIAO::Deployment_State Class Reference

Singleton collecting state for the instance handlers. More...

#include <CIAO_State.h>

Collaboration diagram for CIAO::Deployment_State:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void close (void)
void add_container (const char *id, CIAO::Container_ptr container)
void remove_container (const char *id)
CIAO::Container_ptr fetch_container (const char *id)
const char * instance_to_container (const char *id)
void add_home (const char *id, const char *container_id, Components::CCMHome_ptr home)
void remove_home (const char *id)
Components::CCMHome_ptr fetch_home (const char *id)
void add_component (const char *id, const char *container_id, Components::CCMObject_ptr component)
void remove_component (const char *id)
Components::CCMObject_ptr fetch_component (const char *id)

Public Attributes

Connection_Handler connection_handler

Private Types

typedef std::map< std::string,
CIAO::Container_var
CONTAINERS
 Container administration.
typedef std::map< std::string,
std::string > 
INSTANCE_CONTAINER
typedef std::map< std::string,
Components::CCMHome_var
HOMES
 Homes administration.
typedef std::map< std::string,
Components::CCMObject_var
COMPONENTS
 Components administration.

Private Attributes

CONTAINERS containers_
TAO_SYNCH_MUTEX container_mutex_
INSTANCE_CONTAINER instance_container_
 maps instance ids to containers.
TAO_SYNCH_MUTEX instance_container_mutex_
HOMES homes_
TAO_SYNCH_MUTEX home_mutex_
COMPONENTS components_
TAO_SYNCH_MUTEX component_mutex_

Detailed Description

Singleton collecting state for the instance handlers.


Member Typedef Documentation

typedef std::map< std::string, Components::CCMObject_var > CIAO::Deployment_State::COMPONENTS [private]

Components administration.

typedef std::map< std::string, CIAO::Container_var > CIAO::Deployment_State::CONTAINERS [private]

Container administration.

typedef std::map< std::string, Components::CCMHome_var > CIAO::Deployment_State::HOMES [private]

Homes administration.

typedef std::map< std::string, std::string > CIAO::Deployment_State::INSTANCE_CONTAINER [private]

Member Function Documentation

void CIAO::Deployment_State::add_component ( const char *  id,
const char *  container_id,
Components::CCMObject_ptr  component 
)
void CIAO::Deployment_State::add_container ( const char *  id,
CIAO::Container_ptr  container 
)
void CIAO::Deployment_State::add_home ( const char *  id,
const char *  container_id,
Components::CCMHome_ptr  home 
)
void CIAO::Deployment_State::close ( void  )
Components::CCMObject_ptr CIAO::Deployment_State::fetch_component ( const char *  id)
CIAO::Container_ptr CIAO::Deployment_State::fetch_container ( const char *  id)
Components::CCMHome_ptr CIAO::Deployment_State::fetch_home ( const char *  id)
const char * CIAO::Deployment_State::instance_to_container ( const char *  id)
void CIAO::Deployment_State::remove_component ( const char *  id)
void CIAO::Deployment_State::remove_container ( const char *  id)
void CIAO::Deployment_State::remove_home ( const char *  id)

Member Data Documentation

maps instance ids to containers.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines