CTRE Phoenix Pro C++ 23.0.12
|
Abstract Control Request class that other control requests extend for use. More...
#include <ctre/phoenixpro/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::phoenixpro::controls::CoastOut, ctre::phoenixpro::controls::DutyCycleOut, ctre::phoenixpro::controls::Follower, ctre::phoenixpro::controls::MotionMagicDutyCycle, ctre::phoenixpro::controls::MotionMagicTorqueCurrentFOC, ctre::phoenixpro::controls::MotionMagicVoltage, ctre::phoenixpro::controls::NeutralOut, ctre::phoenixpro::controls::PositionDutyCycle, ctre::phoenixpro::controls::PositionTorqueCurrentFOC, ctre::phoenixpro::controls::PositionVoltage, ctre::phoenixpro::controls::StaticBrake, ctre::phoenixpro::controls::StrictFollower, ctre::phoenixpro::controls::TorqueCurrentFOC, ctre::phoenixpro::controls::VelocityDutyCycle, ctre::phoenixpro::controls::VelocityTorqueCurrentFOC, ctre::phoenixpro::controls::VelocityVoltage, ctre::phoenixpro::controls::VoltageOut, and ctre::phoenixpro::controls::EmptyControl.
|
protected |