00001 00002 // $Id: HelloWorld.cxx,v 1.5 2002/12/15 16:25:12 rhatcher Exp $ 00003 // 00004 // The simplest job module 00005 // 00006 // messier@huhepl.harvard.edu 00008 #include "Demo/HelloWorld.h" 00009 #include "MessageService/MsgService.h" // Fancy cout/cerr 00010 #include "JobControl/JobCModuleRegistry.h" // JOBMODULE registration macro 00011 00012 CVSID("$Id: HelloWorld.cxx,v 1.5 2002/12/15 16:25:12 rhatcher Exp $"); 00013 00014 JOBMODULE(HelloWorld,"HelloWorld","The simplest of job modules"); 00015 00016 JobCResult HelloWorld::Ana(const MomNavigator* /* mom */) 00017 { 00018 MSG("Demo",Msg::kInfo) << "Hello, World!\n"; 00019 return JobCResult::kAOK; 00020 } 00021
1.3.9.1