Go to the documentation of this file.00001 #ifndef _acsnc_con_comp_impl_h_
00002 #define _acsnc_con_comp_impl_h_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 #ifndef __cplusplus
00034 #error This is a C++ include file and cannot be used from plain C
00035 #endif
00036
00037 #include <baci.h>
00038 #include <acscomponentImpl.h>
00039 #include "EventComponentS.h"
00040 #include "acsncSimpleConsumer.h"
00041
00042 using namespace baci;
00043
00047 class ConCompImpl: public virtual acscomponent::ACSComponentImpl,
00048 public virtual POA_demo::ConComp
00049 {
00050 public:
00051
00058 ConCompImpl(const ACE_CString& name,
00059 maci::ContainerServices *);
00060
00064 virtual ~ConCompImpl();
00065
00066 virtual void execTest(const char* channelName,CORBA::Boolean autoreconnect);
00067 virtual void execTestResumeSuspend(const char* channelName);
00068 virtual void checkCounterGreaterThan(CORBA::Long value);
00069 virtual void checkCounterLowerThan(CORBA::Long value);
00070
00071 private:
00072
00073 int m_count;
00074
00075
00076 static void myHandlerFunction(acsnc::EventDescription joe, void *handlerParam);
00077
00078
00079 nc::SimpleConsumer<acsnc::EventDescription> *m_testCon_p;
00080 };
00081
00082 #endif