3 #ifndef SZA_UTIL_SPAWNABLETASK_H
4 #define SZA_UTIL_SPAWNABLETASK_H
64 }
catch(Exception& err) {
65 COUT(
"Caught an exception: " << err.what());
67 COUT(
"Caught a CARMA exception: " << err.
what());
69 COUT(
"Caught an unknown exception (ST 0)");
80 #endif // End #ifndef SZA_UTIL_SPAWNABLETASK_H
virtual void processMsg(Msg *msg)
This method should be defined by each inheriting task to process its own task-specific messages...
void run()
Force inheritors to define a run method.
Exception class for errors.
Tagged: Fri Nov 14 12:39:33 UTC 2003.
SpawnableTask(bool spawn)
Constructor.
All tasks will have the following functionality:
virtual const char * what() const
Get the error message; overrides BaseException & std::exception.what()
virtual ~SpawnableTask()
Destructor.
Exception class for errors The exception comes with a text string that can be printed or logged...
......................................................................
Tagged: Fri Jan 26 17:59:28 NZDT 2007.
virtual void run(void)
Force inheritors to define a run method.
Tagged: Fri Nov 14 12:39:33 UTC 2003.