C# Класс Microsoft.R.Components.Plots.Implementation.RPlotManager

Наследование: IRPlotManager
Показать файл Открыть проект

Открытые методы

Метод Описание
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