CIAO 1.0.5
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

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 > 
typedef std::map< std::string,
std::string > 
typedef std::map< std::string,
Components::CCMHome_var > 
typedef std::map< std::string,
Components::CCMObject_var > 

Private Attributes

CONTAINERS containers_
INSTANCE_CONTAINER instance_container_
 maps instance ids to containers.
HOMES homes_
COMPONENTS components_

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]
typedef std::map< std::string, CIAO::Container_var > CIAO::Deployment_State::CONTAINERS [private]
typedef std::map< std::string, Components::CCMHome_var > CIAO::Deployment_State::HOMES [private]
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