1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * gtkD is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module gst.mpegts.SatelliteDeliverySystemDescriptor; 26 27 private import glib.MemorySlice; 28 private import gst.mpegts.c.functions; 29 public import gst.mpegts.c.types; 30 private import gtkd.Loader; 31 32 33 /** 34 * Satellite Delivery System Descriptor (EN 300 468 v.1.13.1) 35 */ 36 public final class SatelliteDeliverySystemDescriptor 37 { 38 /** the main Gtk struct */ 39 protected GstMpegtsSatelliteDeliverySystemDescriptor* gstMpegtsSatelliteDeliverySystemDescriptor; 40 protected bool ownedRef; 41 42 /** Get the main Gtk struct */ 43 public GstMpegtsSatelliteDeliverySystemDescriptor* getSatelliteDeliverySystemDescriptorStruct(bool transferOwnership = false) 44 { 45 if (transferOwnership) 46 ownedRef = false; 47 return gstMpegtsSatelliteDeliverySystemDescriptor; 48 } 49 50 /** the main Gtk struct as a void* */ 51 protected void* getStruct() 52 { 53 return cast(void*)gstMpegtsSatelliteDeliverySystemDescriptor; 54 } 55 56 /** 57 * Sets our main struct and passes it to the parent class. 58 */ 59 public this (GstMpegtsSatelliteDeliverySystemDescriptor* gstMpegtsSatelliteDeliverySystemDescriptor, bool ownedRef = false) 60 { 61 this.gstMpegtsSatelliteDeliverySystemDescriptor = gstMpegtsSatelliteDeliverySystemDescriptor; 62 this.ownedRef = ownedRef; 63 } 64 65 ~this () 66 { 67 if ( Linker.isLoaded(LIBRARY_GSTMPEGTS) && ownedRef ) 68 sliceFree(gstMpegtsSatelliteDeliverySystemDescriptor); 69 } 70 71 72 /** 73 * the frequency in kHz (kiloHertz) 74 */ 75 public @property uint frequency() 76 { 77 return gstMpegtsSatelliteDeliverySystemDescriptor.frequency; 78 } 79 80 /** Ditto */ 81 public @property void frequency(uint value) 82 { 83 gstMpegtsSatelliteDeliverySystemDescriptor.frequency = value; 84 } 85 86 /** 87 * the orbital position in degrees 88 */ 89 public @property float orbitalPosition() 90 { 91 return gstMpegtsSatelliteDeliverySystemDescriptor.orbitalPosition; 92 } 93 94 /** Ditto */ 95 public @property void orbitalPosition(float value) 96 { 97 gstMpegtsSatelliteDeliverySystemDescriptor.orbitalPosition = value; 98 } 99 100 /** 101 * If %TRUE, the satellite is in the eastern part of the orbit, 102 * else in the western part. 103 */ 104 public @property bool westEast() 105 { 106 return gstMpegtsSatelliteDeliverySystemDescriptor.westEast != 0; 107 } 108 109 /** Ditto */ 110 public @property void westEast(bool value) 111 { 112 gstMpegtsSatelliteDeliverySystemDescriptor.westEast = value; 113 } 114 115 /** 116 * The polarization of the transmitted signal 117 */ 118 public @property GstMpegtsSatellitePolarizationType polarization() 119 { 120 return gstMpegtsSatelliteDeliverySystemDescriptor.polarization; 121 } 122 123 /** Ditto */ 124 public @property void polarization(GstMpegtsSatellitePolarizationType value) 125 { 126 gstMpegtsSatelliteDeliverySystemDescriptor.polarization = value; 127 } 128 129 /** 130 * Roll-off factor used in DVB-S2 131 */ 132 public @property GstMpegtsSatelliteRolloff rollOff() 133 { 134 return gstMpegtsSatelliteDeliverySystemDescriptor.rollOff; 135 } 136 137 /** Ditto */ 138 public @property void rollOff(GstMpegtsSatelliteRolloff value) 139 { 140 gstMpegtsSatelliteDeliverySystemDescriptor.rollOff = value; 141 } 142 143 /** 144 * modulation system, %TRUE if DVB-S2, else DVB-S 145 */ 146 public @property bool modulationSystem() 147 { 148 return gstMpegtsSatelliteDeliverySystemDescriptor.modulationSystem != 0; 149 } 150 151 /** Ditto */ 152 public @property void modulationSystem(bool value) 153 { 154 gstMpegtsSatelliteDeliverySystemDescriptor.modulationSystem = value; 155 } 156 157 /** 158 * Modulation scheme used 159 */ 160 public @property GstMpegtsModulationType modulationType() 161 { 162 return gstMpegtsSatelliteDeliverySystemDescriptor.modulationType; 163 } 164 165 /** Ditto */ 166 public @property void modulationType(GstMpegtsModulationType value) 167 { 168 gstMpegtsSatelliteDeliverySystemDescriptor.modulationType = value; 169 } 170 171 /** 172 * Symbol rate (in symbols per second) 173 */ 174 public @property uint symbolRate() 175 { 176 return gstMpegtsSatelliteDeliverySystemDescriptor.symbolRate; 177 } 178 179 /** Ditto */ 180 public @property void symbolRate(uint value) 181 { 182 gstMpegtsSatelliteDeliverySystemDescriptor.symbolRate = value; 183 } 184 185 /** 186 * inner FEC scheme used 187 */ 188 public @property GstMpegtsDVBCodeRate fecInner() 189 { 190 return gstMpegtsSatelliteDeliverySystemDescriptor.fecInner; 191 } 192 193 /** Ditto */ 194 public @property void fecInner(GstMpegtsDVBCodeRate value) 195 { 196 gstMpegtsSatelliteDeliverySystemDescriptor.fecInner = value; 197 } 198 199 /** */ 200 public static GType getType() 201 { 202 return gst_mpegts_satellite_delivery_system_descriptor_get_type(); 203 } 204 }