CTRE Phoenix 6 C++ 23.2.1
|
Abstract Control Request class that other control requests extend for use. More...
#include <ctre/phoenix6/controls/ControlRequest.hpp>
Public Member Functions | |
ControlRequest (std::string name) | |
Constructs a new Control Request with the given name. More... | |
ControlInfo & | GetControlInfo () |
Gets information about this control request. More... | |
const ControlInfo & | GetControlInfo () const |
Gets information about this control request. More... | |
virtual | ~ControlRequest ()=default |
virtual std::string | ToString () const =0 |
Protected Member Functions | |
ControlRequest (ControlRequest const &)=default | |
ControlRequest (ControlRequest &&)=default | |
ControlRequest & | operator= (ControlRequest const &)=default |
ControlRequest & | operator= (ControlRequest &&)=default |
Protected Attributes | |
ControlInfo | requestReference |
Abstract Control Request class that other control requests extend for use.
|
protecteddefault |
|
protecteddefault |
|
inline |
Constructs a new Control Request with the given name.
name | Name of the control request |
|
virtualdefault |
|
inline |
Gets information about this control request.
|
inline |
Gets information about this control request.
|
protecteddefault |
|
protecteddefault |
|
pure virtual |
Implemented in ctre::phoenix6::controls::CoastOut, ctre::phoenix6::controls::DutyCycleOut, ctre::phoenix6::controls::Follower, ctre::phoenix6::controls::MotionMagicDutyCycle, ctre::phoenix6::controls::MotionMagicTorqueCurrentFOC, ctre::phoenix6::controls::MotionMagicVoltage, ctre::phoenix6::controls::NeutralOut, ctre::phoenix6::controls::PositionDutyCycle, ctre::phoenix6::controls::PositionTorqueCurrentFOC, ctre::phoenix6::controls::PositionVoltage, ctre::phoenix6::controls::StaticBrake, ctre::phoenix6::controls::StrictFollower, ctre::phoenix6::controls::TorqueCurrentFOC, ctre::phoenix6::controls::VelocityDutyCycle, ctre::phoenix6::controls::VelocityTorqueCurrentFOC, ctre::phoenix6::controls::VelocityVoltage, ctre::phoenix6::controls::VoltageOut, and ctre::phoenix6::controls::EmptyControl.
|
protected |