#include <frc/simulation/SolenoidSim.h>
◆ SolenoidSim() [1/3]
frc::sim::SolenoidSim::SolenoidSim |
( |
std::shared_ptr< PneumaticsBaseSim > |
moduleSim, |
|
|
int |
channel |
|
) |
| |
◆ SolenoidSim() [2/3]
◆ SolenoidSim() [3/3]
◆ ~SolenoidSim()
virtual frc::sim::SolenoidSim::~SolenoidSim |
( |
| ) |
|
|
virtualdefault |
◆ GetModuleSim()
◆ GetOutput()
bool frc::sim::SolenoidSim::GetOutput |
( |
| ) |
const |
◆ RegisterOutputCallback()
Register a callback to be run when the output of this solenoid has changed.
- Parameters
-
callback | the callback |
initialNotify | whether to run the callback with the initial state |
- Returns
- the
CallbackStore
object associated with this callback. Save a reference to this object; it being deconstructed cancels the callback.
◆ SetOutput()
void frc::sim::SolenoidSim::SetOutput |
( |
bool |
output | ) |
|
The documentation for this class was generated from the following file: