7 #ifndef __SUBSYSTEM_H__
8 #define __SUBSYSTEM_H__
10 #include "ErrorBase.h"
11 #include "SmartDashboard/NamedSendable.h"
31 void ConfirmCommand();
34 bool m_currentCommandChanged;
37 bool m_initializedDefaultCommand;
Subsystem(const char *name)
Command * GetCurrentCommand()
virtual ITable * GetTable()
virtual std::string GetName()
virtual std::string GetSmartDashboardType()
Command * GetDefaultCommand()
virtual void InitTable(ITable *table)
void SetCurrentCommand(Command *command)
virtual void InitDefaultCommand()
void SetDefaultCommand(Command *command)