#include <CmdLineBuilderController2.h>
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 | |
CmdParse * | cp |
char * | rcFileName |
DefaultBuilderModel * | dbm |
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.
CmdLineBuilderController2::CmdLineBuilderController2 | ( | CmdLineBuilderView * | bv, | |
DefaultBuilderModel * | bm | |||
) |
input obtained from IO::in
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.