ContRap-Core
Public Member Functions | Protected Attributes

crp::CallBack Class Reference

Class CallBack is a base class for call-back functions. More...

#include <callback.h>

Public Member Functions

 CallBack (int time=0)
 Creates a new call-back.
virtual ~CallBack ()
 Releases the memory.
virtual void callback ()=0
 Function called on call-back.

Protected Attributes

long long time
 Invocation time.

Detailed Description

Class CallBack is a base class for call-back functions.


Constructor & Destructor Documentation

crp::CallBack::CallBack ( int  time = 0)

Creates a new call-back.

Parameters:
timeTime of the call-back usage
virtual crp::CallBack::~CallBack ( ) [virtual]

Releases the memory.


Member Function Documentation

virtual void crp::CallBack::callback ( ) [pure virtual]

Function called on call-back.


Field Documentation

long long crp::CallBack::time [protected]

Invocation time.


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