|
TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
ReplacerConfigurer class definition. More...
#include "replacer_configurer.hpp"
Public Member Functions | |
| ReplacerConfigurer (void) | |
| Construct a new ReplacerConfigurer object. More... | |
| std::string | get_address (void) |
| Get the replacer configured address. More... | |
| uint16_t | get_port (void) |
| Get the replacer configured port. More... | |
| bool | get_specific_source (void) |
| Get the specific_source config. More... | |
Public Member Functions inherited from travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig > | |
| AdapterConfigurer (void) | |
| Construct a new AdapterConfigurer object. More... | |
| AdapterConfigurer (std::string config_namespace) | |
| Construct a new AdapterConfigurer object. More... | |
| bool | get_reset (void) |
| Get the reset config. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const ReplacerConfigurer &repl_conf) |
| Output stream operator overloading. More... | |
Additional Inherited Members | |
Protected Attributes inherited from travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig > | |
| bool | reconfigured |
| travesim_adapters::ReplacerConfig | config |
| boost::recursive_mutex | mutex |
ReplacerConfigurer class definition.
Definition at line 28 of file replacer_configurer.hpp.
| travesim::ReplacerConfigurer::ReplacerConfigurer | ( | void | ) |
Construct a new ReplacerConfigurer object.
Definition at line 28 of file replacer_configurer.cpp.
| std::string travesim::ReplacerConfigurer::get_address | ( | void | ) |
Get the replacer configured address.
Definition at line 32 of file replacer_configurer.cpp.
References travesim::check_valid_ip(), travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::config, travesim::get_error_msg(), INVALID_ADDRESS, MAX_UNICAST_ADDRESS, MIN_UNICAST_ADDRESS, travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::mutex, and travesim::VALID.
| uint16_t travesim::ReplacerConfigurer::get_port | ( | void | ) |
Get the replacer configured port.
Definition at line 48 of file replacer_configurer.cpp.
References travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::config, and travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::mutex.
| bool travesim::ReplacerConfigurer::get_specific_source | ( | void | ) |
Get the specific_source config.
Definition at line 53 of file replacer_configurer.cpp.
References travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::config, and travesim::AdapterConfigurer< travesim_adapters::ReplacerConfig >::mutex.
|
friend |
Output stream operator overloading.
Definition at line 58 of file replacer_configurer.cpp.