ROVLib2
RISCOSC++applicationdevelopmentlibrary
src-tutorials
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
}
rov2::CTask::Poll
void Poll()
Definition:
task.cpp:35
rov2::CTask
Definition:
task.h:13
rov2
Definition:
aboutbox.cpp:15
Generated by
1.8.13