ProviewR Programmer's Reference Manual  V7.0.0
Public Member Functions | List of all members

Baseclass for applications. More...

#include <rt_appl.h>

Inheritance diagram for rt_appl:
ra_appl

Public Member Functions

 rt_appl (const char *name, errh_eAnix anix, double scantime=1.0, qcom_sQid qid=qcom_cNQid)
 Constructor. More...
 
virtual void open ()
 Initialize the application. More...
 
virtual void close ()
 Closes the application. More...
 
virtual void scan ()
 Cyclic function. More...
 

Detailed Description

Baseclass for applications.

rt_appl is a baseclass for applications, where the subclasses should implement the virtual functions open(), close() and scan().

Definition at line 52 of file rt_appl.h.

Constructor & Destructor Documentation

◆ rt_appl()

rt_appl::rt_appl ( const char *  name,
errh_eAnix  anix,
double  scantime = 1.0,
qcom_sQid  qid = qcom_cNQid 
)

Constructor.

Parameters
nameProcess name.
anixApplication index.
scantimeScantime for call of the scan() function.
qidQcom queue identity.

Definition at line 54 of file rt_appl.cpp.

Member Function Documentation

◆ close()

void rt_appl::close ( )
virtual

Closes the application.

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

Reimplemented in ra_appl.

Definition at line 194 of file rt_appl.cpp.

◆ open()

void rt_appl::open ( )
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 in ra_appl.

Definition at line 190 of file rt_appl.cpp.

◆ scan()

void rt_appl::scan ( )
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 in ra_appl.

Definition at line 198 of file rt_appl.cpp.


The documentation for this class was generated from the following files: