Zen
A cross-platform functional programming language

Application Class Reference

Singleton class represents application. More...

#include <Application.hpp>

List of all members.

Classes

class  Impl
 Application implementation class. More...

Public Member Functions

 Application (int argc, char *argv[])
 Default constructor.
 ~Application ()
 Destructor.
zbl::EnginegetEngine ()
 Return the singleton engine instance for the application.
int pump ()
 pumps the engine queue once and exits.
void start ()
 pumps the engine queue continuously in a loop until exit() is called.

Private Attributes

zbl::Engine _engine
 The singleton engine instance.
Impl_impl
 Implementation instance.

Detailed Description

Singleton class represents application.

Manages the internal application class


Constructor & Destructor Documentation

Application ( int  argc,
char *  argv[] 
)

Default constructor.

Parameters:
argcArgument count
argvList of arguments

Member Function Documentation

zbl::Engine& getEngine ( ) [inline]

Return the singleton engine instance for the application.

Returns:
The engine instance
int pump ( ) [inline]

pumps the engine queue once and exits.

Returns:
The exit value

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines