Back to index

nordugrid-arc-nox  1.1.0~rc6
daemon.h
Go to the documentation of this file.
00001 #ifndef __ARC_DAEMON_H__
00002 #define __ARC_DAEMON_H__
00003 
00004 #include <string>
00005 #include <arc/Logger.h>
00006 
00007 namespace Arc {
00008 
00009 class Daemon {
00010   public:
00011     Daemon() {};
00012     Daemon(const std::string &pid_file_, const std::string &log_file_);
00013     ~Daemon();
00014   private:
00015     const std::string pid_file;
00016     static Logger logger;
00017 };
00018 
00019 } // namespace Arc
00020 
00021 #endif // __ARC_DAEMON_H__