schroot_listmounts::main Class Reference

Frontend for schroot. More...

#include <schroot-listmounts-main.h>

Inheritance diagram for schroot_listmounts::main:

Inheritance graph
[legend]
Collaboration diagram for schroot_listmounts::main:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 main (options::ptr &options)
 The constructor.
virtual ~main ()
 The destructor.
sbuild::string_list list_mounts (std::string const &mountfile) const
 List mounts.
virtual void action_listmounts ()
 Release lock.
virtual int run_impl ()
 Run the program.

Public Attributes

options::ptr options
 The program options.

Detailed Description

Frontend for schroot.

This class is used to "run" schroot.


Constructor & Destructor Documentation

main::main ( options::ptr options  ) 

The constructor.

Parameters:
options the command-line options to use.

main::~main (  )  [virtual]

The destructor.

Reimplemented from schroot_base::main.


Member Function Documentation

void main::action_listmounts (  )  [virtual]

Release lock.

Parameters:
stream the stream to output to.

sbuild::string_list main::list_mounts ( std::string const &  mountfile  )  const

List mounts.

Parameters:
mountfile the file containing the database of mounted filesystems.
mountpoint the mount point to check for.

int main::run_impl (  )  [virtual]

Run the program.

Returns:
0 on success, 1 on failure or the exit status of the chroot command.

Implements schroot_base::main.


Member Data Documentation

options::ptr schroot_listmounts::main::options

The program options.


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 19:28:35 2006 for schroot by  doxygen 1.4.7