Class DSGraphProperty.TDSGraph
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 41: | Line 41: | ||
=== Public === | === Public === | ||
− | |||
*[[Property DSGraphProperty.TDSGraph.MediaControl|MediaControl]] - IMediaControl interface of the DirectShow graph. | *[[Property DSGraphProperty.TDSGraph.MediaControl|MediaControl]] - IMediaControl interface of the DirectShow graph. | ||
*[[Property DSGraphProperty.TDSGraph.MediaEvent|MediaEvent]] - IMediaEvent interface of the DirectShow graph. | *[[Property DSGraphProperty.TDSGraph.MediaEvent|MediaEvent]] - IMediaEvent interface of the DirectShow graph. | ||
*[[Property DSGraphProperty.TDSGraph.GraphBuilder|GraphBuilder]] - ICaptureGraphBuilder2 interface of the DirectShow graph. | *[[Property DSGraphProperty.TDSGraph.GraphBuilder|GraphBuilder]] - ICaptureGraphBuilder2 interface of the DirectShow graph. | ||
*[[Property DSGraphProperty.TDSGraph.Graph|Graph]] - IGraphBuilder interface of the DirectShow graph. | *[[Property DSGraphProperty.TDSGraph.Graph|Graph]] - IGraphBuilder interface of the DirectShow graph. | ||
+ | *[[Property DSGraphProperty.TDSGraph.Filters|Filters]] - The DirechShow filters of the graph. | ||
*[[Property DSGraphProperty.TDSGraph.HiddenForm|HiddenForm]] | *[[Property DSGraphProperty.TDSGraph.HiddenForm|HiddenForm]] | ||
Line 52: | Line 52: | ||
=== Public === | === Public === | ||
*[[Method function DSGraphProperty.TDSGraph.GetFilterList(TStrings) : Boolean|function GetFilterList(AFiltersList : TStrings) : Boolean]] - Returns the list of names of DirectShow filters in the graph. | *[[Method function DSGraphProperty.TDSGraph.GetFilterList(TStrings) : Boolean|function GetFilterList(AFiltersList : TStrings) : Boolean]] - Returns the list of names of DirectShow filters in the graph. | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetFilterByClassID(TCLSID) : IBaseFilter|function GetFilterByClassID(ClassID : TCLSID) : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.SetMediaEvent() : Boolean|function SetMediaEvent() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateFilterByName(String) : IBaseFilter|function CreateFilterByName(AFilterName : String) : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.ConnectFilterToPin(IBaseFilter;IPin) : Boolean|function ConnectFilterToPin(ASourceFilter : IBaseFilter; ASinkPin : IPin) : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetAudioRender() : IBaseFilter|function GetAudioRender() : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetVideoRender() : IBaseFilter|function GetVideoRender() : IBaseFilter]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.RegisterAdditionalFilters() : Boolean|function RegisterAdditionalFilters() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateGraph() : Boolean|function CreateGraph() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.CreateGraphBuilder() : Boolean|function CreateGraphBuilder() : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.GraphChanged()|procedure GraphChanged()]] | *[[Method procedure DSGraphProperty.TDSGraph.GraphChanged()|procedure GraphChanged()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.GraphBuilt()|procedure GraphBuilt()]] | *[[Method procedure DSGraphProperty.TDSGraph.GraphBuilt()|procedure GraphBuilt()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.DockResized(IDSPreviewDock)|procedure DockResized(APreviewDock : IDSPreviewDock)]] | *[[Method procedure DSGraphProperty.TDSGraph.DockResized(IDSPreviewDock)|procedure DockResized(APreviewDock : IDSPreviewDock)]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.ConfigVideoWindow(IDSPreviewDock;Boolean;TSize) : Boolean|function ConfigVideoWindow(APreviewDock : IDSPreviewDock; APreviewVisible : Boolean; AVideoSize : TSize) : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.RegisterGraph()|procedure RegisterGraph()]] | *[[Method procedure DSGraphProperty.TDSGraph.RegisterGraph()|procedure RegisterGraph()]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.UnregisterGraph()|procedure UnregisterGraph()]] | *[[Method procedure DSGraphProperty.TDSGraph.UnregisterGraph()|procedure UnregisterGraph()]] | ||
Line 65: | Line 75: | ||
*[[Method procedure DSGraphProperty.TDSGraph.SetMsgEvent(TWndMethod)|procedure SetMsgEvent(AValue : TWndMethod)]] | *[[Method procedure DSGraphProperty.TDSGraph.SetMsgEvent(TWndMethod)|procedure SetMsgEvent(AValue : TWndMethod)]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.SetDrainMessage(IDSPreviewDock)|procedure SetDrainMessage(AValue : IDSPreviewDock)]] | *[[Method procedure DSGraphProperty.TDSGraph.SetDrainMessage(IDSPreviewDock)|procedure SetDrainMessage(AValue : IDSPreviewDock)]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.GetMediaControl() : Boolean|function GetMediaControl() : Boolean]] | ||
+ | *[[Method function DSGraphProperty.TDSGraph.Run() : Boolean|function Run() : Boolean]] | ||
*[[Method procedure DSGraphProperty.TDSGraph.Stop(Boolean)|procedure Stop(AShowError : Boolean)]] | *[[Method procedure DSGraphProperty.TDSGraph.Stop(Boolean)|procedure Stop(AShowError : Boolean)]] | ||
*[[Method function DSGraphProperty.TDSGraph.SaveToFile(String) : Boolean|function SaveToFile(AFileName : String) : Boolean]] - Saves the graph to a *.grf file. | *[[Method function DSGraphProperty.TDSGraph.SaveToFile(String) : Boolean|function SaveToFile(AFileName : String) : Boolean]] - Saves the graph to a *.grf file. | ||
− | *[[Method | + | *[[Method function DSGraphProperty.TDSGraph.GetOwner() : TPersistent|function GetOwner() : TPersistent]] |
== Pins == | == Pins == | ||
Line 85: | Line 97: | ||
=== Public === | === Public === | ||
+ | *[[Method function LPComponent.TLPPersistent.QueryInterface(TGUID;TObject) : HResult|function QueryInterface(IID : TGUID; Obj : TObject) : HResult]] | ||
+ | *[[Method function LPComponent.TLPPersistent.GetOwner() : TPersistent|function GetOwner() : TPersistent]] | ||
*[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | *[[Method procedure LPComponent.TLPPersistent.OwnerNameChanged(String;String)|procedure OwnerNameChanged(AOldName : String; ANewName : String)]] | ||
[[Category:Classes]] | [[Category:Classes]] |
Revision as of 20:28, 10 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: AudioLabBasicPkg
Unit: DSGraphProperty
Inherits: TLPPersistent
Contents |
Syntax
Delphi:
type TDSGraph = class( TLPPersistent )
C++ Builder:
class TDSGraph : public TLPPersistent
Visual C++ (MFC):
class CTDSGraph : public CTLPPersistent
C# (.NET):
public ref class TDSGraph : Vcl.VclProperty
Summary
DirectShow Graph settings class.
Description
Defines the class for DirectShow Graph settings.
Properties
Published
- AdditionalFilters - Additional DirectShow filters for the DirectShow graph during construction.
- Register - Registers the graph into the Windows Running Object Table.
Public
- MediaControl - IMediaControl interface of the DirectShow graph.
- MediaEvent - IMediaEvent interface of the DirectShow graph.
- GraphBuilder - ICaptureGraphBuilder2 interface of the DirectShow graph.
- Graph - IGraphBuilder interface of the DirectShow graph.
- Filters - The DirechShow filters of the graph.
- HiddenForm
Methods
Public
- function GetFilterList(AFiltersList : TStrings) : Boolean - Returns the list of names of DirectShow filters in the graph.
- function GetFilterByClassID(ClassID : TCLSID) : IBaseFilter
- function SetMediaEvent() : Boolean
- function CreateFilterByName(AFilterName : String) : IBaseFilter
- function ConnectFilterToPin(ASourceFilter : IBaseFilter; ASinkPin : IPin) : Boolean
- function GetAudioRender() : IBaseFilter
- function GetVideoRender() : IBaseFilter
- function RegisterAdditionalFilters() : Boolean
- function CreateGraph() : Boolean
- function CreateGraphBuilder() : Boolean
- procedure GraphChanged()
- procedure GraphBuilt()
- procedure DockResized(APreviewDock : IDSPreviewDock)
- function ConfigVideoWindow(APreviewDock : IDSPreviewDock; APreviewVisible : Boolean; AVideoSize : TSize) : Boolean
- procedure RegisterGraph()
- procedure UnregisterGraph()
- procedure Error(Msg : String; ErrorCode : Integer)
- procedure Warning(Msg : String; ErrorCode : Integer)
- procedure CheckWarning(Msg : String; AValue : HResult)
- procedure DestroyGraph()
- procedure DestroyDownstream(pFilter : IBaseFilter)
- procedure DestroyUpstream(pFilter : IBaseFilter)
- procedure SetMsgEvent(AValue : TWndMethod)
- procedure SetDrainMessage(AValue : IDSPreviewDock)
- function GetMediaControl() : Boolean
- function Run() : Boolean
- procedure Stop(AShowError : Boolean)
- function SaveToFile(AFileName : String) : Boolean - Saves the graph to a *.grf file.
- function GetOwner() : TPersistent
Pins
Events
- OnError - Occurs on DirectShow error.
- OnWarning - Occurs on DirectShow warning.
- OnGraphBuilt - Occurs when the DirectShow graph has been built.
- OnDeviceLost - Occurs when contact with capture or playback device has been lost.
- OnAborted - Occurs when the data streaming has been aborted.
- OnStarvation - Occurs when DirectShow is starving for data buffers.