Teko  Version of the Day
 All Classes Files Functions Variables Pages
Teko_RequestHandlerContainer.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Teko: A package for block and physics based preconditioning
4 //
5 // Copyright 2010 NTESS and the Teko contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef __Teko_RequestHandlerContainer_hpp__
11 #define __Teko_RequestHandlerContainer_hpp__
12 
13 #include "Teko_RequestHandler.hpp"
14 
15 namespace Teko {
16 
22  public:
23  virtual ~RequestHandlerContainer() {}
24 
26  virtual void setRequestHandler(const Teuchos::RCP<RequestHandler>& rh) = 0;
27 
29  virtual Teuchos::RCP<RequestHandler> getRequestHandler() const = 0;
30 };
31 
32 } // end namespace Teko
33 
34 #endif
virtual void setRequestHandler(const Teuchos::RCP< RequestHandler > &rh)=0
Set the request handler with pointers to the appropriate callbacks.
virtual Teuchos::RCP< RequestHandler > getRequestHandler() const =0
Get the request handler with pointers to the appropriate callbacks.