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