schroot::main Class Reference

Frontend for schroot. More...

#include <schroot-main.h>

Inheritance diagram for schroot::main:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 main (options_base::ptr &options)
 The constructor.
virtual ~main ()
 The destructor.
virtual void action_list ()
 List chroots.
virtual void action_config ()
 Dump configuration file for chroots.

Protected Member Functions

virtual void create_session (sbuild::session::operation sess_op)
 Create a session.


Detailed Description

Frontend for schroot.

This class is used to "run" schroot.


Constructor & Destructor Documentation

main::main ( options_base::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_config (  )  [virtual]

Dump configuration file for chroots.

Implements schroot::main_base.

References schroot::main_base::chroots, schroot::main_base::config, and schroot_base::main::program_name.

void main::action_list (  )  [virtual]

List chroots.

Implements schroot::main_base.

References schroot::main_base::config.

void main::create_session ( sbuild::session::operation  sess_op  )  [protected, virtual]

Create a session.

This sets the session member.

Parameters:
sess_op the session operation to perform.

Implements schroot::main_base.

References schroot::main_base::chroots, schroot::main_base::config, sbuild::DEBUG_INFO, sbuild::log_debug(), and schroot::main_base::session.


The documentation for this class was generated from the following files:

Generated on Sun Mar 22 22:18:30 2009 for schroot by  doxygen 1.5.8