00001 00002 // $Id: JobCPathHandler.h,v 1.1 2001/07/20 21:15:09 messier Exp $ 00003 // 00004 // Interface between JobCommand's and JobCPath classes 00005 // 00006 // messier@huhepl.harvard.edu 00008 #ifndef JOBCPATHHANDLER_H 00009 #define JOBCPATHHANDLER_H 00010 00011 class JobCommand; 00012 class JobCPath; 00013 00014 class JobCPathHandler 00015 { 00016 public: 00017 JobCPathHandler(JobCPath* p); 00018 ~JobCPathHandler(); 00019 00020 void HandleCommand(JobCommand *cmd); 00021 00022 private: 00023 JobCPathHandler(); 00024 void PathRunCommand( JobCPath *p, JobCommand *cmd); 00025 void PathFilterCommand(JobCPath* p, JobCommand* cmd); 00026 void PathReportCommand(JobCPath* p, JobCommand* cmd); 00027 void PathResetCommand( JobCPath* p, JobCommand* cmd); 00028 00029 JobCPath* fPath; // ptr to the path the commands will affect - not owned 00030 }; 00031 00032 #endif // JOBCPATHHANDLER_H 00033
1.3.9.1