comparison transform/ModelTransformerFactory.h @ 878:a2689db084f4 tonioni

Add a callback for no models as well (so we know something has completed and can e.g. delete the handler)
author Chris Cannam
date Wed, 29 Jan 2014 17:32:08 +0000
parents b109b88bfa85
children 85879408f665 06579b8ffb7b
comparison
equal deleted inserted replaced
877:b109b88bfa85 878:a2689db084f4
71 size_t duration = 0, 71 size_t duration = 0,
72 UserConfigurator *configurator = 0); 72 UserConfigurator *configurator = 0);
73 73
74 class AdditionalModelHandler { 74 class AdditionalModelHandler {
75 public: 75 public:
76 virtual ~AdditionalModelHandler() { }
77
78 // Exactly one of these functions will be called
76 virtual void moreModelsAvailable(std::vector<Model *> models) = 0; 79 virtual void moreModelsAvailable(std::vector<Model *> models) = 0;
80 virtual void noMoreModelsAvailable() = 0;
77 }; 81 };
78 82
79 /** 83 /**
80 * Return the output model resulting from applying the named 84 * Return the output model resulting from applying the named
81 * transform to the given input model. The transform may still be 85 * transform to the given input model. The transform may still be