OperationPool.h 789 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * @file OperationPool.h
  3. * @brief pool for feature extraction methods
  4. * @author Sven Sickert
  5. * @date 10/09/2015
  6. */
  7. #ifndef OperationPoolINCLUDE
  8. #define OperationPoolINCLUDE
  9. #include <vector>
  10. #include "Operations3D.h"
  11. #include <core/basics/Config.h>
  12. namespace OBJREC {
  13. class OperationPool
  14. {
  15. protected:
  16. const NICE::Config *config;
  17. public:
  18. std::vector<Operation3D*> pool;
  19. /** simple constructor */
  20. OperationPool ( );
  21. OperationPool ( const NICE::Config *_config );
  22. /** simple destructor */
  23. virtual ~OperationPool( );
  24. /** get operations */
  25. virtual void getOperations ( std::string confSection = "Features" ) = 0;
  26. /** free memory */
  27. virtual void clear ( );
  28. };
  29. } //namespace
  30. #endif