10 #ifndef __Teko_RequestHandler_hpp__
11 #define __Teko_RequestHandler_hpp__
15 #include "Teko_RequestCallback.hpp"
17 #include "Teuchos_RCP.hpp"
46 template <
typename DataT>
47 DataT
request(
const RequestMesg &rm)
const;
53 template <
typename DataT>
54 inline DataT
request(
const std::string &rm)
const {
55 return request<DataT>(RequestMesg(rm));
65 template <
typename DataT>
75 template <
typename DataT>
77 preRequest<DataT>(RequestMesg(rm));
82 mutable std::vector<Teuchos::RCP<RequestCallbackBase> > callbacks_;
90 #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