VideoCodec/Modules/Output/StreamOutputModule.h

#ifndef STREAMOUTPUTMODULE_H_ #define STREAMOUTPUTMODULE_H_ #include <stdio.h> #include <string.h> #include "../../Logger.h" #include "../Module.h" namespace VideoCodec {    class StreamOutputModule : public VideoCodec::Module    {    public:       StreamOutputModule();       virtual ~StreamOutputModule();       void OpenFile();       void CloseFile();       void Write(unsigned char* data, unsigned long int length);       void Write(unsigned char value);       void Write(unsigned short int value);       void Write(unsigned long int value);       ConfigurationStatus Configure(ConfigurationElement* configuration);    private:       FILE* outputFile;       std::string fileName;    }; } #endif /*STREAMOUTPUTMODULE_H_*/