C# Class Microsoft.R.Components.Plots.Implementation.RPlotManager

Inheritance: IRPlotManager
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ActivateDeviceAsync() public méthode

public ActivateDeviceAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
Résultat Task

ActivatePlotAsync() public méthode

public ActivatePlotAsync ( IRPlot plot ) : Task
plot IRPlot
Résultat Task

CopyOrMovePlotFromAsync() public méthode

public CopyOrMovePlotFromAsync ( System.Guid sourceDeviceId, System.Guid sourcePlotId, IRPlotDevice targetDevice, bool isMove ) : Task
sourceDeviceId System.Guid
sourcePlotId System.Guid
targetDevice IRPlotDevice
isMove bool
Résultat Task

DeviceCreatedAsync() public méthode

public DeviceCreatedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
Résultat Task

DeviceDestroyedAsync() public méthode

public DeviceDestroyedAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExportToBitmapAsync() public méthode

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
Résultat Task

ExportToMetafileAsync() public méthode

public ExportToMetafileAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight, int resolution ) : Task
plot IRPlot
outputFilePath string
inchWidth double
inchHeight double
resolution int
Résultat Task

ExportToPdfAsync() public méthode

public ExportToPdfAsync ( IRPlot plot, string outputFilePath, double inchWidth, double inchHeight ) : Task
plot IRPlot
outputFilePath string
inchWidth double
inchHeight double
Résultat Task

GetAllPlots() public méthode

public GetAllPlots ( ) : IRPlot[]
Résultat IRPlot[]

GetOrCreateMainPlotVisualComponent() public méthode

public GetOrCreateMainPlotVisualComponent ( ) : IRPlotDeviceVisualComponent
Résultat IRPlotDeviceVisualComponent

GetOrCreateVisualComponent() public méthode

public GetOrCreateVisualComponent ( IRPlotDeviceVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotDeviceVisualComponent
visualComponentContainerFactory IRPlotDeviceVisualComponentContainerFactory
instanceId int
Résultat IRPlotDeviceVisualComponent

GetOrCreateVisualComponent() public méthode

public GetOrCreateVisualComponent ( IRPlotHistoryVisualComponentContainerFactory visualComponentContainerFactory, int instanceId ) : IRPlotHistoryVisualComponent
visualComponentContainerFactory IRPlotHistoryVisualComponentContainerFactory
instanceId int
Résultat IRPlotHistoryVisualComponent

GetPlotVisualComponent() public méthode

public GetPlotVisualComponent ( IRPlotDevice device ) : IRPlotDeviceVisualComponent
device IRPlotDevice
Résultat IRPlotDeviceVisualComponent

GetPlotVisualComponent() public méthode

public GetPlotVisualComponent ( int instanceId ) : IRPlotDeviceVisualComponent
instanceId int
Résultat IRPlotDeviceVisualComponent

LoadPlotAsync() public méthode

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

NewDeviceAsync() public méthode

public NewDeviceAsync ( int existingInstanceId ) : Task
existingInstanceId int
Résultat Task

NextPlotAsync() public méthode

public NextPlotAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
Résultat Task

PreviousPlotAsync() public méthode

public PreviousPlotAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
Résultat Task

RPlotManager() public méthode

public RPlotManager ( IRSettings settings, IRInteractiveWorkflow interactiveWorkflow, IFileSystem fileSystem ) : System
settings IRSettings
interactiveWorkflow IRInteractiveWorkflow
fileSystem IFileSystem
Résultat System

RegisterVisualComponent() public méthode

public RegisterVisualComponent ( IRPlotDeviceVisualComponent visualComponent ) : void
visualComponent IRPlotDeviceVisualComponent
Résultat void

RemoveAllPlotsAsync() public méthode

public RemoveAllPlotsAsync ( IRPlotDevice device ) : Task
device IRPlotDevice
Résultat Task

RemovePlotAsync() public méthode

public RemovePlotAsync ( IRPlot plot ) : Task
plot IRPlot
Résultat Task

ResizeAsync() public méthode

public ResizeAsync ( IRPlotDevice device, int pixelWidth, int pixelHeight, int resolution ) : Task
device IRPlotDevice
pixelWidth int
pixelHeight int
resolution int
Résultat Task

StartLocatorModeAsync() public méthode

public StartLocatorModeAsync ( System.Guid deviceId, CancellationToken cancellationToken ) : Task
deviceId System.Guid
cancellationToken System.Threading.CancellationToken
Résultat Task