123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- #ifndef MODULES_CONTRIB_FAKESINK_HPP_
- #define MODULES_CONTRIB_FAKESINK_HPP_
- #include <memory>
- #include <string>
- #include "cnstream_module.hpp"
- namespace cnstream {
- class FakeSink : public Module, public ModuleCreator<FakeSink> {
- public:
-
- explicit FakeSink(const std::string& name);
-
- ~FakeSink() {}
-
- bool Open(ModuleParamSet paramSet) override;
-
- void Close() override;
-
- int Process(std::shared_ptr<CNFrameInfo> data) override;
-
- bool CheckParamSet(const ModuleParamSet& paramSet) const override;
- };
- }
- #endif
|