nngn
Loading...
Searching...
No Matches
anonymous_namespace{main.cpp}::Launcher Class Reference

Public Member Functions

 Launcher (std::string_view path_)
 
const QLocalSocket & socket () const
 
bool ok () const
 
void fail ()
 
bool open_socket ()
 
bool exec (std::string_view cmd)
 

Private Types

enum  Flag : std::uint8_t { OK = 1u << 0 , ADDED_TO_PATH = 1u << 1 }
 

Private Attributes

std::string_view path
 
QLocalSocket sock = {}
 
Flag flags = Flag::OK
 

Member Enumeration Documentation

◆ Flag

enum anonymous_namespace{main.cpp}::Launcher::Flag : std::uint8_t
private
Enumerator
OK 
ADDED_TO_PATH 

Constructor & Destructor Documentation

◆ Launcher()

anonymous_namespace{main.cpp}::Launcher::Launcher ( std::string_view path_)
inlineexplicit
Here is the caller graph for this function:

Member Function Documentation

◆ exec()

bool anonymous_namespace{main.cpp}::Launcher::exec ( std::string_view cmd)
Here is the call graph for this function:

◆ fail()

void anonymous_namespace{main.cpp}::Launcher::fail ( )
inline

◆ ok()

bool anonymous_namespace{main.cpp}::Launcher::ok ( ) const
inline

◆ open_socket()

bool anonymous_namespace{main.cpp}::Launcher::open_socket ( )
Here is the caller graph for this function:

◆ socket()

const QLocalSocket & anonymous_namespace{main.cpp}::Launcher::socket ( ) const
inline

Member Data Documentation

◆ flags

Flag anonymous_namespace{main.cpp}::Launcher::flags = Flag::OK
private

◆ path

std::string_view anonymous_namespace{main.cpp}::Launcher::path
private

◆ sock

QLocalSocket anonymous_namespace{main.cpp}::Launcher::sock = {}
private

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