Show / Hide Table of Contents

Class Watchdog

Inheritance
Object
Watchdog
Implements
IDisposable
IComparable<Watchdog>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPILib
Assembly: WPILibSharp.dll
Syntax
public class Watchdog : IDisposable, IComparable<Watchdog>

Constructors

| Improve this Doc View Source

Watchdog(TimeSpan, Action)

Declaration
public Watchdog(TimeSpan timeout, Action callback)
Parameters
Type Name Description
TimeSpan timeout
Action callback

Properties

| Improve this Doc View Source

IsExpired

Declaration
public bool IsExpired { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SuppressTimeoutMessage

Declaration
public bool SuppressTimeoutMessage { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Time

Declaration
public TimeSpan Time { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Timeout

Declaration
public TimeSpan Timeout { get; set; }
Property Value
Type Description
TimeSpan

Methods

| Improve this Doc View Source

AddEpoch(String)

Declaration
public void AddEpoch(string epochName)
Parameters
Type Name Description
String epochName
| Improve this Doc View Source

CompareTo(Watchdog)

Declaration
public int CompareTo(Watchdog other)
Parameters
Type Name Description
Watchdog other
Returns
Type Description
Int32
| Improve this Doc View Source

Disable()

Declaration
public void Disable()
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Enable()

Declaration
public void Enable()
| Improve this Doc View Source

PrintEpochs()

Declaration
public void PrintEpochs()
| Improve this Doc View Source

Reset()

Declaration
public void Reset()

Implements

IDisposable
IComparable<T>
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • Watchdog(TimeSpan, Action)
  • Properties
    • IsExpired
    • SuppressTimeoutMessage
    • Time
    • Timeout
  • Methods
    • AddEpoch(String)
    • CompareTo(Watchdog)
    • Disable()
    • Dispose()
    • Enable()
    • PrintEpochs()
    • Reset()
  • Implements
Back to top Copyright © 2017 RobotDotNet