Debian Codegraph @

gstreamer/gstreamermm/sample.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/sample.h`/
2 #ifndef _GSTREAMERMM_SAMPLE_H
3 #define _GSTREAMERMM_SAMPLE_Hcxx . . $ `gstreamer/gstreamermm/sample.h:3:9`!
4
5
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8
9 /*
10 * sample.hg
11 *
12 * Created on: Jul 30, 2013
13 * Author: m.kolny
14 */
15 /* gstreamermm - a C++ wrapper for gstreamer
16 *
17 * Copyright 2008-2016 The gstreamermm Development Team
18 *
19 * This library is free software; you can redistribute it and/or
20 * modify it under the terms of the GNU Lesser General Public
21 * License as published by the Free Software Foundation; either
22 * version 2.1 of the License, or (at your option) any later version.
23 *
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
28 *
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free
31 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
32 */
33
34 #include <gst/gst.h>
35 #include <gstreamermm/miniobject.h>cxx . . $ `<file>/gstreamer/gstreamermm/miniobject.h`/
36 #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/
37 #include <gstreamermm/caps.h>cxx . . $ `<file>/gstreamer/gstreamermm/caps.h`/
38 #include <gstreamermm/segment.h>cxx . . $ `<file>/gstreamer/gstreamermm/segment.h`/
39 #include <gstreamermm/structure.h>cxx . . $ `<file>/gstreamer/gstreamermm/structure.h`/
40
41
42 namespace Gstcxx . . $ Gst/
43 {
44
45 /**
46 * A Gst::Sample is a small object containing data, a type, timing and
47 * extra arbitrary information.
48 *
49 * Last reviewed on 2016-09-14 (1.8.0).
50 */
51 class Samplecxx . . $ Gst/Sample# : public MiniObjectcxx . . $ Gst/MiniObject#
52 {
53 public:
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 using CppObjectTypecxx . . $ Gst/Sample#CppObjectType# = Samplecxx . . $ Gst/Sample#;
56 using BaseObjectTypecxx . . $ Gst/Sample#BaseObjectType# = GstSample;
57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
58
59
60 /** Increment the reference count for this object.
61 * You should never need to do this manually - use the object via a RefPtr instead.
62 */
63 void referencecxx . . $ Gst/Sample#reference(83f5f38750778ac8).() const;
64
65 /** Decrement the reference count for this object.
66 * You should never need to do this manually - use the object via a RefPtr instead.
67 */
68 void unreferencecxx . . $ Gst/Sample#unreference(83f5f38750778ac8).() const;
69
70 ///Provides access to the underlying C instance.
71 GstSample* gobjcxx . . $ Gst/Sample#gobj(7a668d1d85c8bc56).();
72
73 ///Provides access to the underlying C instance.
74 const GstSample* gobjcxx . . $ Gst/Sample#gobj(e5c4c4a1b6ba429f).() const;
75
76 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
77 GstSample* gobj_copycxx . . $ Gst/Sample#gobj_copy(66c293e4f3d76847).() const;
78
79 Samplecxx . . $ Gst/Sample#Sample(49f6e7a06ebc5aa8).() = delete;
80
81 // noncopyable
82 Samplecxx . . $ Gst/Sample#Sample(5363d1b0aefc01a3).(const Samplecxx . . $ Gst/Sample#&) = delete;
83 Samplecxx . . $ Gst/Sample#& operatorcxx . . $ Gst/Sample#`operator=`(35fb3a984f28947c).=(const Samplecxx . . $ Gst/Sample#&) = delete;
84
85 protected:
86 // Do not derive this. Gst::Sample can neither be constructed nor deleted.
87
88 void operatorcxx . . $ Gst/Sample#`operator delete`(e819ef7a57397d90). delete(void*, stdcxx . . $ std/::size_tcxx . . $ std/size_t#);
89
90 private:
91
92
93 public:
94 static Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> createcxx . . $ Gst/Sample#create(83fb127b6a52bb9d).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& buffer, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps, const Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment#& segment, Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure#&& info);
95
96
97 /** Get the buffer associated with @a sample
98 *
99 * @return The buffer of @a sample or <tt>nullptr</tt>
100 * when there is no buffer. The buffer remains valid as long as
101 * @a sample is valid. If you need to hold on to it for longer than
102 * that, take a ref to the buffer with Gst::Buffer::ref().
103 */
104 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> get_buffercxx . . $ Gst/Sample#get_buffer(6fb1b7a5ca7b7240).();
105
106 /** Get the buffer associated with @a sample
107 *
108 * @return The buffer of @a sample or <tt>nullptr</tt>
109 * when there is no buffer. The buffer remains valid as long as
110 * @a sample is valid. If you need to hold on to it for longer than
111 * that, take a ref to the buffer with Gst::Buffer::ref().
112 */
113 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> get_buffercxx . . $ Gst/Sample#get_buffer(9e6c469e1d332735).() const;
114
115 /** Get the caps associated with @a sample
116 *
117 * @return The caps of @a sample or <tt>nullptr</tt>
118 * when there is no caps. The caps remain valid as long as @a sample is
119 * valid. If you need to hold on to the caps for longer than that,
120 * take a ref to the caps with Gst::Caps::ref().
121 */
122 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> get_capscxx . . $ Gst/Sample#get_caps(22811ab509ec2061).();
123
124 /** Get the caps associated with @a sample
125 *
126 * @return The caps of @a sample or <tt>nullptr</tt>
127 * when there is no caps. The caps remain valid as long as @a sample is
128 * valid. If you need to hold on to the caps for longer than that,
129 * take a ref to the caps with Gst::Caps::ref().
130 */
131 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> get_capscxx . . $ Gst/Sample#get_caps(b365bf96c1803900).() const;
132
133 /** Get extra information associated with @a sample.
134 *
135 * @return The extra info of @a sample.
136 * The info remains valid as long as @a sample is valid.
137 */
138 Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# get_infocxx . . $ Gst/Sample#get_info(65062218a0489aeb).() const;
139
140 /** Create a copy of the given sample. This will also make a newly allocated
141 * copy of the data the source sample contains.
142 *
143 * @return A new copy of @a buf.
144 */
145 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> copycxx . . $ Gst/Sample#copy(aa585b6a0e4e4e3a).() const;
146
147
148 /** Get the segment associated with @a sample
149 *
150 * @return The segment of @a sample.
151 * The segment remains valid as long as @a sample is valid.
152 */
153 Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment# get_segmentcxx . . $ Gst/Sample#get_segment(f901a0bbfe1e5167).() const;
154
155
156 };
157
158 }//namespace Gst
159
160
161 namespace Glibcxx . . $ Glib/
162 {
163
164 /** A Glib::wrap() method for this object.
165 *
166 * @param object The C instance.
167 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
168 * @result A C++ instance that wraps this C instance.
169 *
170 * @relates Gst::Sample
171 */
172 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Samplecxx . . $ Gst/Sample#> wrapcxx . . $ Glib/wrap(9e4721cb9376f8a9).(GstSample* object, bool take_copy = false);
173
174 } // namespace Glib
175
176
177 #endif /* _GSTREAMERMM_SAMPLE_H */
178