|
| Subsystem (const std::string &name) |
| Creates a subsystem with the given name. More...
|
|
void | SetDefaultCommand (Command *command) |
| Sets the default command. More...
|
|
Command * | GetDefaultCommand () |
| Returns the default command (or null if there is none). More...
|
|
void | SetCurrentCommand (Command *command) |
| Sets the current command. More...
|
|
Command * | GetCurrentCommand () const |
| Returns the command which currently claims this subsystem. More...
|
|
virtual void | Periodic () |
| When the run method of the scheduler is called this method will be called.
|
|
virtual void | InitDefaultCommand () |
| Initialize the default command for this subsystem. More...
|
|
std::string | GetName () const override |
|
void | InitTable (std::shared_ptr< nt::NetworkTable > subtable) override |
| Initializes a table for this sendable object. More...
|
|
std::string | GetSmartDashboardType () const override |
|
| ErrorBase (const ErrorBase &)=delete |
|
ErrorBase & | operator= (const ErrorBase &)=delete |
|
virtual Error & | GetError () |
| Retrieve the current error. More...
|
|
virtual const Error & | GetError () const |
|
virtual void | SetErrnoError (llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set error information associated with a C library call that set an error to the "errno" global variable. More...
|
|
virtual void | SetImaqError (int success, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated from the nivision Imaq API. More...
|
|
virtual void | SetError (Error::Code code, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetErrorRange (Error::Code code, int32_t minRange, int32_t maxRange, int32_t requestedValue, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | SetWPIError (llvm::StringRef errorMessage, Error::Code code, llvm::StringRef contextMessage, llvm::StringRef filename, llvm::StringRef function, int lineNumber) const |
| Set the current error information associated with this sensor. More...
|
|
virtual void | CloneError (const ErrorBase &rhs) const |
|
virtual void | ClearError () const |
| Clear the current error information associated with this sensor.
|
|
virtual bool | StatusIsFatal () const |
| Check if the current error code represents a fatal error. More...
|
|