ProviewR Programmer's Reference Manual  V6.1.4
Modules | Classes
rt_appl Base class for applications

Modules

 Application examples
 

Classes

class  rt_appl
 Baseclass for applications. More...
 
class  MyAppl
 Advanced c++ application example. More...
 

Detailed Description

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()

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.

See also
rt_appl::open

scan()

The scan() function is called cyclic with the scantime specified in the constuctor.

See also
rt_appl::scan

close()

The close() function is called when a restart or stop event is received. It should unlink all direct links.

See also
rt_appl::close