47 #ifndef __Teko_RequestHandler_hpp__
48 #define __Teko_RequestHandler_hpp__
52 #include "Teko_RequestCallback.hpp"
54 #include "Teuchos_RCP.hpp"
83 template <
typename DataT>
84 DataT
request(
const RequestMesg & rm)
const;
90 template <
typename DataT>
91 inline DataT
request(
const std::string & rm)
const
92 {
return request<DataT>(RequestMesg(rm)); }
101 template <
typename DataT>
102 void preRequest(
const RequestMesg & rm)
const;
111 template <
typename DataT>
113 { preRequest<DataT>(RequestMesg(rm)); }
117 mutable std::vector<Teuchos::RCP<RequestCallbackBase> > callbacks_;
125 #include "Teko_RequestHandler_impl.hpp"
void preRequest(const RequestMesg &rm) const
void addRequestCallback(const Teuchos::RCP< RequestCallbackBase > &callback)
DataT request(const RequestMesg &rm) const
DataT request(const std::string &rm) const
void preRequest(const std::string &rm) const