Line | |
---|
1 | #ifndef DISSECTOR_FACTORY_H |
---|
2 | #define DISSECTOR_FACTORY_H |
---|
3 | |
---|
4 | #include "Helper/Singleton.h" |
---|
5 | #include "Helper/Factory.h" |
---|
6 | #include "Dissector.h" |
---|
7 | |
---|
8 | /** |
---|
9 | * A singleton factory class for instantiating dissectors. |
---|
10 | */ |
---|
11 | class DissectorFactory : public Factory<Dissector>, public Singleton<DissectorFactory> { |
---|
12 | |
---|
13 | protected: |
---|
14 | //Singleton |
---|
15 | friend class Singleton<DissectorFactory>; |
---|
16 | |
---|
17 | //Singleton |
---|
18 | DissectorFactory(); |
---|
19 | |
---|
20 | public: |
---|
21 | virtual ~DissectorFactory(); |
---|
22 | |
---|
23 | }; |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.