init
[open-duckbox-project-sh4:theseus-tdt.git] / tdt / cvs / apps / dvb / libdvbsi++ / include / dvbsi++ / s2_satellite_delivery_system_descriptor.h
1 /*
2  *  $Id: s2_satellite_delivery_system_descriptor.h,v 1.1 2005/11/10 23:55:32 mws Exp $
3  *
4  *  Copyright (C) 2005 Marcel Siegert <mws@twisted-brains.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License version 2.1 as published by the Free Software Foundation.
9  *
10  * See the file 'COPYING' in the top level directory for details.
11  */
12 #ifndef __s2_satellite_delivery_system_descriptor_h__
13 #define __s2_satellite_delivery_system_descriptor_h__
14
15 #include "descriptor.h"
16
17 class S2SatelliteDeliverySystemDescriptor : public Descriptor
18 {
19         protected:
20                 unsigned scramblingSequenceSelector      : 1;
21                 unsigned multipleInputStreamFlag         : 1;
22                 unsigned backwardsCompatibilityIndicator : 1;
23                 unsigned scramblingSequenceIndex         :18;
24                 unsigned inputStreamIdentifier           : 8;
25
26         public:
27                 S2SatelliteDeliverySystemDescriptor(const uint8_t* const buffer);
28                 virtual ~S2SatelliteDeliverySystemDescriptor();
29
30                 uint8_t getScramblingSequenceSelector() const;
31                 uint8_t getMultipleInputStreamFlag() const;
32                 uint8_t getBackwardsCompatibilityIndicator() const;
33                 uint32_t getScramblingSequenceIndex() const;
34                 uint8_t getInputStreamIdentifier() const;
35 };
36
37 #endif /* __s2_satellite_delivery_system_descriptor_h__*/