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

maciDynCompImpl.h

Go to the documentation of this file.
00001 #ifndef MACIDYNCOMPIMPL_H
00002 #define MACIDYNCOMPIMPL_H
00003 /*******************************************************************************
00004 * E.S.O. - VLT project
00005 *
00006 * "@(#) $Id: maciDynCompImpl.h,v 1.11 2008/10/09 07:05:37 cparedes Exp $"
00007 *
00008 * who       when        what
00009 * --------  ----------  ----------------------------------------------
00010 * acaproni  2005-02-28  created
00011 */
00012 
00013 /************************************************************************
00014  *
00015  *----------------------------------------------------------------------
00016  */
00017 
00018 #ifndef __cplusplus
00019 #error This is a C++ include file and cannot be used from plain C
00020 #endif
00021 
00022 #include <acscomponentImpl.h>
00023 #include <acsContainerServices.h>
00024 #include <acsErrTypeLifeCycle.h>
00025 #include <maciTestS.h>
00026 
00033 class DynamicTestClassImpl: public virtual acscomponent::ACSComponentImpl,
00034                      public virtual POA_MACI_TEST::DynamicTestClass
00035 {
00036         public:
00038   DynamicTestClassImpl(
00039     const ACE_CString& name,
00040     maci::ContainerServices* containerServices);
00041 
00045   virtual ~DynamicTestClassImpl();
00046   
00051   virtual void initialize();
00052 
00057     virtual void execute();
00058 
00062     virtual void cleanUp();
00063 
00067     virtual void aboutToAbort();
00068 
00069   /* ----------------------------------------------------------------*/
00070   /* --------------------- [ CORBA interface ] ----------------------*/
00071   /* ----------------------------------------------------------------*/
00072 
00073   // Log the name of the component
00074   virtual void whoami() ; 
00075   
00076   // The following variable (read from CDB and with a default value of 0
00077   // set in the schema) is used to signal that we whish the component
00078   // to throw an exception in one method.
00079   // It is used by the life cycle test to check the robustness of the
00080   // container
00081   //
00082   // launchException_m has the following meaning:
00083   // 0: no exception (default)
00084   // 1: exception in the constructor
00085   // 2: exception in initialize
00086   // 3: exception in execute
00087   // 4: exception in cleanUp
00088   // 5: exception in aboutToAbort
00089   int launchException_m;
00090 
00091 };
00092 
00093 #endif 

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