C# 클래스 Microsoft.R.Components.Plots.Implementation.RPlotManager

상속: IRPlotManager
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
ActivateDeviceAsync ( IRPlotDevice device ) : Task
ActivatePlotAsync ( IRPlot plot ) : Task
CopyOrMovePlotFromAsync ( System.Guid sourceDeviceId, System.Guid sourcePlotId, IRPlotDevice targetDevice, bool isMove ) : Task
DeviceCreatedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
DeviceDestroyedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
Dispose ( ) : void
ExportToBitmapAsync ( IRPlot plot, string deviceName, string outputFilePath, int pixelWidth, int pixelHeight, int resolution ) : Task
ExportToMetafileAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight, int resolution ) : Task
ExportToPdfAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight ) : Task
GetAllPlots ( ) : IRPlot[]
GetOrCreateMainPlotVisualComponent ( ) : IRPlotDeviceVisualComponent
GetOrCreateVisualComponent ( IRPlotDeviceVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotDeviceVisualComponent
GetOrCreateVisualComponent ( IRPlotHistoryVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotHistoryVisualComponent
GetPlotVisualComponent ( IRPlotDevice device ) : IRPlotDeviceVisualComponent
GetPlotVisualComponent ( int instanceId ) : IRPlotDeviceVisualComponent
LoadPlotAsync ( PlotMessage plot, CancellationToken cancellationToken ) : Task
NewDeviceAsync ( int existingInstanceId ) : Task
NextPlotAsync ( IRPlotDevice device ) : Task
PreviousPlotAsync ( IRPlotDevice device ) : Task
RPlotManager ( IRSettings settings, IRInteractiveWorkflow interactiveWorkflow, IFileSystem fileSystem ) : System
RegisterVisualComponent ( IRPlotDeviceVisualComponent visualComponent ) : void
RemoveAllPlotsAsync ( IRPlotDevice device ) : Task
RemovePlotAsync ( IRPlot plot ) : Task
ResizeAsync ( IRPlotDevice device, int pixelWidth, int pixelHeight, int resolution ) : Task
StartLocatorModeAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task

비공개 메소드들

메소드 설명
CopyPlotAsync ( IRPlot sourcePlot, IRPlotDevice targetDevice ) : Task
ExportAsync ( string outputFilePath, Task exportTask ) : Task
FindDevice ( System.Guid deviceId ) : IRPlotDevice
FindPlot ( System.Guid deviceId, System.Guid plotId ) : IRPlot
GetOrCreatePlotDeviceVisualComponent ( ) : IRPlotDeviceVisualComponent
GetPlotDeviceVisualComponent ( System.Guid deviceId ) : IRPlotDeviceVisualComponent
GetUnusedInstanceId ( ) : int
GetVisualComponentForDevice ( System.Guid deviceId ) : IRPlotDeviceVisualComponent
RSessionConnectedAsync ( ) : Task
RSessionMutatedAsync ( ) : Task
RSession_Connected ( object sender, RConnectedEventArgs e ) : void
RSession_Mutated ( object sender, EventArgs e ) : void
RefreshDeviceNum ( IRPlotDevice device ) : Task
RemoveAllDevices ( ) : void
SetNextVisualComponent ( int existingInstanceId ) : void
ShowDevice ( IRPlotDevice device ) : void

메소드 상세

ActivateDeviceAsync() 공개 메소드

public ActivateDeviceAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
리턴 Task

ActivatePlotAsync() 공개 메소드

public ActivatePlotAsync ( IRPlot plot ) : Task
plot IRPlot
리턴 Task

CopyOrMovePlotFromAsync() 공개 메소드

public CopyOrMovePlotFromAsync ( System.Guid sourceDeviceId, System.Guid sourcePlotId, IRPlotDevice targetDevice, bool isMove ) : Task
sourceDeviceId System.Guid
sourcePlotId System.Guid
targetDevice IRPlotDevice
isMove bool
리턴 Task

DeviceCreatedAsync() 공개 메소드

public DeviceCreatedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
리턴 Task

DeviceDestroyedAsync() 공개 메소드

public DeviceDestroyedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ExportToBitmapAsync() 공개 메소드

public ExportToBitmapAsync ( IRPlot plot, string deviceName, string outputFilePath, int pixelWidth, int pixelHeight, int resolution ) : Task
plot IRPlot
deviceName string
outputFilePath string
pixelWidth int
pixelHeight int
resolution int
리턴 Task

ExportToMetafileAsync() 공개 메소드

public ExportToMetafileAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight, int resolution ) : Task
plot IRPlot
outputFilePath string
inchWidth double
inchHeight double
resolution int
리턴 Task

ExportToPdfAsync() 공개 메소드

public ExportToPdfAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight ) : Task
plot IRPlot
outputFilePath string
inchWidth double
inchHeight double
리턴 Task

