LargeOnion.h

00001 
00002 #ifndef LESTER_LARGEONION_H
00003 #define LESTER_LARGEONION_H
00004 
00005 #include "Rabbit.hh"
00006 #include <ipc/object.h>
00007 
00008 class LargeOnion : public IPCNamedObject<POA_Stew::Onion, ipc::multi_thread> {
00009 
00010 public:
00011   LargeOnion() :
00012     IPCNamedObject<POA_Stew::Onion, ipc::multi_thread>(IPCPartition("SCT"),
00013                                                        "LargeOnionName") {
00014     std::cout << "Publishing LargeOnion ..." << std::endl;
00015     publish();
00016   };
00017 
00018  public:
00019   virtual void shutdown() {
00020     std::cout << "I was asked to shut my LargeOnion down!" << std::endl;
00021   };
00022 
00023  public:
00024   ~LargeOnion() {
00025     std::cout << "~LargeOnion()" << std::endl;
00026   };
00027 
00028 };
00029 
00030 #endif 

Generated on Mon Feb 6 14:01:22 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6