RxDock 0.1.0
A fast, versatile, and open-source program for docking ligands to proteins and nucleic acids
Loading...
Searching...
No Matches
NullTransform.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// Null transform which does nothing except fire off any requests to the
14// scoring function
15
16#ifndef _RBTNULLTRANSFORM_H_
17#define _RBTNULLTRANSFORM_H_
18
19#include "rxdock/BaseTransform.h"
20
21namespace rxdock {
22
24public:
25 // Static data member for class type
26 static const std::string _CT;
27
29 // Constructors/destructors
30 NullTransform(const std::string &strName = "NULL");
31 virtual ~NullTransform();
32
34 // Public methods
36
37 virtual void Update(Subject *theChangedSubject); // Does nothing
38
39protected:
41 // Protected methods
43 virtual void Execute(); // Does nothing
44
45private:
47 // Private methods
49 NullTransform(const NullTransform &); // Copy constructor disabled by default
51 operator=(const NullTransform &); // Copy assignment disabled by default
52
53protected:
55 // Protected data
57
58private:
60 // Private data
62};
63
64// Useful typedefs
65typedef SmartPtr<NullTransform> NullTransformPtr; // Smart pointer
66
67} // namespace rxdock
68
69#endif //_RBTNULLTRANSFORM_H_
Definition BaseTransform.h:29
Definition NullTransform.h:23
Definition SmartPointer.h:48
Definition Subject.h:35