C# Class CSharpRoboticsLib.FlowControl.Toggle

Toggle Latch
显示文件 Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Public Methods

Method Description
Force ( bool value ) : void

Force the internal state of the latch to a value

Toggle ( )

Creates a new toggle set to false

Toggle ( bool initialState )

Creates a new toggle set to an initial state

Method Details

Force() public method

Force the internal state of the latch to a value
public Force ( bool value ) : void
value bool
return void

Toggle() public method

Creates a new toggle set to false
public Toggle ( )

Toggle() public method

Creates a new toggle set to an initial state
public Toggle ( bool initialState )
initialState bool state to initialize the toggle with