GetAllPlots() 공개 메소드

public GetAllPlots ( ) : IRPlot[]
리턴 IRPlot[]

GetOrCreateMainPlotVisualComponent() 공개 메소드

public GetOrCreateMainPlotVisualComponent ( ) : IRPlotDeviceVisualComponent
리턴 IRPlotDeviceVisualComponent

GetOrCreateVisualComponent() 공개 메소드

public GetOrCreateVisualComponent ( IRPlotDeviceVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotDeviceVisualComponent
visualComponentContainerFactory IRPlotDeviceVisualComponentContainerFactory
instanceId int
리턴 IRPlotDeviceVisualComponent

GetOrCreateVisualComponent() 공개 메소드

public GetOrCreateVisualComponent ( IRPlotHistoryVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotHistoryVisualComponent
visualComponentContainerFactory IRPlotHistoryVisualComponentContainerFactory
instanceId int
리턴 IRPlotHistoryVisualComponent

GetPlotVisualComponent() 공개 메소드

public GetPlotVisualComponent ( IRPlotDevice device ) : IRPlotDeviceVisualComponent
device IRPlotDevice
리턴 IRPlotDeviceVisualComponent

GetPlotVisualComponent() 공개 메소드

public GetPlotVisualComponent ( int instanceId ) : IRPlotDeviceVisualComponent
instanceId int
리턴 IRPlotDeviceVisualComponent

LoadPlotAsync() 공개 메소드

public LoadPlotAsync ( PlotMessage plot, CancellationToken cancellationToken ) : Task
plot Microsoft.R.Host.Client.PlotMessage
cancellationToken System.Threading.CancellationToken
리턴 Task

NewDeviceAsync() 공개 메소드

public NewDeviceAsync ( int existingInstanceId ) : Task
existingInstanceId int
리턴 Task

NextPlotAsync() 공개 메소드

public NextPlotAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
리턴 Task

PreviousPlotAsync() 공개 메소드

public PreviousPlotAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
리턴 Task

RPlotManager() 공개 메소드

public RPlotManager ( IRSettings settings, IRInteractiveWorkflow interactiveWorkflow, IFileSystem fileSystem ) : System
settings IRSettings
interactiveWorkflow IRInteractiveWorkflow
fileSystem IFileSystem
리턴 System

RegisterVisualComponent() 공개 메소드

public RegisterVisualComponent ( IRPlotDeviceVisualComponent visualComponent ) : void
visualComponent IRPlotDeviceVisualComponent
리턴 void

RemoveAllPlotsAsync() 공개 메소드

public RemoveAllPlotsAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
리턴 Task

RemovePlotAsync() 공개 메소드

public RemovePlotAsync ( IRPlot plot ) : Task
plot IRPlot
리턴 Task

ResizeAsync() 공개 메소드

public ResizeAsync ( IRPlotDevice device, int pixelWidth, int pixelHeight, int resolution ) : Task
device IRPlotDevice
pixelWidth int
pixelHeight int
resolution int
리턴 Task

StartLocatorModeAsync() 공개 메소드

public StartLocatorModeAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
리턴 Task