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)
 
 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 , OK = 1u << 0 , ADDED_TO_PATH = 1u << 1 }
 
enum  Flag : std::uint8_t { OK = 1u << 0 , ADDED_TO_PATH = 1u << 1 , OK = 1u << 0 , ADDED_TO_PATH = 1u << 1 }
 

Private Attributes

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

Member Enumeration Documentation

◆ Flag [1/2]

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

◆ Flag [2/2]

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

Constructor & Destructor Documentation

◆ Launcher() [1/2]

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

◆ Launcher() [2/2]

anonymous_namespace{main.cpp}::Launcher::Launcher ( std::string_view  path_)
inlineexplicit

Member Function Documentation

◆ exec() [1/2]

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

◆ exec() [2/2]

bool anonymous_namespace{main.cpp}::Launcher::exec ( std::string_view  cmd)

◆ fail() [1/2]

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

◆ fail() [2/2]

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

◆ ok() [1/2]

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

◆ ok() [2/2]

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

◆ open_socket() [1/2]

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

◆ open_socket() [2/2]

bool anonymous_namespace{main.cpp}::Launcher::open_socket ( )

◆ socket() [1/2]

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

◆ socket() [2/2]

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 files: