wloc  0.4.0
Simple Wi-Fi geolocation library and tool
wloc.app.App Class Reference

Public Member Functions

None __init__ (self)
 
None run (self)
 

Private Member Functions

None __call_backend (self, str name)
 
bool __check_arguments (self)
 
None __get_results (self)
 
None __parse_arguments (self)
 
None __parser_add_arguments (self)
 
None __parser_create (self)
 
None __set_backends (self)
 
None __setlogger (self)
 

Private Attributes

 __arguments
 
 __locator
 
 __logger
 
 __parser
 
 __selector
 

Constructor & Destructor Documentation

◆ __init__()

None wloc.app.App.__init__ (   self)
Main constructor of App class.

Member Function Documentation

◆ __call_backend()

None wloc.app.App.__call_backend (   self,
str  name 
)
private
Directly calls one of supported geolocation backend.
:param name:

◆ __check_arguments()

bool wloc.app.App.__check_arguments (   self)
private
Checks if at least one of optional command-line arguments present.
:return: Availability of any optional command-line arguments.

◆ __get_results()

None wloc.app.App.__get_results (   self)
private
Calls enabled by user backends.

◆ __parse_arguments()

None wloc.app.App.__parse_arguments (   self)
private
Parses command-line arguments and provides a special object
to work with.

◆ __parser_add_arguments()

None wloc.app.App.__parser_add_arguments (   self)
private
Adds new supported options to command-line arguments parser.

◆ __parser_create()

None wloc.app.App.__parser_create (   self)
private
Creates instance of command-line arguments parser.

◆ __set_backends()

None wloc.app.App.__set_backends (   self)
private
Creates instance of WiFiLocator class and special switch surrogate.

◆ __setlogger()

None wloc.app.App.__setlogger (   self)
private
Configures logger for internal use.

◆ run()

None wloc.app.App.run (   self)
Run application.