PcapPlusPlus
22.11
|
#include <SystemUtils.h>
Static Public Member Functions | |
static void | init (int argc, char *argv[]) |
static const std::string & | get () |
This class extracts the application name from the current running executable and stores it for usage of the application throughout its runtime. This class should be initialized once in the beginning of the main() method using AppName::init() and from then on the app name could be retrieved using AppName::get()
|
inlinestatic |
|
inlinestatic |
Static init method which should be called once at the beginning of the main method.
[in] | argc | The argc param from main() |
[in] | argv | The argv param from main() |