Teko  Version of the Day
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
Teko::RequestCallbackBase Class Referenceabstract

#include <Teko_RequestCallback.hpp>

Inheritance diagram for Teko::RequestCallbackBase:
Inheritance graph
[legend]

Public Member Functions

virtual bool handlesRequest (const RequestMesg &)=0
 
virtual void preRequest (const RequestMesg &)=0
 

Detailed Description

Base class that basically describes a sub set of functonality for a listener. The application should derive off RequestCallback.

Definition at line 58 of file Teko_RequestCallback.hpp.

Member Function Documentation

virtual bool Teko::RequestCallbackBase::handlesRequest ( const RequestMesg &  )
pure virtual

Does this object satisfy the request?

Returns
True if the object can handle the request.

Implemented in Teko::RequestCallback< DataT >, and Teko::StaticRequestCallback< DataT >.

virtual void Teko::RequestCallbackBase::preRequest ( const RequestMesg &  )
pure virtual

Let the object know, that there is a request pending. This permits the application code to ``prepare'' to satisfy the request. This only must be called on construction of the preconditioner factory. If the result of the request must be constructed multiple times, that is incombant on the developer of the callback.

Note
No assumption of handlesRequest being true for this message is made. It is up to the application to verify this.

Implemented in Teko::StaticRequestCallback< DataT >.


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