~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to src/server/report/lttng/lttng_report_factory.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-03-10 19:28:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: package-import@ubuntu.com-20140310192846-rq9qm3ec26yrelo2
Tags: upstream-0.1.6+14.04.20140310
Import upstream version 0.1.6+14.04.20140310

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2014 Canonical Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3,
 
6
 * as published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
 
17
 */
 
18
 
 
19
#include "../lttng_report_factory.h"
 
20
 
 
21
#include "compositor_report.h"
 
22
#include "connector_report.h"
 
23
#include "display_report.h"
 
24
#include "input_report.h"
 
25
#include "message_processor_report.h"
 
26
#include "scene_report.h"
 
27
#include "session_mediator_report.h"
 
28
 
 
29
std::shared_ptr<mir::compositor::CompositorReport> mir::report::LttngReportFactory::create_compositor_report()
 
30
{
 
31
    return std::make_shared<lttng::CompositorReport>();
 
32
}
 
33
 
 
34
std::shared_ptr<mir::graphics::DisplayReport> mir::report::LttngReportFactory::create_display_report()
 
35
{
 
36
    return std::make_shared<lttng::DisplayReport>();
 
37
}
 
38
 
 
39
std::shared_ptr<mir::scene::SceneReport> mir::report::LttngReportFactory::create_scene_report()
 
40
{
 
41
    return std::make_shared<lttng::SceneReport>();
 
42
}
 
43
 
 
44
std::shared_ptr<mir::frontend::ConnectorReport> mir::report::LttngReportFactory::create_connector_report()
 
45
{
 
46
    return std::make_shared<lttng::ConnectorReport>();
 
47
}
 
48
 
 
49
std::shared_ptr<mir::frontend::SessionMediatorReport> mir::report::LttngReportFactory::create_session_mediator_report()
 
50
{
 
51
    return std::make_shared<lttng::SessionMediatorReport>();
 
52
}
 
53
 
 
54
std::shared_ptr<mir::frontend::MessageProcessorReport> mir::report::LttngReportFactory::create_message_processor_report()
 
55
{
 
56
    return std::make_shared<lttng::MessageProcessorReport>();
 
57
}
 
58
 
 
59
std::shared_ptr<mir::input::InputReport> mir::report::LttngReportFactory::create_input_report()
 
60
{
 
61
    return std::make_shared<lttng::InputReport>();
 
62
}
 
63
 
 
64