Seastar
High performance C++ framework for concurrent servers
Classes | Public Types | Public Member Functions | List of all members
seastar::app_template Class Reference

Classes

struct  config
 
struct  positional_option
 

Public Types

using configuration_reader = std::function< void(boost::program_options::variables_map &)>
 

Public Member Functions

 app_template (config cfg=config())
 
boost::program_options::options_description & get_options_description ()
 
boost::program_options::options_description & get_conf_file_options_description ()
 
boost::program_options::options_description_easy_init add_options ()
 
void add_positional_options (std::initializer_list< positional_option > options)
 
boost::program_options::variables_map & configuration ()
 
int run_deprecated (int ac, char **av, std::function< void()> &&func)
 
void set_configuration_reader (configuration_reader conf_reader)
 
int run (int ac, char **av, std::function< future< int >()> &&func)
 
int run (int ac, char **av, std::function< future<>()> &&func)
 

Class Documentation

◆ seastar::app_template::positional_option

struct seastar::app_template::positional_option
Class Members
const char * help
int max_count
const char * name
const value_semantic * value_semantic

The documentation for this class was generated from the following files: