17#ifndef CYBER_MAINBOARD_MODULE_ARGUMENT_H_
18#define CYBER_MAINBOARD_MODULE_ARGUMENT_H_
31static const char DEFAULT_process_group_[] =
"mainboard_default";
32static const char DEFAULT_sched_name_[] =
"CYBER_DEFAULT";
35static const int ARGS_OPT_CODE_PLUGIN = 1001;
36static const int ARGS_OPT_CODE_DISABLE_PLUGIN_AUTOLOAD = 1002;
44 void GetOptions(
const int argc,
char*
const argv[]);
54 return heapprofile_filename_;
59 std::list<std::string> dag_conf_list_;
60 std::list<std::string> plugin_description_list_;
61 std::string binary_name_;
62 std::string process_group_;
63 std::string sched_name_;
64 bool enable_cpuprofile_ =
false;
65 std::string profile_filename_;
66 bool enable_heapprofile_ =
false;
67 std::string heapprofile_filename_;
68 bool disable_plugin_autoload_ =
false;
76 return process_group_;
84 return dag_conf_list_;
89 return plugin_description_list_;
93 return disable_plugin_autoload_;
const bool GetEnableHeapprofile() const
const std::string & GetBinaryName() const
const std::list< std::string > & GetDAGConfList() const
void GetOptions(const int argc, char *const argv[])
const bool GetEnableCpuprofile() const
const std::string & GetSchedName() const
const std::string & GetProcessGroup() const
virtual ~ModuleArgument()=default
void ParseArgument(int argc, char *const argv[])
const bool & GetDisablePluginsAutoLoad() const
const std::list< std::string > & GetPluginDescriptionList() const
const std::string GetHeapProfileFilename() const
const std::string GetProfileFilename() const