Go to the documentation of this file.00001 #ifndef maciORBTask_h
00002 #define maciORBTask_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include <acsutil.h>
00015 #include <logging.h>
00016 #include <ace/Task.h>
00017 #include <tao/ORB.h>
00018
00019 namespace maci {
00020
00037 class ORBTask : public ACE_Task_Base
00038 {
00039 public:
00040
00047 ORBTask (CORBA::ORB_ptr orb, LoggingProxy * logger = 0, unsigned int timeToRun = 0);
00048
00049 private:
00050
00052 virtual int svc (void);
00053
00055 CORBA::ORB_var m_orb;
00056
00058 LoggingProxy * m_logger;
00059
00061 unsigned int m_timeToRun;
00062
00063 };
00064
00065 };
00066
00067 #endif
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081