#include <schroot-releaselock-options.h>


Public Types | |
| typedef std::tr1::shared_ptr < options > | ptr |
| A shared_ptr to an options object. | |
Public Member Functions | |
| options () | |
| The constructor. | |
| virtual | ~options () |
| The destructor. | |
Public Attributes | |
| std::string | device |
| The device to unlock. | |
| int | pid |
| The PID holding the lock. | |
Static Public Attributes | |
| static const action_type | ACTION_RELEASELOCK |
| Begin, run and end a session. | |
Protected Member Functions | |
| virtual void | add_options () |
| Add options to option groups. | |
| virtual void | add_option_groups () |
| Add option groups to container groups. | |
| virtual void | check_options () |
| Check options after parsing. | |
Protected Attributes | |
| boost::program_options::options_description | lock |
| Lock options group. | |
| typedef std::tr1::shared_ptr<options> schroot_releaselock::options::ptr |
| options::options | ( | ) |
| options::~options | ( | ) | [virtual] |
| void options::add_option_groups | ( | ) | [protected, virtual] |
Add option groups to container groups.
Reimplemented from schroot_base::options.
References schroot_base::options::global, lock, and schroot_base::options::visible.
| void options::add_options | ( | ) | [protected, virtual] |
Add options to option groups.
Reimplemented from schroot_base::options.
References schroot_base::options::action, ACTION_RELEASELOCK, device, lock, and pid.
| void options::check_options | ( | ) | [protected, virtual] |
Check options after parsing.
Reimplemented from schroot_base::options.
References schroot_base::options::action, ACTION_RELEASELOCK, and device.
const options::action_type options::ACTION_RELEASELOCK [static] |
Begin, run and end a session.
Referenced by add_options(), check_options(), and schroot_releaselock::main::run_impl().
| std::string schroot_releaselock::options::device |
boost::program_options::options_description schroot_releaselock::options::lock [protected] |
1.5.8