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.

Definition at line 32 of file schroot-main.h.


Constructor & Destructor Documentation

main::main ( options_base::ptr options  ) 

The constructor.

Parameters:
options the command-line options to use.

Definition at line 38 of file schroot-main.cc.

main::~main (  )  [virtual]

The destructor.

Reimplemented from schroot_base::main.

Definition at line 47 of file schroot-main.cc.


Member Function Documentation

void main::action_list (  )  [virtual]

List chroots.

Implements schroot::main_base.

Definition at line 66 of file schroot-main.cc.

References schroot::main_base::config.

void main::action_config (  )  [virtual]

Dump configuration file for chroots.

Implements schroot::main_base.

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

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

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 72 of file schroot-main.cc.

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

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Jan 27 16:14:51 2007 for schroot by  doxygen 1.5.1