Struct ExperimentConfiguration

Struct Documentation

struct ExperimentConfiguration

Represents the configuration of an experiment.

This experiment configuration could be created from various sources. At the moment, only configuration by command line arguments are supported.

Public Functions

ExperimentConfiguration()
std::chrono::duration<double> period() const
Returns:

Returns the inverse of the configured publishing rate.

std::chrono::nanoseconds period_ns() const
Returns:

Returns the inverse of the configured publishing rate, in nanoseconds.

std::string pub_topic_postfix() const
std::string sub_topic_postfix() const

Public Members

const std::string id
std::string communicator
std::string execution_strategy
uint32_t dds_domain_id
QOSAbstraction qos
uint32_t rate
std::string topic_name
std::string msg_name
size_t unbounded_msg_size
uint64_t max_runtime
uint32_t rows_to_ignore
uint32_t number_of_publishers
uint32_t number_of_subscribers
uint32_t expected_num_pubs
uint32_t expected_num_subs
std::chrono::seconds wait_for_matched_timeout
bool check_memory
RealTimeConfiguration rt_config
bool with_security
bool use_shared_memory
bool use_loaned_samples
bool prevent_cpu_idle
RoundTripMode roundtrip_mode
OutputConfiguration output_configuration
int argc

In case any plugins need extra CLI args.

char **argv