~morphis/aethercast/audio-streaming

« back to all changes in this revision

Viewing changes to src/mcs/report/reportfactory.h

Rework part of the streaming framework and add further unit tests

This reworks the streaming framework to be better testable which wasn't the case before
for all parts. Most critical parts are covered with tests now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
class ReportFactory : public mcs::NonCopyable {
34
34
public:
35
 
    static std::unique_ptr<ReportFactory> Create();
 
35
    typedef std::shared_ptr<ReportFactory> Ptr;
 
36
 
 
37
    static Ptr Create();
36
38
 
37
39
    virtual video::EncoderReport::Ptr CreateEncoderReport() = 0;
38
40
    virtual video::RendererReport::Ptr CreateRendererReport() = 0;