Lumiera  0.pre.03
»edit your freedom«
option.hpp File Reference

Go to the source code of this file.

Description

front-end for handling the commandline arguments.

Lumiera uses the [Boost program options library] for commandline parsing and handling of a setup.ini file. After checking the commandline arguments syntactically, the internal options representation is passed to the various Subsystems of the application. This mechanism allows individual subsystems to decide if they want and need to start up at all. Obviously, starting a subsystem also pulls up its prerequisites.

The idea behind this structure is to allow operating the application in various alternative modes, like starting "headless" (without UI), script driven or as node in a renderfarm network.

[Boost program options library] : http://www.boost.org/doc/libs/1_55_0/doc/html/program_options.html

See also
basic-setup.hpp
lumiera::AppState
lumiera::Config

Definition in file option.hpp.

#include "lib/nocopy.hpp"
#include "lib/cmdline.hpp"
#include "lib/format-cout.hpp"
#include <string>
#include <boost/program_options.hpp>
#include <boost/utility.hpp>

Classes

class  Option
 Frontend for handling the Lumiera application commandline arguments. More...
 

Functions

ostream & operator<< (ostream &os, const Option &to)
 for outputting the help messages. More...
 

Namespaces

 lumiera
 Lumiera public interface.