#include <maciContainerServices.h>
Inheritance diagram for maci::MACIContainerServices:
Public Member Functions | |
| MACIContainerServices (const maci::Handle componentHandle, ACE_CString &name, PortableServer::POA_ptr poa) | |
| virtual | ~MACIContainerServices () |
| void | test (const char *txt) |
| CORBA::Object * | getCORBAComponent (const char *name) |
| CORBA::Object * | getCORBAComponentNonSticky (const char *name) |
| CORBA::Object * | getCORBADynamicComponent (maci::ComponentSpec compSpec, bool markAsDefault) |
| CORBA::Object * | getCORBACollocatedComponent (maci::ComponentSpec compSpec, bool markAsDefault, const char *targetComponent) |
| CORBA::Object * | getCORBADefaultComponent (const char *idlType) |
| ComponentInfo | getComponentDescriptor (const char *componentName) |
| ACE_CString_Vector | findComponents (const char *nameWilcard, const char *typeWildcard) |
| void | releaseComponent (const char *name) |
| void | releaseAllComponents () |
| CDB::DAL_ptr | getCDB () |
| PortableServer::POA_var | getOffShootPOA () |
| ACS::OffShoot_ptr | activateOffShoot (PortableServer::Servant cbServant) |
| void | deactivateOffShoot (PortableServer::Servant cbServant) |
| PortableServer::POA_var | createOffShootPOA () |
| maci::ComponentStateManager * | getComponentStateManager () |
| void | fireComponentsUnavailable (ACE_CString_Vector &compNames) |
| void | fireComponentsAvailable (ACE_CString_Vector &compNames) |
Private Types | |
| typedef ACE_Hash_Map_Manager< ACE_CString, maci::Handle, ACE_Recursive_Thread_Mutex > | COMPONENT_HASH_MAP |
| Component hash map (used as hash set, value is owner handle). | |
| typedef ACE_Hash_Map_Iterator< ACE_CString, maci::Handle, ACE_Recursive_Thread_Mutex > | COMPONENT_HASH_MAP_ITER |
| typedef ACE_Hash_Map_Entry< ACE_CString, maci::Handle > | COMPONENT_HASH_MAP_ENTRY |
Private Attributes | |
| maci::Manager_var | m_manager |
| Reference to the manager. | |
| maci::ContainerImpl * | m_containerImpl |
| Pointer to the container. | |
| PortableServer::POA_var | m_offShootPOA |
| The POA for the offshoot. | |
| maci::Handle | m_componentHandle |
| Component handle. | |
| COMPONENT_HASH_MAP | m_usedComponents |
| Map (used as set) of activated components. | |
| maci::ComponentStateManager * | componentStateManager_mp |
| The component state manager. | |
|
|
Component hash map (used as hash set, value is owner handle).
|
|
|
|
|
|
|
|
||||||||||||||||
|
Constructor |
|
|
Destructor |
|
|
Activates a CORBA servant that implements the OffShoot interface.
Implements maci::ContainerServices.
|
|
|
Create the offshoot POA
Implements maci::ContainerServices.
|
|
|
Deactivate the offshoot CORBA servant
Implements maci::ContainerServices.
|
|
||||||||||||
|
Finds components by their instance name (curl) and/or by their type. Wildcards can be used for the curl and type. This method returns a possibly empty array of component curls; for each curl, you may use getComponent to obtain the reference.
Implements maci::ContainerServices.
|
|
|
Reimplemented from maci::ContainerServices.
|
|
|
Reimplemented from maci::ContainerServices.
|
|
|
Get a reference to the DAL object
Implements maci::ContainerServices.
|
|
|
Gets the component info for the component
Implements maci::ContainerServices.
|
|
|
Returns a pointer to the
The component needs to access the
Implements maci::ContainerServices.
|
|
||||||||||||||||
|
Implementation of acsContainerServices::getCORBACollocatedComponent(...)
Implements maci::ContainerServices.
|
|
|
Implementation of acsContainerServices::getCORBAComponent(const char* name)
Implements maci::ContainerServices.
|
|
|
Implementation of acsContainerServices::getCORBAComponentNonSticky(const char* name)
Implements maci::ContainerServices.
|
|
|
Implementation of acsContainerServices::getCORBADefaultComponent(const char* name)
Implements maci::ContainerServices.
|
|
||||||||||||
|
Implementation of acsContainerServices::getCORBADynamicComponent(const char* name)
Implements maci::ContainerServices.
|
|
|
Get the OffShoot POA
Implements maci::ContainerServices.
|
|
|
Release all the components
Implements maci::ContainerServices.
|
|
|
Releases the specified component.
Implements maci::ContainerServices.
|
|
|
|
|
|
The component state manager.
|
|
|
Component handle.
|
|
|
Pointer to the container.
|
|
|
Reference to the manager.
|
|
|
The POA for the offshoot.
|
|
|
Map (used as set) of activated components.
|
1.3.8