C# Class Animatroller.Framework.LogicalDevice.ControlledDevice

Inheritance: IControlToken
Show file Open project: HakanL/animatroller Class Usage Examples

Public Methods

Method Description
ControlledDevice ( string name, int priority, Action populateData, Action dispose ) : System
Dispose ( ) : void
GetDataForDevice ( IOwnedDevice device ) : IData
IsOwner ( IControlToken checkToken ) : bool

Method Details

ControlledDevice() public method

public ControlledDevice ( string name, int priority, Action populateData, Action dispose ) : System
name string
priority int
populateData Action
dispose Action
return System

Dispose() public method

public Dispose ( ) : void
return void

GetDataForDevice() public method

public GetDataForDevice ( IOwnedDevice device ) : IData
device IOwnedDevice
return IData

IsOwner() public method

public IsOwner ( IControlToken checkToken ) : bool
checkToken IControlToken
return bool