class Consumer : public Service
{
private:
- bool destroy;
mlt_consumer instance;
public:
Consumer( char *id, char *service = NULL );
+ Consumer( Service &consumer );
Consumer( Consumer &consumer );
Consumer( mlt_consumer consumer );
virtual ~Consumer( );
mlt_service get_service( );
virtual int connect( Service &service );
int start( );
+ void purge( );
int stop( );
bool is_stopped( );
};