JayBeams
0.1
Another project to have fun coding.
|
A configuration object for UDP senders. More...
#include <udp_sender_config.hpp>
Public Member Functions | |
udp_sender_config () | |
config_object_constructors (udp_sender_config) | |
![]() | |
udp_config_common () | |
config_object_constructors (udp_config_common) | |
![]() | |
config_object () | |
Default constructor. More... | |
config_object (config_object const &rhs) | |
Copy constructor. More... | |
config_object (config_object &&rhs) | |
Move constructor. More... | |
virtual | ~config_object () |
Destructor. More... | |
config_object & | operator= (config_object rhs) |
Copy & swap assignment. More... | |
void | swap (config_object &rhs) |
Derived classes should implement member by member swap. More... | |
void | load_overrides (int &argc, char *argv[], std::string const &filename, char const *environment_variable_name) |
Read the configuration file and load the overrides defined therein. More... | |
void | load_overrides (int &argc, char *argv[], std::string const &filename) |
Read the configuration file and load the overrides defined therein. More... | |
void | load_overrides (int &argc, char *argv[], std::istream &is) |
Read the configuration file and load the overrides defined therein. More... | |
void | process_cmdline (int &argc, char *argv[]) |
Process the command line. More... | |
virtual void | validate () const |
Validate the settings. More... | |
std::ostream & | to_stream (std::ostream &os) const |
Print out the settings. More... | |
Additional Inherited Members | |
![]() | |
static attribute_descriptor | desc (std::string const &name) |
Convenience function to create attribute descriptors with less typing. More... | |
static attribute_descriptor | desc (std::string const &name, std::string const &class_name) |
Convenience function to create attribute descriptors with less typing. More... | |
A configuration object for UDP senders.
Definition at line 12 of file udp_sender_config.hpp.
jb::itch5::udp_sender_config::udp_sender_config | ( | ) |
Definition at line 6 of file udp_sender_config.cpp.
jb::itch5::udp_sender_config::config_object_constructors | ( | udp_sender_config | ) |
jb::config_attribute<udp_sender_config, std::string> jb::itch5::udp_sender_config::address |
Definition at line 18 of file udp_sender_config.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), main(), and jb::itch5::detail::setup_socket_udp_send().
jb::config_attribute<udp_sender_config, bool> jb::itch5::udp_sender_config::broadcast |
Definition at line 22 of file udp_sender_config.hpp.
Referenced by jb::itch5::detail::setup_socket_udp_send().
jb::config_attribute<udp_sender_config, bool> jb::itch5::udp_sender_config::enable_loopback |
Definition at line 19 of file udp_sender_config.hpp.
Referenced by jb::itch5::detail::setup_socket_udp_send().
jb::config_attribute<udp_sender_config, int> jb::itch5::udp_sender_config::hops |
Definition at line 20 of file udp_sender_config.hpp.
Referenced by jb::itch5::detail::setup_socket_udp_send().
jb::config_attribute<udp_sender_config, std::string> jb::itch5::udp_sender_config::outbound_interface |
Definition at line 21 of file udp_sender_config.hpp.
Referenced by jb::itch5::detail::setup_socket_udp_send().
jb::config_attribute<udp_sender_config, int> jb::itch5::udp_sender_config::port |
Definition at line 17 of file udp_sender_config.hpp.