Add periodic method to subsystems (#528)

Fixes #526.
This commit is contained in:
Austin Shalit
2017-07-02 23:02:41 -07:00
committed by Peter Johnson
parent 2da26c0579
commit aa0a874ad0
5 changed files with 27 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ class Subsystem : public ErrorBase, public NamedSendable {
Command* GetDefaultCommand();
void SetCurrentCommand(Command* command);
Command* GetCurrentCommand() const;
virtual void Periodic();
virtual void InitDefaultCommand();
private: