ProviewR Programmer's Reference Manual
V6.1.4
|
Modules | |
Application examples | |
Classes | |
class | rt_appl |
Baseclass for applications. More... | |
class | MyAppl |
Advanced c++ application example. More... | |
rt_appl is a base class for c++ applications.
It contains initialization of gdh and qcom, and handles the restart and stop events when the runtime environment is restarted or stopped.
A subclass should implement the virtual functions open(), close() and scan().
open() 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.
The scan() function is called cyclic with the scantime specified in the constuctor.
The close() function is called when a restart or stop event is received. It should unlink all direct links.