#include <DomainControl.hpp>
|
| | DomainControl (const std::vector< std::shared_ptr< Control > > &controls) |
| |
| | DomainControl (const DomainControl &other)=delete |
| |
| DomainControl & | operator= (const DomainControl &other)=delete |
| |
| virtual | ~DomainControl ()=default |
| |
| void | setup_batch (void) override |
| | Prepare the control for being written through side effects by the owner's write_batch step. This method should not fail if called multiple times, and ideally only apply the side effects on the first call.
|
| |
| void | adjust (double value) override |
| | Store values to be written by the owner's write_batch step.
|
| |
| void | write (double value) override |
| | Write the value of the control without affecting any pushed batch controls.
|
| |
| void | save (void) override |
| | Store the current setting of the control for use by a future call to restore().
|
| |
| void | restore (void) override |
| | Restore the setting stored by save().
|
| |
| std::vector< std::shared_ptr< Control > > | controls (void) |
| |
| virtual | ~Control ()=default |
| |
◆ DomainControl() [1/2]
| geopm::DomainControl::DomainControl |
( |
const std::vector< std::shared_ptr< Control > > & |
controls | ) |
|
◆ DomainControl() [2/2]
| geopm::DomainControl::DomainControl |
( |
const DomainControl & |
other | ) |
|
|
delete |
◆ ~DomainControl()
| virtual geopm::DomainControl::~DomainControl |
( |
| ) |
|
|
virtualdefault |
◆ adjust()
| void geopm::DomainControl::adjust |
( |
double |
value | ) |
|
|
overridevirtual |
Store values to be written by the owner's write_batch step.
Implements geopm::Control.
◆ controls()
| std::vector< std::shared_ptr< Control > > geopm::DomainControl::controls |
( |
void |
| ) |
|
◆ operator=()
◆ restore()
| void geopm::DomainControl::restore |
( |
void |
| ) |
|
|
overridevirtual |
◆ save()
| void geopm::DomainControl::save |
( |
void |
| ) |
|
|
overridevirtual |
◆ setup_batch()
| void geopm::DomainControl::setup_batch |
( |
void |
| ) |
|
|
overridevirtual |
Prepare the control for being written through side effects by the owner's write_batch step. This method should not fail if called multiple times, and ideally only apply the side effects on the first call.
Implements geopm::Control.
◆ write()
| void geopm::DomainControl::write |
( |
double |
value | ) |
|
|
overridevirtual |
Write the value of the control without affecting any pushed batch controls.
Implements geopm::Control.
The documentation for this class was generated from the following files: