Android-cuttlefish cvd tool
|
Public Member Functions | |
SubprocessFlag (const std::string &subprocess, const std::string &name) | |
virtual | ~SubprocessFlag ()=default |
SubprocessFlag (const SubprocessFlag &)=delete | |
SubprocessFlag & | operator= (const SubprocessFlag &)=delete |
SubprocessFlag (SubprocessFlag &&)=delete | |
SubprocessFlag & | operator= (SubprocessFlag &&)=delete |
const std::string & | Subprocess () const |
const std::string & | Name () const |
Private Attributes | |
std::string | subprocess_ |
std::string | name_ |
Superclass for a flag loaded from another process.
An instance of this class defines a flag available either in this subprocess or another flag. If a flag needs to be registered in the current process, see the DynamicFlag subclass. If multiple subprocesses declare a flag with the same name, they all should receive that flag, but the DynamicFlag should only be created zero or one times. Zero times if the parent process defines it as well, one time if the parent does not define it.
Notably, gflags itself defines some flags that are present in every binary.
|
inline |
|
virtualdefault |
|
delete |
|
delete |
|
inline |
|
delete |
|
delete |
|
inline |
|
private |
|
private |