00001 #ifndef acstestcompImpl_h 00002 #define acstestcompImpl_h 00003 00004 /* 00005 * "@(#) $Id: acstestcompTimingExplorerImpl.h,v 1.4 2008/10/09 08:07:23 cparedes Exp $" 00006 * 00007 * $Log: acstestcompTimingExplorerImpl.h,v $ 00008 * Revision 1.4 2008/10/09 08:07:23 cparedes 00009 * Remove cpp exception declarations 00010 * 00011 * Revision 1.3 2008/10/01 05:33:43 cparedes 00012 * Removing exception declaration from cpp implementation 00013 * 00014 * Revision 1.2 2008/07/25 07:36:17 cparedes 00015 * Removing use namespace from included files and updating 00016 * the files where the use namespace was assumed 00017 * 00018 * Revision 1.1 2006/09/28 16:02:57 gchiozzi 00019 * Added second test component. 00020 * Some cleanup and refactoring. 00021 * 00022 * Revision 1.1 2006/09/14 14:54:34 gchiozzi 00023 * First checkin of new module with CPP test components. 00024 * 00025 * 00026 */ 00027 00028 #ifndef __cplusplus 00029 #error This is a C++ include file and cannot be used from plain C 00030 #endif 00031 00032 #include <acscomponentImpl.h> 00033 00034 #include <acstestcompS.h> 00035 #include <maciContainerServices.h> 00036 00041 class TimingExplorerImpl : public virtual acscomponent::ACSComponentImpl, 00042 public virtual POA_acstestcomp::TimingExplorer 00043 00044 { 00045 public: 00052 TimingExplorerImpl(const ACE_CString& name, 00053 maci::ContainerServices* containerServices); 00054 00058 virtual ~TimingExplorerImpl() {}; 00059 00060 00061 /* ------------------- [ Lifecycle START interface ] --------------------- */ 00062 00071 virtual void initialize(void); 00072 00073 /* ------------------- [ Lifecycle END interface ] --------------- */ 00074 00075 /* --------------------- [ CORBA START interface ] ----------------*/ 00076 00082 virtual void waitToReply(CORBA::Long waitTimeSec) ; 00083 00096 virtual void multipleReplies(CORBA::Long repetitions, CORBA::Long waitTimeSec, ACS::CBvoid_ptr cb, const ACS::CBDescIn& desc); 00097 00098 00099 /* --------------------- [ CORBA END interface ] ----------------*/ 00100 00101 /* ----------------------------------------------------------------*/ 00102 00103 private: 00109 int multipleRepliesCounter_m; 00110 00114 TimingExplorerImpl(const TimingExplorerImpl&); 00115 00119 void operator=(const TimingExplorerImpl&); 00120 00121 00122 /* --------------------- [ Constants START ] ----------------------*/ 00123 00124 }; 00125 00126 00127 #endif /* acstestcompImpl_h */ 00128