comparison transform/ModelTransformer.h @ 1079:6ea7761a418b

Emit a signal if transform fails
author Chris Cannam
date Wed, 10 Jun 2015 13:11:45 +0100
parents b109b88bfa85
children 5a1198083d9a
comparison
equal deleted inserted replaced
1078:ce82bcdc95d0 1079:6ea7761a418b
65 * delete the transform before assuming its input and output 65 * delete the transform before assuming its input and output
66 * models are no longer required. 66 * models are no longer required.
67 */ 67 */
68 void abandon() { m_abandoned = true; } 68 void abandon() { m_abandoned = true; }
69 69
70 /**
71 * Return true if the processing thread is being or has been
72 * abandoned, i.e. if abandon() has been called.
73 */
74 bool isAbandoned() const { return m_abandoned; }
75
70 /** 76 /**
71 * Return the input model for the transform. 77 * Return the input model for the transform.
72 */ 78 */
73 Model *getInputModel() { return m_input.getModel(); } 79 Model *getInputModel() { return m_input.getModel(); }
74 80