Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::slave::IOSwitchboardServer::Flags Struct Reference

#include <switchboard.hpp>

Inheritance diagram for mesos::internal::slave::IOSwitchboardServer::Flags:
flags::FlagsBase

Public Member Functions

 Flags ()
 
- Public Member Functions inherited from flags::FlagsBase
 FlagsBase ()
 
virtual ~FlagsBase ()=default
 
 FlagsBase (const FlagsBase &)=default
 
 FlagsBase (FlagsBase &&)=delete
 
FlagsBaseoperator= (const FlagsBase &)=default
 
FlagsBaseoperator= (FlagsBase &&)=delete
 
virtual Try< Warningsload (const std::string &prefix)
 
virtual Try< Warningsload (const Option< std::string > &prefix, int argc, const char *const *argv, bool unknowns=false, bool duplicates=false)
 
virtual Try< Warningsload (const Option< std::string > &prefix, int *argc, char ***argv, bool unknowns=false, bool duplicates=false)
 
virtual Try< Warningsload (const std::map< std::string, Option< std::string >> &values, bool unknowns=false, const Option< std::string > &prefix=None())
 
virtual Try< Warningsload (const std::map< std::string, std::string > &values, bool unknowns=false, const Option< std::string > &prefix=None())
 
std::string usage (const Option< std::string > &message=None()) const
 
void setUsageMessage (const std::string &message)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 *t2, F validate)
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 &t2, F validate)
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const std::string &help, const T2 &t2, F validate)
 
template<typename Flags , typename T1 , typename T2 >
void add (T1 Flags::*t1, const Name &name, const std::string &help, const T2 &t2)
 
template<typename Flags , typename T >
void add (T Flags::*t, const Name &name, const std::string &help)
 
template<typename Flags , typename T1 , typename T2 >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 &t2)
 
template<typename Flags , typename T , typename F >
void add (Option< T > Flags::*option, const Name &name, const Option< Name > &alias, const std::string &help, F validate)
 
template<typename Flags , typename T , typename F >
void add (Option< T > Flags::*option, const Name &name, const std::string &help, F validate)
 
template<typename Flags , typename T >
void add (Option< T > Flags::*option, const Name &name, const std::string &help)
 
template<typename Flags , typename T >
void add (Option< T > Flags::*option, const Name &name, const Option< Name > &alias, const std::string &help)
 
void add (const Flag &flag)
 
std::map< std::string, Option< std::string > > extract (const std::string &prefix) const
 
std::map< std::string, std::string > buildEnvironment (const Option< std::string > &prefix=None()) const
 

Public Attributes

bool tty
 
Option< int > stdin_to_fd
 
Option< int > stdout_from_fd
 
Option< int > stdout_to_fd
 
Option< int > stderr_from_fd
 
Option< int > stderr_to_fd
 
Option< std::string > socket_path
 
bool wait_for_connection
 
Option< Durationheartbeat_interval
 
- Public Attributes inherited from flags::FlagsBase
bool help
 

Additional Inherited Members

- Public Types inherited from flags::FlagsBase
typedef std::map< std::string, Flag >::const_iterator const_iterator
 
typedef std::map< std::string, Flag >::iterator iterator
 
- Protected Attributes inherited from flags::FlagsBase
std::string programName_
 
Option< std::string > usageMessage_
 

Constructor & Destructor Documentation

mesos::internal::slave::IOSwitchboardServer::Flags::Flags ( )
inline

Member Data Documentation

Option<Duration> mesos::internal::slave::IOSwitchboardServer::Flags::heartbeat_interval
Option<std::string> mesos::internal::slave::IOSwitchboardServer::Flags::socket_path
Option<int> mesos::internal::slave::IOSwitchboardServer::Flags::stderr_from_fd
Option<int> mesos::internal::slave::IOSwitchboardServer::Flags::stderr_to_fd
Option<int> mesos::internal::slave::IOSwitchboardServer::Flags::stdin_to_fd
Option<int> mesos::internal::slave::IOSwitchboardServer::Flags::stdout_from_fd
Option<int> mesos::internal::slave::IOSwitchboardServer::Flags::stdout_to_fd
bool mesos::internal::slave::IOSwitchboardServer::Flags::tty
bool mesos::internal::slave::IOSwitchboardServer::Flags::wait_for_connection

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