|
| DebugIOGroup (const PlatformTopo &topo, std::shared_ptr< std::vector< double > > value_cache) |
| Constructor; should be called in the Agent's constructor. value_cache is created and updated by the Agent, but the lifetime of the IOGroup may be longer than the Agent. More...
|
|
virtual | ~DebugIOGroup ()=default |
|
std::set< std::string > | signal_names (void) const override |
|
std::set< std::string > | control_names (void) const override |
|
bool | is_valid_signal (const std::string &signal_name) const override |
|
bool | is_valid_control (const std::string &control_name) const override |
|
int | signal_domain_type (const std::string &signal_name) const override |
|
int | control_domain_type (const std::string &control_name) const override |
|
int | push_signal (const std::string &signal_name, int domain_type, int domain_idx) override |
|
int | push_control (const std::string &control_name, int domain_type, int domain_idx) override |
|
void | read_batch (void) override |
|
void | write_batch (void) override |
|
double | sample (int batch_idx) override |
|
void | adjust (int batch_idx, double setting) override |
|
double | read_signal (const std::string &signal_name, int domain_type, int domain_idx) override |
|
void | write_control (const std::string &control_name, int domain_type, int domain_idx, double setting) override |
|
void | save_control (void) override |
|
void | restore_control (void) override |
|
std::function< double(const std::vector< double > &)> | agg_function (const std::string &signal_name) const override |
|
std::string | signal_description (const std::string &signal_name) const override |
|
std::string | control_description (const std::string &control_name) const override |
|
int | signal_behavior (const std::string &signal_name) const override |
|
void | save_control (const std::string &save_path) override |
|
void | restore_control (const std::string &save_path) override |
|
std::string | name (void) const override |
|
void | register_signal (const std::string &name, int domain_type, int signal_behavior) |
| Set up a signal name and base domain to map to one or more underlying values. One signal will be added for each index in the domain. More...
|
|
IOGroup that Agents can use to expose internal values.