MOOS 0.2375
/home/toby/moos-ivp/MOOS-2375-Oct0611/Docs/ProgrammingWithMOOS/code/Ex1/SimpleApp.h
Go to the documentation of this file.
00001 // Ex1/SimpleApp.h: interface for the CSimpleApp class.
00002 
00003 #ifndef SIMPLEAPPH
00004 #define SIMPLEAPPH
00005 
00006 #include <MOOSLIB/MOOSApp.h>
00007 
00008 class CSimpleApp : public CMOOSApp  
00009 {
00010 public:
00011     //standard construction and destruction
00012     CSimpleApp();
00013     virtual ~CSimpleApp();
00014 
00015 protected:
00016     //where we handle new mail
00017     bool OnNewMail(MOOSMSG_LIST &NewMail);
00018     //where we do the work
00019     bool Iterate();
00020     //called when we connect to the server
00021     bool OnConnectToServer();
00022     //called when we are starting up..
00023     bool OnStartUp();
00024 
00025 };
00026 
00027 #endif 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines