ReactOS 0.4.15-dev-8235-gcd88a97
CBDADigitalDemodulator Class Reference
Inheritance diagram for CBDADigitalDemodulator:
Collaboration diagram for CBDADigitalDemodulator:

Public Member Functions

STDMETHODIMP QueryInterface (REFIID InterfaceId, PVOID *Interface)
 
 STDMETHODIMP_ (ULONG) AddRef()
 
 STDMETHODIMP_ (ULONG) Release()
 
HRESULT STDMETHODCALLTYPE put_ModulationType (ModulationType *pModulationType)
 
HRESULT STDMETHODCALLTYPE get_ModulationType (ModulationType *pModulationType)
 
HRESULT STDMETHODCALLTYPE put_InnerFECMethod (FECMethod *pFECMethod)
 
HRESULT STDMETHODCALLTYPE get_InnerFECMethod (FECMethod *pFECMethod)
 
HRESULT STDMETHODCALLTYPE put_InnerFECRate (BinaryConvolutionCodeRate *pFECRate)
 
HRESULT STDMETHODCALLTYPE get_InnerFECRate (BinaryConvolutionCodeRate *pFECRate)
 
HRESULT STDMETHODCALLTYPE put_OuterFECMethod (FECMethod *pFECMethod)
 
HRESULT STDMETHODCALLTYPE get_OuterFECMethod (FECMethod *pFECMethod)
 
HRESULT STDMETHODCALLTYPE put_OuterFECRate (BinaryConvolutionCodeRate *pFECRate)
 
HRESULT STDMETHODCALLTYPE get_OuterFECRate (BinaryConvolutionCodeRate *pFECRate)
 
HRESULT STDMETHODCALLTYPE put_SymbolRate (ULONG *pSymbolRate)
 
HRESULT STDMETHODCALLTYPE get_SymbolRate (ULONG *pSymbolRate)
 
HRESULT STDMETHODCALLTYPE put_SpectralInversion (SpectralInversion *pSpectralInversion)
 
HRESULT STDMETHODCALLTYPE get_SpectralInversion (SpectralInversion *pSpectralInversion)
 
 CBDADigitalDemodulator (IKsPropertySet *pProperty, ULONG NodeId)
 
 ~CBDADigitalDemodulator ()
 

Protected Attributes

LONG m_Ref
 
IKsPropertySetm_pProperty
 
ULONG m_NodeId
 

Detailed Description

Definition at line 17 of file digitaldemo.cpp.

Constructor & Destructor Documentation

◆ CBDADigitalDemodulator()

CBDADigitalDemodulator::CBDADigitalDemodulator ( IKsPropertySet pProperty,
ULONG  NodeId 
)
inline

Definition at line 53 of file digitaldemo.cpp.

53: m_Ref(0), m_pProperty(pProperty), m_NodeId(NodeId){};
_Must_inspect_result_ _In_ KSP_BDA_NODE_PIN * pProperty
Definition: bdasup.h:156
IKsPropertySet * m_pProperty
Definition: digitaldemo.cpp:58

◆ ~CBDADigitalDemodulator()

CBDADigitalDemodulator::~CBDADigitalDemodulator ( )
inline

Definition at line 54 of file digitaldemo.cpp.

54{};

Member Function Documentation

◆ get_InnerFECMethod()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_InnerFECMethod ( FECMethod pFECMethod)

Definition at line 154 of file digitaldemo.cpp.

155{
156 return E_NOINTERFACE;
157}
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ get_InnerFECRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_InnerFECRate ( BinaryConvolutionCodeRate pFECRate)

Definition at line 184 of file digitaldemo.cpp.

185{
186 return E_NOINTERFACE;
187}

◆ get_ModulationType()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_ModulationType ( ModulationType pModulationType)

Definition at line 123 of file digitaldemo.cpp.

124{
125 return E_NOINTERFACE;
126}

◆ get_OuterFECMethod()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_OuterFECMethod ( FECMethod pFECMethod)

Definition at line 214 of file digitaldemo.cpp.

215{
216 return E_NOINTERFACE;
217}

◆ get_OuterFECRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_OuterFECRate ( BinaryConvolutionCodeRate pFECRate)

Definition at line 244 of file digitaldemo.cpp.

245{
246 return E_NOINTERFACE;
247}

◆ get_SpectralInversion()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_SpectralInversion ( SpectralInversion pSpectralInversion)

Definition at line 304 of file digitaldemo.cpp.

305{
306 return E_NOINTERFACE;
307}

