• Classes
  • Modules
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

maciContainerServicesTestClassImpl.h

Go to the documentation of this file.
00001 #ifndef maciContainerServicesTestClassImpl_h
00002 #define maciContainerServicesTestClassImpl_h
00003 
00004 /*******************************************************************************
00005 * E.S.O. - ACS project
00006 *
00007 * "@(#) $Id: maciContainerServicesTestClassImpl.h,v 1.16 2008/10/09 07:05:37 cparedes Exp $"
00008 *
00009 * who       when      what
00010 * --------  --------  ----------------------------------------------
00011 * acaproni   2005-02-28 created
00012 */
00013 
00014 /************************************************************************
00015  *
00016  *----------------------------------------------------------------------
00017  */
00018 
00019 #ifndef __cplusplus
00020 #error This is a C++ include file and cannot be used from plain C
00021 #endif
00022 
00023 #include <acsutil.h>
00024 #include <acscomponentImpl.h>
00025 #include <acsContainerServices.h>
00026 #include <maciTestS.h>
00027 #include <string>
00028 
00029 // The IDL of the dynamic components
00030 #define IDLTYPE "IDL:alma/MACI_TEST/DynamicTestClass:1.0"
00031 // The name of 2 remote components to get
00032 # define COMPNAME "MACI_DYN_TEST1"
00033 # define COMPNAME2 "MACI_DYN_TEST2"
00034 
00035 class MaciContainerServicesTestClassImpl: public virtual acscomponent::ACSComponentImpl,
00036                      public virtual POA_MACI_TEST::ContainerServicesTestClass
00037 {
00038                         
00039 public:
00040 
00042   MaciContainerServicesTestClassImpl(
00043     const ACE_CString& name, 
00044     maci::ContainerServices* containerServices);
00045 
00049   virtual ~MaciContainerServicesTestClassImpl();
00050   
00055   virtual void initialize();
00056 
00061     virtual void execute();
00062 
00066     virtual void cleanUp();
00067 
00071     virtual void aboutToAbort();
00072 
00073   /* ----------------------------------------------------------------*/
00074   /* --------------------- [ CORBA interface ] ----------------------*/
00075   /* ----------------------------------------------------------------*/
00076 
00077   // Test the defaultComponent activation
00078   virtual void getComponentTest() ;
00079   
00080   // Test the getting a Component as Non Sticky 
00081   virtual void getComponentNonStickyTest() ;
00082 
00083   // Test the dynamic component activation
00084   virtual void dynamicComponentTest(); 
00085   
00086   // Test the collocated component activation
00087   virtual void collocatedComponentTest(); 
00088   
00089   // Test the defaultComponent activation
00090   virtual void defaultComponentTest();
00091   
00092   // Test the defaultComponentSmartPtr activation
00093   virtual void getComponentSmartPtrTest();
00094   
00095   // Test the getting a Component smart pointer as Non Sticky 
00096   virtual void getComponentNonStickySmartPtrTest();
00097 
00098   // Test the dynamic component smart pointer activation
00099   virtual void dynamicComponentSmartPtrTest(); 
00100   
00101   // Test the collocated component smart pointer activation
00102   virtual void collocatedComponentSmartPtrTest(); 
00103   
00104   // Test the defaultComponent smart pointer activation
00105   virtual void defaultComponentSmartPtrTest();
00106   
00107   // Test the request of a component descriptor
00108   virtual void componentDescriptorTest();
00109 
00110   // Test the relase of all components
00111   virtual void releaseResourcesTest();
00112 
00113   // Test the component listener
00114   virtual void componentListenerTest();
00115 
00116 };
00117 
00118 #endif   /* maciContainerServicesTestClassImpl_h */
00119 
00120 
00121 
00122 
00123 

Generated on Thu Jan 12 2012 23:13:51 for ACS-10.0 C++ API by  doxygen 1.7.0