|
| CTREPCMSim () |
| Constructs with the default PCM module number (CAN ID). More...
|
|
| CTREPCMSim (int module) |
| Constructs from a PCM module number (CAN ID). More...
|
|
| CTREPCMSim (const PneumaticsBase &pneumatics) |
|
| ~CTREPCMSim () override=default |
|
std::unique_ptr< CallbackStore > | RegisterInitializedCallback (NotifyCallback callback, bool initialNotify) override |
| Register a callback to be run when the PCM/PH is initialized. More...
|
|
bool | GetInitialized () const override |
| Check whether the PCM/PH has been initialized. More...
|
|
void | SetInitialized (bool initialized) override |
| Define whether the PCM/PH has been initialized. More...
|
|
std::unique_ptr< CallbackStore > | RegisterSolenoidOutputCallback (int channel, NotifyCallback callback, bool initialNotify) override |
| Register a callback to be run when the solenoid output on a channel changes. More...
|
|
bool | GetSolenoidOutput (int channel) const override |
| Check the solenoid output on a specific channel. More...
|
|
void | SetSolenoidOutput (int channel, bool solenoidOutput) override |
| Change the solenoid output on a specific channel. More...
|
|
std::unique_ptr< CallbackStore > | RegisterCompressorOnCallback (NotifyCallback callback, bool initialNotify) override |
| Register a callback to be run when the compressor activates. More...
|
|
bool | GetCompressorOn () const override |
| Check if the compressor is on. More...
|
|
void | SetCompressorOn (bool compressorOn) override |
| Set whether the compressor is active. More...
|
|
std::unique_ptr< CallbackStore > | RegisterClosedLoopEnabledCallback (NotifyCallback callback, bool initialNotify) |
| Register a callback to be run whenever the closed loop state changes. More...
|
|
bool | GetClosedLoopEnabled () const |
| Check whether the closed loop compressor control is active. More...
|
|
void | SetClosedLoopEnabled (bool closedLoopEnabled) |
| Turn on/off the closed loop control of the compressor. More...
|
|
std::unique_ptr< CallbackStore > | RegisterPressureSwitchCallback (NotifyCallback callback, bool initialNotify) override |
| Register a callback to be run whenever the pressure switch value changes. More...
|
|
bool | GetPressureSwitch () const override |
| Check the value of the pressure switch. More...
|
|
void | SetPressureSwitch (bool pressureSwitch) override |
| Set the value of the pressure switch. More...
|
|
std::unique_ptr< CallbackStore > | RegisterCompressorCurrentCallback (NotifyCallback callback, bool initialNotify) override |
| Register a callback to be run whenever the compressor current changes. More...
|
|
double | GetCompressorCurrent () const override |
| Read the compressor current. More...
|
|
void | SetCompressorCurrent (double compressorCurrent) override |
| Set the compressor current. More...
|
|
uint8_t | GetAllSolenoidOutputs () const override |
| Get the current value of all solenoid outputs. More...
|
|
void | SetAllSolenoidOutputs (uint8_t outputs) override |
| Change all of the solenoid outputs. More...
|
|
void | ResetData () override |
| Reset all simulation data for this object. More...
|
|
virtual | ~PneumaticsBaseSim ()=default |
|
virtual bool | GetInitialized () const =0 |
| Check whether the PCM/PH has been initialized. More...
|
|
virtual void | SetInitialized (bool initialized)=0 |
| Define whether the PCM/PH has been initialized. More...
|
|
virtual std::unique_ptr< CallbackStore > | RegisterInitializedCallback (NotifyCallback callback, bool initialNotify)=0 |
| Register a callback to be run when the PCM/PH is initialized. More...
|
|
virtual bool | GetCompressorOn () const =0 |
| Check if the compressor is on. More...
|
|
virtual void | SetCompressorOn (bool compressorOn)=0 |
| Set whether the compressor is active. More...
|
|
virtual std::unique_ptr< CallbackStore > | RegisterCompressorOnCallback (NotifyCallback callback, bool initialNotify)=0 |
| Register a callback to be run when the compressor activates. More...
|
|
virtual bool | GetSolenoidOutput (int channel) const =0 |
| Check the solenoid output on a specific channel. More...
|
|
virtual void | SetSolenoidOutput (int channel, bool solenoidOutput)=0 |
| Change the solenoid output on a specific channel. More...
|
|
virtual std::unique_ptr< CallbackStore > | RegisterSolenoidOutputCallback (int channel, NotifyCallback callback, bool initialNotify)=0 |
| Register a callback to be run when the solenoid output on a channel changes. More...
|
|
virtual bool | GetPressureSwitch () const =0 |
| Check the value of the pressure switch. More...
|
|
virtual void | SetPressureSwitch (bool pressureSwitch)=0 |
| Set the value of the pressure switch. More...
|
|
virtual std::unique_ptr< CallbackStore > | RegisterPressureSwitchCallback (NotifyCallback callback, bool initialNotify)=0 |
| Register a callback to be run whenever the pressure switch value changes. More...
|
|
virtual double | GetCompressorCurrent () const =0 |
| Read the compressor current. More...
|
|
virtual void | SetCompressorCurrent (double compressorCurrent)=0 |
| Set the compressor current. More...
|
|
virtual std::unique_ptr< CallbackStore > | RegisterCompressorCurrentCallback (NotifyCallback callback, bool initialNotify)=0 |
| Register a callback to be run whenever the compressor current changes. More...
|
|
virtual uint8_t | GetAllSolenoidOutputs () const =0 |
| Get the current value of all solenoid outputs. More...
|
|
virtual void | SetAllSolenoidOutputs (uint8_t outputs)=0 |
| Change all of the solenoid outputs. More...
|
|
virtual void | ResetData ()=0 |
| Reset all simulation data for this object. More...
|
|
Class to control a simulated Pneumatic Control Module (PCM).