◆ get_SymbolRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::get_SymbolRate ( ULONG pSymbolRate)

Definition at line 274 of file digitaldemo.cpp.

275{
276 return E_NOINTERFACE;
277}

◆ put_InnerFECMethod()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_InnerFECMethod ( FECMethod pFECMethod)

Definition at line 130 of file digitaldemo.cpp.

131{
133 HRESULT hr;
134
135 // setup request
136 Node.NodeId = m_NodeId;
137 Node.Reserved = 0;
138
139 // perform request
141
142
143#ifdef BDAPLGIN_TRACE
144 WCHAR Buffer[100];
145 swprintf(Buffer, L"CBDADigitalDemodulator::put_InnerFECMethod: pFECMethod %lu hr %lx\n", *pFECMethod, hr);
147#endif
148
149 return hr;
150}
@ KSPROPERTY_BDA_INNER_FEC_TYPE
Definition: bdamedia.h:294
FECMethod
Definition: bdatypes.h:253
Definition: bufpool.h:45
const GUID KSPROPSETID_BdaDigitalDemodulator
Definition: digitaldemo.cpp:14
union node Node
Definition: types.h:1255
#define swprintf
Definition: precomp.h:40
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
Definition: ignoredbgout.c:23
HRESULT Set([in] REFGUID guidPropSet, [in] DWORD dwPropID, [in, size_is(cbInstanceData)] LPVOID pInstanceData, [in] DWORD cbInstanceData, [in, size_is(cbPropData)] LPVOID pPropData, [in] DWORD cbPropData)
#define L(x)
Definition: ntvdm.h:50
HRESULT hr
Definition: shlfolder.c:183
Definition: ks.h:2074
Definition: dlist.c:348
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ put_InnerFECRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_InnerFECRate ( BinaryConvolutionCodeRate pFECRate)

Definition at line 161 of file digitaldemo.cpp.

162{
164 HRESULT hr;
165
166 // setup request
167 Node.NodeId = m_NodeId;
168 Node.Reserved = 0;
169
170 // perform request
172
173#ifdef BDAPLGIN_TRACE
174 WCHAR Buffer[100];
175 swprintf(Buffer, L"CBDADigitalDemodulator::put_InnerFECRate: pFECRate %lu hr %lx\n", *pFECRate, hr);
177#endif
178
179 return hr;
180}
@ KSPROPERTY_BDA_INNER_FEC_RATE
Definition: bdamedia.h:295
BinaryConvolutionCodeRate
Definition: bdatypes.h:230

◆ put_ModulationType()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_ModulationType ( ModulationType pModulationType)

Definition at line 99 of file digitaldemo.cpp.

100{
102 HRESULT hr;
103
104 // setup request
105 Node.NodeId = m_NodeId;
106 Node.Reserved = 0;
107
108 // perform request
110
111
112#ifdef BDAPLGIN_TRACE
113 WCHAR Buffer[100];
114 swprintf(Buffer, L"CBDADigitalDemodulator::put_ModulationType: pModulationType %lu hr %lx\n", *pModulationType, hr);
116#endif
117
118 return hr;
119}
@ KSPROPERTY_BDA_MODULATION_TYPE
Definition: bdamedia.h:293
ModulationType
Definition: bdatypes.h:261

◆ put_OuterFECMethod()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_OuterFECMethod ( FECMethod pFECMethod)

Definition at line 191 of file digitaldemo.cpp.

192{
194 HRESULT hr;
195
196 // setup request
197 Node.NodeId = m_NodeId;
198 Node.Reserved = 0;
199
200 // perform request
202
203#ifdef BDAPLGIN_TRACE
204 WCHAR Buffer[100];
205 swprintf(Buffer, L"CBDADigitalDemodulator::put_OuterFECMethod: pFECMethod %lu hr %lx\n", *pFECMethod, hr);
207#endif
208
209 return hr;
210}
@ KSPROPERTY_BDA_OUTER_FEC_TYPE
Definition: bdamedia.h:296

◆ put_OuterFECRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_OuterFECRate ( BinaryConvolutionCodeRate pFECRate)

Definition at line 221 of file digitaldemo.cpp.

222{
224 HRESULT hr;
225
226 // setup request
227 Node.NodeId = m_NodeId;
228 Node.Reserved = 0;
229
230 // perform request
232
233#ifdef BDAPLGIN_TRACE
234 WCHAR Buffer[100];
235 swprintf(Buffer, L"CBDADigitalDemodulator::put_OuterFECRate: pFECRate %lu hr %lx\n", *pFECRate, hr);
237#endif
238
239 return hr;
240}
@ KSPROPERTY_BDA_OUTER_FEC_RATE
Definition: bdamedia.h:297

