ProviewR Programmer's Reference Manual
V6.1.4
|
Classes | |
class | ra_appl |
A simple c++ application example. More... | |
class | MyAppl |
Advanced c++ application example. More... | |
Functions | |
void | ra_appl::open () |
Initialize the application. More... | |
void | ra_appl::close () |
Closes the application. More... | |
void | ra_appl::scan () |
Cyclic function. More... | |
int | ra_appl::mh_send (const char *text, mh_eEventPrio prio) |
Send alarm. More... | |
|
virtual |
Closes the application.
the close() is called when a restart or stop event is received. It should unlink to all direct links.
Reimplemented from rt_appl.
Definition at line 92 of file ra_appl.cpp.
References gdh_UnrefObjectInfo().
int ra_appl::mh_send | ( | const char * | text, |
mh_eEventPrio | prio | ||
) |
Send alarm.
text | Alarm text |
prio | Alarm prio |
Definition at line 117 of file ra_appl.cpp.
Referenced by ra_appl::scan().
|
virtual |
Initialize the application.
The open() function is called after initialization, and may contain setup of direct links to objects and attributes in the realtime database.
The open() function is also called after a soft restart.
Reimplemented from rt_appl.
Definition at line 61 of file ra_appl.cpp.
References EVEN, gdh_RefObjectInfo(), and mh_ApplConnect().
|
virtual |
Cyclic function.
The scan() function is called cyclic with the scantime specified in the constructor. In this function all the control and supervision work of the application is placed.
Reimplemented from rt_appl.
Definition at line 99 of file ra_appl.cpp.
References ra_appl::mh_send().