C# Class CSharpRoboticsLib.FlowControl.WaitByCallCount

Will return true after a threshold has been met by waiting for a number of call counts
Afficher le fichier Open project: shockwave4488/CSharpRoboticsLib Class Usage Examples

Méthodes publiques

Méthode Description
ResetCount ( ) : void

Resets the internal count to zero

Update ( ) : void

Increases the internal count by 1

Update ( bool increase ) : void

Increases the internal count by 1 if true, resets count to 0 if false

Update ( int count ) : void

Increases the internal count by the amount specified

WaitByCallCount ( int count ) : System

New instance of WaitByCallCount

Method Details

ResetCount() public méthode

Resets the internal count to zero
public ResetCount ( ) : void
Résultat void

Update() public méthode

Increases the internal count by 1
public Update ( ) : void
Résultat void

Update() public méthode

Increases the internal count by 1 if true, resets count to 0 if false
public Update ( bool increase ) : void
increase bool
Résultat void

Update() public méthode

Increases the internal count by the amount specified
public Update ( int count ) : void
count int amount to increase by
Résultat void

WaitByCallCount() public méthode

New instance of WaitByCallCount
public WaitByCallCount ( int count ) : System
count int the threshold after which it should return true
Résultat System