◆ put_SpectralInversion()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_SpectralInversion ( SpectralInversion pSpectralInversion)

Definition at line 281 of file digitaldemo.cpp.

282{
284 HRESULT hr;
285
286 // setup request
287 Node.NodeId = m_NodeId;
288 Node.Reserved = 0;
289
290 // perform request
292
293#ifdef BDAPLGIN_TRACE
294 WCHAR Buffer[100];
295 swprintf(Buffer, L"CBDADigitalDemodulator::put_SpectralInversion: pSpectralInversion %lu hr %lx\n", *pSpectralInversion, hr);
297#endif
298
299 return hr;
300}
@ KSPROPERTY_BDA_SPECTRAL_INVERSION
Definition: bdamedia.h:299
SpectralInversion
Definition: bdatypes.h:244

◆ put_SymbolRate()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::put_SymbolRate ( ULONG pSymbolRate)

Definition at line 251 of file digitaldemo.cpp.

252{
254 HRESULT hr;
255
256 // setup request
257 Node.NodeId = m_NodeId;
258 Node.Reserved = 0;
259
260 // perform request
262
263#ifdef BDAPLGIN_TRACE
264 WCHAR Buffer[100];
265 swprintf(Buffer, L"CBDADigitalDemodulator::put_SymbolRate: pSymbolRate %lu hr %lx\n", *pSymbolRate, hr);
267#endif
268
269 return hr;
270}
@ KSPROPERTY_BDA_SYMBOL_RATE
Definition: bdamedia.h:298
uint32_t ULONG
Definition: typedefs.h:59

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CBDADigitalDemodulator::QueryInterface ( REFIID  InterfaceId,
PVOID Interface 
)

Definition at line 64 of file digitaldemo.cpp.

67{
68 *Output = NULL;
69
70 if (IsEqualGUID(refiid, IID_IUnknown))
71 {
72 *Output = PVOID(this);
73 reinterpret_cast<IUnknown*>(*Output)->AddRef();
74 return NOERROR;
75 }
76
78 {
79 *Output = (IBDA_DigitalDemodulator*)(this);
80 reinterpret_cast<IBDA_DigitalDemodulator*>(*Output)->AddRef();
81 return NOERROR;
82 }
83
84#ifdef BDAPLGIN_TRACE
87 StringFromCLSID(refiid, &lpstr);
88 swprintf(Buffer, L"CBDADigitalDemodulator::QueryInterface: NoInterface for %s", lpstr);
92#endif
93
94 return E_NOINTERFACE;
95}
const GUID IID_IUnknown
const GUID IID_IBDA_DigitalDemodulator
Definition: digitaldemo.cpp:13
#define NULL
Definition: types.h:112
#define MAX_PATH
Definition: compat.h:34
HRESULT WINAPI StringFromCLSID(REFCLSID id, LPOLESTR *idstr)
Definition: compobj.c:2412
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
ULONG AddRef()
static LPCSTR lpstr
Definition: font.c:51
static LPOLESTR
Definition: stg_prop.c:27
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
@ Output
Definition: arc.h:85
void * PVOID
Definition: typedefs.h:50
void WINAPI DebugBreak(void)
#define NOERROR
Definition: winerror.h:2354

◆ STDMETHODIMP_() [1/2]

CBDADigitalDemodulator::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 22 of file digitaldemo.cpp.

23 {
25 return m_Ref;
26 }
#define InterlockedIncrement
Definition: armddk.h:53

◆ STDMETHODIMP_() [2/2]

CBDADigitalDemodulator::STDMETHODIMP_ ( ULONG  )
inline

Definition at line 27 of file digitaldemo.cpp.

28 {
30 if (!m_Ref)
31 {
32 delete this;
33 return 0;
34 }
35 return m_Ref;
36 }
#define InterlockedDecrement
Definition: armddk.h:52

Member Data Documentation

◆ m_NodeId

ULONG CBDADigitalDemodulator::m_NodeId
protected

◆ m_pProperty

IKsPropertySet* CBDADigitalDemodulator::m_pProperty
protected

◆ m_Ref

LONG CBDADigitalDemodulator::m_Ref
protected

Definition at line 57 of file digitaldemo.cpp.

Referenced by STDMETHODIMP_().


The documentation for this class was generated from the following file: