#ifndef INCLUDED_BOBCAT_CERREXTRACTOR_
#define INCLUDED_BOBCAT_CERREXTRACTOR_

#include <bobcat/extractorbase>

namespace FBB
{

class CerrExtractor: public IUO::ExtractorBase
{
    void (*d_modeFun)();

    public:
        CerrExtractor(size_t bufSize = 100);
        CerrExtractor(StdMode mode, size_t bufSize = 100);

    private:
        void childRedirections() override;
        static void close();
};

} // namespace FBB
        
#endif
