Revision 1486,
566 bytes
checked in by mattausch, 18 years ago
(diff) |
worked on guided visibility sampling
|
Rev | Line | |
---|
[1486] | 1 | #ifndef _PreprocessorFactory_H__
|
---|
| 2 | #define _PreprocessorFactory_H__
|
---|
| 3 |
|
---|
| 4 | #include <string>
|
---|
| 5 | using namespace std;
|
---|
| 6 |
|
---|
| 7 | namespace GtpVisibilityPreprocessor {
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | class Preprocessor;
|
---|
| 11 |
|
---|
| 12 | /** Factory for creating preprocessors
|
---|
| 13 | */
|
---|
| 14 | class PreprocessorFactory
|
---|
| 15 | {
|
---|
| 16 | public:
|
---|
| 17 | /** Returns the preprocessor with the given name or NULL if such a preprocessor
|
---|
| 18 | does not exist.
|
---|
| 19 | */
|
---|
| 20 | static Preprocessor *CreatePreprocessor(const string &preprocessorName);
|
---|
| 21 |
|
---|
| 22 | protected:
|
---|
| 23 | /** Hidden constructor. Class cannot be instantiated.
|
---|
| 24 | */
|
---|
| 25 | PreprocessorFactory();
|
---|
| 26 |
|
---|
| 27 | };
|
---|
| 28 |
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | #endif
|
---|
Note: See
TracBrowser
for help on using the repository browser.