CSharpRoboticsLib.FlowControl.WaitByCallCount.Update C# (CSharp) Method

Update() public method

Increases the internal count by 1
public Update ( ) : void
return void
        public void Update()
        {
            m_count++;
        }

Same methods

WaitByCallCount::Update ( bool increase ) : void
WaitByCallCount::Update ( int count ) : void

Usage Example

 public void WaitCompleteTest()
 {
     WaitByCallCount t = new WaitByCallCount(2);
     Assert.IsFalse(t.WaitComplete);
     t.Update();
     t.Update();
     Assert.IsTrue(t.WaitComplete);
 }