Pleora Technologies Inc. eBUS SDK v5.1.10.4642 API



IPvDSSource.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2012, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __IPVDSSOURCE_H__
8 #define __IPVDSSOURCE_H__
9 
10 #ifdef __cplusplus
11 extern "C"
12 {
13 #endif
14 
15  // {7D692BC5-05D4-4032-A581-B7FA1C202825}
16  DEFINE_GUID(IID_IPvDSSource,
17  0x7d692bc5, 0x5d4, 0x4032, 0xa5, 0x81, 0xb7, 0xfa, 0x1c, 0x20, 0x28, 0x25);
18 
19  DECLARE_INTERFACE_(IPvDSSource, IUnknown)
20  {
21  // Configuration
22  STDMETHOD( get_Role )( THIS_ int *role ) PURE;
23  STDMETHOD( put_Role )( THIS_ int role ) PURE;
24  STDMETHOD( get_UnicastPort )( THIS_ int *port ) PURE;
25  STDMETHOD( put_UnicastPort )( THIS_ int port ) PURE;
26  STDMETHOD( get_MulticastIP )( THIS_ BSTR *ip ) PURE;
27  STDMETHOD( put_MulticastIP )( THIS_ BSTR ip ) PURE;
28  STDMETHOD( get_MulticastPort )( THIS_ int *port ) PURE;
29  STDMETHOD( put_MulticastPort )( THIS_ int port ) PURE;
30 
31  // Diagnostic
32  STDMETHOD( get_DiagnosticEnabled )( THIS_ BOOL *enabled ) PURE;
33  STDMETHOD( put_DiagnosticEnabled )( THIS_ BOOL enabled ) PURE;
34 
35  // DeviceID
36  STDMETHOD( get_DeviceID )( THIS_ BSTR *deviceid ) PURE;
37  STDMETHOD( put_DeviceID )( THIS_ BSTR deviceid ) PURE;
38  STDMETHOD( DisconnectDevice )( THIS_ ) PURE;
39  STDMETHOD( ConnectIfNeeded )( THIS_ ) PURE;
40 
41  // Source
42  STDMETHOD( get_SourceCount )( THIS_ int *sourcecount ) PURE;
43  STDMETHOD( get_SourceName )( THIS_ int aIndex, BSTR *sourcename ) PURE;
44  STDMETHOD( get_Source )( THIS_ BSTR *source ) PURE;
45  STDMETHOD( put_Source )( THIS_ BSTR source ) PURE;
46  STDMETHOD( get_Channel )( THIS_ int *channel ) PURE;
47  STDMETHOD( put_Channel )( THIS_ int channel ) PURE;
48 
49  // Configuration
50  STDMETHOD( get_BufferCount )( THIS_ int *count ) PURE;
51  STDMETHOD( put_BufferCount )( THIS_ int count ) PURE;
52  STDMETHOD( get_DefaultBufferSize )( THIS_ int *size ) PURE;
53  STDMETHOD( put_DefaultBufferSize )( THIS_ int size ) PURE;
54  STDMETHOD( get_DropThreshold )( THIS_ int *threshold ) PURE;
55  STDMETHOD( put_DropThreshold )( THIS_ int threshold ) PURE;
56  STDMETHOD( get_Width )( THIS_ int *width ) PURE;
57  STDMETHOD( put_Width )( THIS_ int width ) PURE;
58  STDMETHOD( get_Height )( THIS_ int *height ) PURE;
59  STDMETHOD( put_Height )( THIS_ int height ) PURE;
60  STDMETHOD( get_AverageFPS )( THIS_ int *fps ) PURE;
61  STDMETHOD( put_AverageFPS )( THIS_ int fps ) PURE;
62 
63  // GenICam
64  STDMETHOD( get_ParametersSelector )( THIS_ int *selector ) PURE;
65  STDMETHOD( put_ParametersSelector )( THIS_ int selector ) PURE;
66  STDMETHOD( get_ParametersAvailable )( THIS_ BOOL *available ) PURE;
67  STDMETHOD( get_ParameterCount )( THIS_ int *count ) PURE;
68  STDMETHOD( get_ParameterName )( THIS_ int index, BSTR *name ) PURE;
69  STDMETHOD( get_ParameterCategory )( THIS_ BSTR name, BSTR *category ) PURE;
70  STDMETHOD( get_ParameterValue )( THIS_ BSTR name, BSTR *value ) PURE;
71  STDMETHOD( put_ParameterValue )( THIS_ BSTR name, BSTR value, BSTR *message ) PURE;
72  STDMETHOD( get_ParameterType )( THIS_ BSTR name, BSTR *type ) PURE;
73  STDMETHOD( get_ParameterAccess)( THIS_ BSTR name, BOOL *available, BOOL *readable, BOOL *writable ) PURE;
74  STDMETHOD( ParameterExecute )( THIS_ BSTR name, BSTR *message ) PURE;
75  STDMETHOD( get_ParameterPossibleValueCount )( THIS_ BSTR name, int *count ) PURE;
76  STDMETHOD( get_ParameterPossibleValue )( THIS_ BSTR name, int index, BSTR *value ) PURE;
77  STDMETHOD( get_ParameterVisibility )( THIS_ BSTR name, int *visibility ) PURE;
78 
79  // Default setup
80  STDMETHOD( MakeDefault )( THIS_ ) PURE;
81  STDMETHOD( ResetDefault )( THIS_ ) PURE;
82  STDMETHOD( get_DefaultSummary )( THIS_ BSTR *summary ) PURE;
83 
84  };
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif
COM interface to the eBUS SDK DirectShow Source filter, PvDSSource.
Definition: IPvDSSource.cpp:102

Copyright (c) 2002-2018 Pleora Technologies Inc.
www.pleora.com