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

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