Debian Codegraph @

gstreamer/gstreamermm/check.h

raw symbols SCIP
1 /*
2 * check.h
3 *
4 * Created on: 3 sie 2013
5 * Author: loganek
6 */
7
8 #ifndef _GSTREAMERMM_CHECK_H
9 #define _GSTREAMERMM_CHECK_Hcxx . . $ `gstreamer/gstreamermm/check.h:9:9`!
10
11 #include <glibmm/threads.h>
12 #include <glibmm/ustring.h>
13 #include <gstreamermm/element.h>cxx . . $ `<file>/gstreamer/gstreamermm/element.h`/
14 #include <gstreamermm/pad.h>cxx . . $ `<file>/gstreamer/gstreamermm/pad.h`/
15 #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
16 #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/
17 #include <stdexcept>
18
19 #define THROW_IFcxx . . $ `gstreamer/gstreamermm/check.h:19:9`!(condition, message) \
20 if (condition) \
21 throw Exception(message);
22
23 namespace Gstcxx . . $ Gst/
24 {
25 class Exceptioncxx . . $ Gst/Exception# : stdcxx . . $ std/::runtime_errorcxx . . $ std/runtime_error#
26 {
27 public:
28 Exceptioncxx . . $ Gst/Exception#Exception(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& message)
29 : stdcxx . . $ std/runtime_error#runtime_error(9c546c94e5fcce4e).::runtime_errorcxx . . $ std/runtime_error#(message)
30 {}
31 };
32
33 class Checkcxx . . $ Gst/Check#
34 {
35 class _Checkcxx . . $ Gst/Check#_Check#
36 {
37 public:
38 /**
39 * Setup an element.
40 *
41 * @param factory Factory.
42 * @return a new element.
43 * @throw Gst::Exception if creating element fails.
44 */
45 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Elementcxx . . $ Gst/Element#> setup_elementcxx . . $ Gst/Check#_Check#setup_element(1ef5e1ee31814ad5). (const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& factory);
46
47 /**
48 * Compare two caps with.
49 *
50 * @param caps1 First caps to compare.
51 * @param caps2: Second caps to compare.
52 * @throw Gst::Exception if caps are not equal.
53 */
54 void caps_equalcxx . . $ Gst/Check#_Check#caps_equal(d84182866a238e18). (Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> caps1, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> caps2);
55 };
56
57 Checkcxx . . $ Gst/Check#Check(49f6e7a06ebc5aa8).();
58 Checkcxx . . $ Gst/Check#Check(ece066d86349e8d5).(const Checkcxx . . $ Gst/Check#&);
59 Checkcxx . . $ Gst/Check#& operatorcxx . . $ Gst/Check#`operator=`(3cc97ec09536addd).=(const Checkcxx . . $ Gst/Check#&);
60
61 virtual ~cxx . . $ Gst/Check#`~Check`(49f6e7a06ebc5aa8).Checkcxx . . $ Gst/Check#(){}
62 public:
63 static _Checkcxx . . $ Gst/Check#_Check#& Instancecxx . . $ Gst/Check#Instance(be00db18b680da1c).()
64 {
65 static _Checkcxx . . $ Gst/Check#_Check# instance;
66
67 return instance;
68 }
69 };
70
71 }
72
73 #endif