RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
RequestHandler.h
1/***********************************************************************
2 * The rDock program was developed from 1998 - 2006 by the software team
3 * at RiboTargets (subsequently Vernalis (R&D) Ltd).
4 * In 2006, the software was licensed to the University of York for
5 * maintenance and distribution.
6 * In 2012, Vernalis and the University of York agreed to release the
7 * program as Open Source software.
8 * This version is licensed under GNU-LGPL version 3.0 with support from
9 * the University of Barcelona.
10 * http://rdock.sourceforge.net/
11 ***********************************************************************/
12
13// Abstract class for handling requests. Classes who want to handle requests
14// should derive from RequestHandler and override HandleRequest.
15// Useful for implementing a Chain of Responsibility in aggregate containers
16
17#ifndef _RBTREQUESTHANDLER_H_
18#define _RBTREQUESTHANDLER_H_
19
20#include "rxdock/Request.h"
21
22namespace rxdock {
23
25public:
27 // Constructors/destructors
29 virtual ~RequestHandler() {}
30
32 // Public methods
34 virtual void HandleRequest(RequestPtr spRequest) {}
35};
36
37} // namespace rxdock
38
39#endif //_RBTREQUESTHANDLER_H_
Definition RequestHandler.h:24