ROVLib2
RISCOSC++applicationdevelopmentlibrary
tut1.cpp
1 #include "task.h"
2 
3 using namespace rov2;
4 
5 int main(int argc, char** argv)
6 {
7  /* Create the task */
8  CTask* pTask = new CTask("First ROVLib2 app!");
9 
10  /* Poll the task until ended (via TaskManager Quit) */
11  pTask->Poll();
12 
13  /* Delete the task (not strictly necessary) */
14  delete(pTask);
15 
16  /* And the end... */
17  return 0;
18 }
void Poll()
Definition: task.cpp:35