Teko Version of the Day
Public Member Functions
Teko::RequestCallback< DataT > Class Template Reference

#include <Teko_RequestCallback.hpp>

Inheritance diagram for Teko::RequestCallback< DataT >:
Inheritance graph

List of all members.

Public Member Functions

virtual DataT request (const RequestMesg &)=0
virtual bool handlesRequest (const RequestMesg &)=0

Detailed Description

template<typename DataT>
class Teko::RequestCallback< DataT >

Primary reference point for the application to derive off for a request callback. This one has a request function that returns the specified type of data. Note that the type may be a reference counted pointer (Teuchos::RCP for instance) if a persistant value is needed.

Definition at line 90 of file Teko_RequestCallback.hpp.

Member Function Documentation

template<typename DataT >
virtual DataT Teko::RequestCallback< DataT >::request ( const RequestMesg &  ) [pure virtual]

Satisfy a request. Similar to preRequest no assumption on the response to handlesRequest is made. Again its up to the user to satisfy this.

Implemented in Teko::StaticRequestCallback< DataT >.

template<typename DataT >
virtual bool Teko::RequestCallback< DataT >::handlesRequest ( const RequestMesg &  ) [pure virtual]

Does this object satisfy the request?

True if the object can handle the request.

Implements Teko::RequestCallbackBase.

Implemented in Teko::StaticRequestCallback< DataT >.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables