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

CmdLineBuilderController2::CmdLineBuilderController2 ( CmdLineBuilderView bv,
DefaultBuilderModel bm 
)

input obtained from IO::in


Member Function Documentation

int CmdLineBuilderController2::parse (  )  [virtual]

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.

int CmdLineBuilderController2::forceLink (  ) 

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:

Generated on Thu Sep 17 08:21:21 2009 for CCAFFEINE by  doxygen 1.5.9