CCAFFEINE  0.8.8
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
CmdLineBuilderController2 Class Reference

#include <CmdLineBuilderController2.h>

Inheritance diagram for CmdLineBuilderController2:
Inheritance graph
[legend]
Collaboration diagram for CmdLineBuilderController2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CmdLineBuilderController2 (CmdLineBuilderView *bv, DefaultBuilderModel *bm)
 CmdLineBuilderController2 (FILE *in, CmdLineBuilderView *bv, DefaultBuilderModel *bm)
int parse ()
virtual void addAction (CmdAction *action)
int forceLink ()

Static Public Member Functions

static int main (int argc, char **argv)

Private Member Functions

void setup ()

Private Attributes

CmdParsecp
char * rcFileName
DefaultBuilderModeldbm

Detailed Description

A command line controller of the Model-View-Controller pattern for the builder. This reads from input and instructs the BuilderModel to perform actions and the BuilderView to printout information.

This implementation encapsulates all the globals into a command context cc.

This implementation is also where we force CCAFFEINE to link various classes/functions/globals statically as a public service for components.


Constructor & Destructor Documentation

input obtained from IO::in


Member Function Documentation

Begin recieving input events from the user.

Implements BuilderController.

virtual void CmdLineBuilderController2::addAction ( CmdAction action) [virtual]

Add an action to the command stream of the controller. Right now the Benware does not support removal.

Implements BuilderController.

static int CmdLineBuilderController2::main ( int  argc,
char **  argv 
) [static]

returns 0 if ok, nonzero otherwise. Used in this configuration, does not support mpi.

This calls any functions necessary to prevent the link editor (ld) from stripping 'unused' functions that will be needed later by dynamically loaded components.


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