mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[commands] Change C++ CommandPtr to use CommandBase (#4677)
This commit is contained in:
@@ -345,6 +345,12 @@ safe) semantics.
|
||||
|
||||
virtual std::string GetName() const;
|
||||
|
||||
/**
|
||||
* Transfers ownership of this command to a unique pointer. Used for
|
||||
* decorator methods.
|
||||
*/
|
||||
virtual CommandPtr ToPtr() && = 0;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Transfers ownership of this command to a unique pointer. Used for
|
||||
|
||||
Reference in New Issue
Block a user