dchroot::main Class Reference

Frontend for dchroot. More...

#include <dchroot-main.h>

Inheritance diagram for dchroot::main:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 main (schroot::options_base::ptr &options)
 The constructor.
virtual ~main ()
 The destructor.

Protected Member Functions

virtual void load_config ()
 Load configuration.
virtual void action_location ()
 Print location of chroots.
virtual void create_session (sbuild::session::operation sess_op)
 Create a session.

Detailed Description

Frontend for dchroot.

This class is used to "run" dchroot.

Definition at line 31 of file dchroot-main.h.


Constructor & Destructor Documentation

main::main ( schroot::options_base::ptr options  ) 

The constructor.

Parameters:
options the command-line options to use.

Definition at line 43 of file dchroot-main.cc.

main::~main (  )  [virtual]

The destructor.

Reimplemented from schroot_base::main.

Definition at line 52 of file dchroot-main.cc.


Member Function Documentation

void main::load_config (  )  [protected, virtual]

Load configuration.

Reimplemented from schroot::main_base.

Definition at line 65 of file dchroot-main.cc.

References dchroot::main_base::check_dchroot_conf(), schroot::main_base::config, and schroot::main_base::load_config().

void main::action_location (  )  [protected, virtual]

Print location of chroots.

Reimplemented from schroot::main_base.

Definition at line 57 of file dchroot-main.cc.

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.

Definition at line 82 of file dchroot-main.cc.

References sbuild::DEBUG_INFO, and sbuild::log_debug().


The documentation for this class was generated from the following files:
Generated on Sun Jul 8 21:24:28 2007 for schroot by  doxygen 1.5.2