Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AppFramework Class Reference

#include <APPFramework.hh>

Inheritance diagram for AppFramework:

APPNoCloneModule AppModule APPExecutable List of all members.

Public Methods

 AppFramework (int argc, char *argv[])
virtual ~AppFramework ()
virtual AppResult beginJob (AbsEvent *anEvent)
virtual AppResult beginRun (AbsEvent *anEvent)
virtual AppResult event (AbsEvent *anEvent)
virtual AppResult outputEvent (AbsEvent *anEvent)
virtual AppResult other (AbsEvent *anEvent)
virtual AppResult accountEvent (AbsEvent *&anEvent)
virtual AppResult frame (AppFrame *aFrame, const AppStopType &theDispatchStopType)
virtual AppResult endRun (AbsEvent *anEvent)
virtual AppResult endJob (AbsEvent *anEvent)
virtual AppResult abortJob (AbsEvent *anEvent)
virtual void talkTo ()
virtual void help (int argc, char **argv)
virtual void exit ()
virtual void show (int argc, char **argv) const
virtual void beginHandler (int nEvents)
virtual void continueHandler (int nEvents)
void resetIndent ()
void increaseIndent ()
void decreaseIndent ()
void skipToIndent ()
void printName (const char *const theName, int mode=0)
bool isExitRequested () const
void setTheInputModule (APPInputModule *thatOne)
void setTheAccountModule (AppAccountModule *thatOne)
APPInputModuletheInputModule () const
APPOutputModuletheOutputModule () const
AppAccountModuletheAccountModule () const
APPExecutablefetch (const char *const aName) const
AppModulefetchModule (const char *const aName) const
APPPathfetchPath (const char *const aName) const
APPSequencefetchSequence (const char *const aName) const
bool has (const char *const aName) const
bool hasModule (const char *const aName) const
bool hasPath (const char *const aName) const
bool hasSequence (const char *const aName) const
APPList< APPExecNode * > * nodes () const
APPList< AppModule * > * modules () const
APPList< APPPath * > * paths () const
APPList< APPSequence * > * sequences () const
APPList< APPInputModule * > * inputModules () const
APPList< APPOutputModule * > * outputModules () const
APPList< AppAccountModule * > * accountModules () const
APPList< AppCloneRecorder * > * cloneList () const
APPExecutableexecFromName (const char *const theName) const
int maxNameLength () const
void setBegun (bool state)
bool setInputModule (const char *const aName)
bool setOutputModule (const char *const aName)
bool setAccountModule (const char *const aName)
virtual void add (AppModule *const aModule)
virtual void add (const APPExecNode *const aNode)
virtual void add (APPInputModule *const aModule)
virtual void add (APPOutputModule *const aModule)
virtual void add (APPSequence *const aSequence)
virtual void add (AppAccountModule *const aModule)
virtual void add (APPPath *const aPath)
virtual void add (AppCloneRecorder *const aRecorder)
virtual void remove (const APPExecNode *const aNode)
virtual void remove (const AppModule *const aModule)
virtual void remove (const APPInputModule *const aModule)
virtual void remove (const APPOutputModule *const aModule)
virtual void remove (const APPSequence *const aSequence)
virtual void remove (const APPPath *const aPath)
virtual void remove (const AppAccountModule *const aModule)
void requestStop ()
bool isStopRequested () const
APPList< AppAction * > * actions () const
APPList< AppActionController * > * actionControllers () const
APPList< AppMethodBase * > * appMethods () const
int argc () const
char ** argv () const
void buildModuleList (APPList< AppModule * > &destination, APPList< APPInputModule * > &source)
void buildModuleList (APPList< AppModule * > &destination, APPList< APPOutputModule * > &source)
void buildModuleList (APPList< AppModule * > &destination, APPList< AppModule * > &source)
void buildModuleList (APPList< AppModule * > &destination, APPList< AppAccountModule * > &source)
AbsEventtheEvent () const
void zeroTheEvent ()
void setupTheApp (AppUserBuild *build)
AppUserBuildappBuilder ()

Private Methods

 AppFramework (const AppFramework &)
AppFramework & operator= (const AppFramework &)
void resetNodes ()
void resetAppMethods (bool toThis)

Private Attributes

bool _exitRequested
APPHash< APPExecutable > * _executables
APPList< APPExecNode * > * _execNodes
APPList< AppModule * > * _modules
APPList< APPPath * > * _paths
APPList< APPSequence * > * _sequences
APPList< APPInputModule * > * _inputModules
APPInputModule_theInputModule
APPList< APPOutputModule * > * _outputModules
APPOutputModule_theOutputModule
APPList< AppAccountModule * > * _accountModules
AppAccountModule_theAccountModule
APPPath_defaultPath
bool _isBegun
int _indentLevel
size_t _maxNameLength
int _argc
char ** _argv
bool _stopRequested
APPEventsCommand _eventsCmd
APPModuleCommand _moduleCmd
APPPathCommand _pathCmd
APPSequenceCommand _sequenceCmd
AppConfigCommand _configCmd
AppActionCommand _actionCmd
APPInputModule_localInputModule
APPOutputModule_localOutputModule
APPList< AppAction * > * _actions
APPList< AppActionController * > * _theActionControllers
APPList< AppCloneRecorder * > * _cloneList
APPList< AppMethodBase * > * _theAppMethodsGrabBag
AppUserBuild_theAppUserBuild

Static Private Attributes

AppFrame_theFrame = 0
AppStopType _theDispatchStopType = AppStopType::never_assigned

Constructor & Destructor Documentation

AppFramework::AppFramework int    argc,
char *    argv[]
 

Definition at line 157 of file APPFramework.cc.

AppFramework::~AppFramework   [virtual]
 

Definition at line 243 of file APPFramework.cc.

References _accountModules, _actions, _cloneList, _execNodes, _executables, _inputModules, _modules, _outputModules, _paths, _sequences, _theActionControllers, _theAppMethodsGrabBag, and APPListDeleteAll().

AppFramework::AppFramework const AppFramework &    [private]
 


Member Function Documentation

AppResult AppFramework::abortJob AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 573 of file APPFramework.cc.

References AppModule::abortJob(), APPExecutable::isEnabled(), modules(), AppResult::OK, and theOutputModule().

AppResult AppFramework::accountEvent AbsEvent *&    anEvent [virtual]
 

Definition at line 407 of file APPFramework.cc.

References AppAccountModule::accountEvent(), actionControllers(), APPExecutable::isEnabled(), AppResult::OK, and theAccountModule().

Referenced by continueHandler().

APPList< AppAccountModule* >* AppFramework::accountModules  
 

Referenced by beginJob(), beginRun(), APPModuleCommand::disableHandler(), AppMemento::DumpConfig(), APPModuleCommand::enableHandler(), endJob(), endRun(), APPModuleCommand::listHandler(), AppMemento::load(), AppMemento::missingModules(), setTheAccountModule(), and setupTheApp().

APPList<AppActionController*>* AppFramework::actionControllers   const [inline]
 

Definition at line 218 of file APPFramework.hh.

References _theActionControllers.

Referenced by accountEvent(), beginJob(), AppActionApplicator::beginJob(), beginRun(), AppActionApplicator::beginRun(), continueHandler(), AppActionCommand::disableHandler(), AppFrameMemento::Dump(), AppFrameMemento::Dump_tcl(), AppActionCommand::enableHandler(), endJob(), AppActionApplicator::endJob(), endRun(), AppActionApplicator::endRun(), AppActionApplicator::event(), AppActionApplicator::inputEvent(), AppActionCommand::listHandler(), AppActionApplicator::other(), outputEvent(), AppActionApplicator::outputEvent(), AppMemento::restoreFramework(), and setupTheApp().

APPList<AppAction*>* AppFramework::actions   const [inline]
 

Definition at line 217 of file APPFramework.hh.

References _actions.

Referenced by setupTheApp(), and show().

void AppFramework::add AppCloneRecorder *const    aRecorder [virtual]
 

Definition at line 1337 of file APPFramework.cc.

References _cloneList.

void AppFramework::add APPPath *const    aPath [virtual]
 

Definition at line 1298 of file APPFramework.cc.

References _executables, _maxNameLength, _paths, APPHash< APPExecutable >::add(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), and APPExecutable::setFramework().

void AppFramework::add AppAccountModule *const    aModule [virtual]
 

Definition at line 1233 of file APPFramework.cc.

References _accountModules, _executables, _maxNameLength, APPHash< APPExecutable >::add(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), APPExecutable::setFramework(), and AppModule::verbose().

void AppFramework::add APPSequence *const    aSequence [virtual]
 

Definition at line 1318 of file APPFramework.cc.

References _executables, _maxNameLength, _sequences, APPHash< APPExecutable >::add(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), and APPExecutable::setFramework().

void AppFramework::add APPOutputModule *const    aModule [virtual]
 

Definition at line 1276 of file APPFramework.cc.

References _executables, _maxNameLength, _outputModules, APPHash< APPExecutable >::add(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), APPExecutable::setFramework(), and AppModule::verbose().

void AppFramework::add APPInputModule *const    aModule [virtual]
 

Definition at line 1254 of file APPFramework.cc.

References _executables, _inputModules, _maxNameLength, APPHash< APPExecutable >::add(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), APPExecutable::setFramework(), and AppModule::verbose().

void AppFramework::add const APPExecNode *const    aNode [virtual]
 

Definition at line 1198 of file APPFramework.cc.

References _execNodes.

void AppFramework::add AppModule *const    aModule [virtual]
 

Definition at line 1210 of file APPFramework.cc.

References _defaultPath, _executables, _maxNameLength, _modules, APPHash< APPExecutable >::add(), APPSequence::append(), APPExecutable::fullReport(), APPExecutable::name(), APPExecutable::partialReport(), APPExecutable::setFramework(), and AppModule::verbose().

Referenced by AppBuild::add(), APPSequence::append(), APPModuleCommand::cloneHandler(), APPSequence::insert(), AppMemento::makeClone(), APPSequenceCommand::newSeq(), APPPathCommand::newSeq(), and AppMemento::restoreFramework().

AppUserBuild * AppFramework::appBuilder  
 

Definition at line 1463 of file APPFramework.cc.

References _theAppUserBuild.

Referenced by APPModuleCommand::cloneHandler(), and AppMemento::makeClone().

APPList<AppMethodBase*>* AppFramework::appMethods   const [inline]
 

Definition at line 223 of file APPFramework.hh.

References _theAppMethodsGrabBag.

Referenced by resetAppMethods().

int AppFramework::argc  
 

Referenced by help(), and show().

char** AppFramework::argv  
 

Referenced by help(), and show().

void AppFramework::beginHandler int    nEvents [virtual]
 

Definition at line 727 of file APPFramework.cc.

References _isBegun, AppModule::_theAbsEvent, _theDispatchStopType, _theFrame, beginJob(), continueHandler(), and AppStopType::never_assigned.

Referenced by APPEventsCommand::beginHandler().

AppResult AppFramework::beginJob AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 303 of file APPFramework.cc.

References accountModules(), actionControllers(), AppModule::beginRun(), buildModuleList(), inputModules(), APPExecutable::isEnabled(), modules(), AppResult::OK, outputModules(), theInputModule(), and theOutputModule().

Referenced by beginHandler(), and continueHandler().

AppResult AppFramework::beginRun AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 349 of file APPFramework.cc.

References accountModules(), actionControllers(), buildModuleList(), inputModules(), modules(), AppResult::OK, and outputModules().

Referenced by continueHandler().

void AppFramework::buildModuleList APPList< AppModule * > &    destination,
APPList< AppAccountModule * > &    source
 

Definition at line 1527 of file APPFramework.cc.

void AppFramework::buildModuleList APPList< AppModule * > &    destination,
APPList< AppModule * > &    source
 

Definition at line 1563 of file APPFramework.cc.

void AppFramework::buildModuleList APPList< AppModule * > &    destination,
APPList< APPOutputModule * > &    source
 

Definition at line 1551 of file APPFramework.cc.

void AppFramework::buildModuleList APPList< AppModule * > &    destination,
APPList< APPInputModule * > &    source
 

Definition at line 1539 of file APPFramework.cc.

Referenced by beginJob(), beginRun(), APPModuleCommand::disableHandler(), AppMemento::DumpConfig(), APPModuleCommand::enableHandler(), endJob(), endRun(), AppMemento::load(), AppMemento::missingModules(), and setupTheApp().

APPList< AppCloneRecorder* >* AppFramework::cloneList  
 

Referenced by AppFrameMemento::Dump(), and AppFrameMemento::Dump_tcl().

void AppFramework::continueHandler int    nEvents [virtual]
 

Definition at line 762 of file APPFramework.cc.

References AppModule::_enableFrames, _isBegun, _stopRequested, AppModule::_theAbsEvent, _theDispatchStopType, _theFrame, accountEvent(), actionControllers(), AppStopType::begin_run, beginJob(), beginRun(), AppStopType::end_run, endRun(), event(), frame(), APPExecutable::fullReport(), APPInputModule::inputEvent(), APPInputModule::inputFrame(), APPExecutable::isEnabled(), AppStopType::never_assigned, AppResult::OK, other(), outputEvent(), APPOutputModule::outputFrame(), AppStopType::physics_event, theInputModule(), theOutputModule(), AppResult::value(), and AbsParmBool::value().

Referenced by beginHandler(), and APPEventsCommand::continueHandler().

void AppFramework::decreaseIndent  
 

Definition at line 913 of file APPFramework.cc.

References _indentLevel.

Referenced by APPSequence::report(), APPInputModule::report(), and APPExecutable::report().

AppResult AppFramework::endJob AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 530 of file APPFramework.cc.

References accountModules(), actionControllers(), buildModuleList(), inputModules(), modules(), AppResult::OK, and outputModules().

Referenced by talkTo(), and TCL_ONLY_AppInit().

AppResult AppFramework::endRun AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 489 of file APPFramework.cc.

References accountModules(), actionControllers(), buildModuleList(), inputModules(), modules(), AppResult::OK, and outputModules().

Referenced by continueHandler().

AppResult AppFramework::event AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 444 of file APPFramework.cc.

References AppResult::OK, paths(), and resetNodes().

Referenced by continueHandler().

APPExecutable * AppFramework::execFromName const char *const    theName const
 

Definition at line 1076 of file APPFramework.cc.

References fetchModule(), and fetchSequence().

Referenced by APPSequence::append(), APPSequenceCommand::appendHandler(), APPSequenceCommand::createHandler(), APPSequence::insert(), APPSequenceCommand::insertHandler(), and APPSequenceCommand::removeHandler().

void AppFramework::exit   [virtual]
 

Reimplemented from AppModule.

Definition at line 719 of file APPFramework.cc.

References _exitRequested.

APPExecutable * AppFramework::fetch const char *const    aName const
 

Definition at line 958 of file APPFramework.cc.

References _executables, and APPHash< APPExecutable >::fetch().

AppModule * AppFramework::fetchModule const char *const    aName const
 

Definition at line 967 of file APPFramework.cc.

References _executables, APPExecutable::APP_account, APPExecutable::APP_filter, APPExecutable::APP_input, APPExecutable::APP_module, APPExecutable::APP_output, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

Referenced by APPModuleCommand::disableHandler(), APPModuleCommand::enableHandler(), execFromName(), AppMemento::restoreConfig(), setAccountModule(), setInputModule(), setOutputModule(), APPModuleCommand::talkToHandler(), BdbEventOutput::transactionMgr(), and BdbEventInput::transactionMgr().

APPPath * AppFramework::fetchPath const char *const    aName const
 

Definition at line 997 of file APPFramework.cc.

References _executables, APPExecutable::APP_path, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

Referenced by APPPathCommand::fetchSeq(), AppOutputCommand::pathsHandler(), and AppMemento::restoreConfig().

APPSequence * AppFramework::fetchSequence const char *const    aName const
 

Definition at line 1010 of file APPFramework.cc.

References _executables, APPExecutable::APP_sequence, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

Referenced by execFromName(), APPSequenceCommand::fetchSeq(), and AppMemento::restoreConfig().

AppResult AppFramework::frame AppFrame   aFrame,
const AppStopType   theDispatchStopType
[virtual]
 

Reimplemented from AppModule.

Definition at line 385 of file APPFramework.cc.

References AppResult::OK, paths(), resetAppMethods(), resetNodes(), and AppResult::value().

Referenced by continueHandler().

bool AppFramework::has const char *const    aName const
 

Definition at line 1023 of file APPFramework.cc.

References _executables, and APPHash< APPExecutable >::has().

Referenced by APPSequenceCommand::newSeq(), and APPPathCommand::newSeq().

bool AppFramework::hasModule const char *const    aName const
 

Definition at line 1032 of file APPFramework.cc.

References _executables, APPExecutable::APP_filter, APPExecutable::APP_module, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

bool AppFramework::hasPath const char *const    aName const
 

Definition at line 1050 of file APPFramework.cc.

References _executables, APPExecutable::APP_path, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

bool AppFramework::hasSequence const char *const    aName const
 

Definition at line 1063 of file APPFramework.cc.

References _executables, APPExecutable::APP_sequence, APPHash< APPExecutable >::fetch(), and APPExecutable::narrow().

void AppFramework::help int    argc,
char **    argv
[virtual]
 

Reimplemented from AppModule.

Definition at line 633 of file APPFramework.cc.

References argc(), argv(), APPExecutable::fullReport(), and AppModule::help().

void AppFramework::increaseIndent  
 

Definition at line 907 of file APPFramework.cc.

References _indentLevel.

Referenced by APPSequence::report(), APPInputModule::report(), and APPExecutable::report().

APPList< APPInputModule* >* AppFramework::inputModules  
 

Referenced by beginJob(), beginRun(), APPModuleCommand::disableHandler(), AppMemento::DumpConfig(), APPModuleCommand::enableHandler(), endJob(), endRun(), APPModuleCommand::listHandler(), AppMemento::load(), AppMemento::missingModules(), setTheInputModule(), and setupTheApp().

bool AppFramework::isExitRequested  
 

bool AppFramework::isStopRequested   const [inline]
 

Definition at line 213 of file APPFramework.hh.

References _stopRequested.

int AppFramework::maxNameLength  
 

APPList< AppModule* >* AppFramework::modules  
 

Referenced by abortJob(), beginJob(), beginRun(), APPModuleCommand::cloneHandler(), APPModuleCommand::disableHandler(), AppMemento::DumpConfig(), APPModuleCommand::enableHandler(), endJob(), endRun(), APPModuleCommand::listHandler(), AppMemento::load(), AppMemento::makeClone(), AppMemento::missingModules(), and setupTheApp().

APPList< APPExecNode* >* AppFramework::nodes  
 

Referenced by APPSequence::append(), APPSequence::insert(), and resetNodes().

AppFramework& AppFramework::operator= const AppFramework &    [private]
 

AppResult AppFramework::other AbsEvent   anEvent [virtual]
 

Reimplemented from AppModule.

Definition at line 462 of file APPFramework.cc.

References AppResult::OK, paths(), and resetNodes().

Referenced by continueHandler().

AppResult AppFramework::outputEvent AbsEvent   anEvent [virtual]
 

Definition at line 426 of file APPFramework.cc.

References actionControllers(), APPExecutable::isEnabled(), AppResult::OK, APPOutputModule::outputEvent(), and theOutputModule().

Referenced by continueHandler().

APPList< APPOutputModule* >* AppFramework::outputModules  
 

Referenced by beginJob(), beginRun(), APPModuleCommand::disableHandler(), AppMemento::DumpConfig(), APPModuleCommand::enableHandler(), endJob(), endRun(), APPModuleCommand::listHandler(), AppMemento::load(), AppMemento::missingModules(), and setupTheApp().

APPList< APPPath* >* AppFramework::paths  
 

Referenced by AppFrameMemento::Dump(), AppFrameMemento::Dump_tcl(), APPModuleCommand::enableHandler(), event(), APPPathCommand::fetchSeqs(), frame(), AppMemento::load(), other(), and BdbOutputCommand::setHandler().

void AppFramework::printName const char *const    theName,
int    mode = 0
 

Definition at line 931 of file APPFramework.cc.

References _maxNameLength, len, and APPExecutable::partialReport().

Referenced by APPInputModule::report(), and APPExecutable::report().

void AppFramework::remove const AppAccountModule *const    aModule [virtual]
 

Definition at line 1363 of file APPFramework.cc.

References _executables, _modules, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const APPPath *const    aPath [virtual]
 

Definition at line 1393 of file APPFramework.cc.

References _defaultPath, _executables, _paths, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const APPSequence *const    aSequence [virtual]
 

Definition at line 1405 of file APPFramework.cc.

References _executables, _paths, _sequences, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const APPOutputModule *const    aModule [virtual]
 

Definition at line 1383 of file APPFramework.cc.

References _executables, _modules, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const APPInputModule *const    aModule [virtual]
 

Definition at line 1373 of file APPFramework.cc.

References _executables, _modules, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const AppModule *const    aModule [virtual]
 

Definition at line 1353 of file APPFramework.cc.

References _executables, _modules, APPExecutable::name(), and APPHash< APPExecutable >::remove().

void AppFramework::remove const APPExecNode *const    aNode [virtual]
 

Definition at line 1344 of file APPFramework.cc.

References _execNodes.

Referenced by APPSequenceCommand::deleteHandler(), APPPathCommand::deleteHandler(), and AppMemento::restoreConfig().

void AppFramework::requestStop   [inline]
 

Definition at line 212 of file APPFramework.hh.

References _stopRequested.

void AppFramework::resetAppMethods bool    toThis [private]
 

Definition at line 1428 of file APPFramework.cc.

References appMethods().

Referenced by frame().

void AppFramework::resetIndent  
 

Definition at line 901 of file APPFramework.cc.

References _indentLevel.

void AppFramework::resetNodes   [private]
 

Definition at line 1438 of file APPFramework.cc.

References nodes().

Referenced by event(), frame(), and other().

APPList< APPSequence* >* AppFramework::sequences  
 

Referenced by AppFrameMemento::Dump(), AppFrameMemento::Dump_tcl(), APPSequenceCommand::fetchSeqs(), and AppMemento::load().

bool AppFramework::setAccountModule const char *const    aName
 

Definition at line 1110 of file APPFramework.cc.

References _theAccountModule, APPExecutable::APP_account, fetchModule(), AppModule::isInitialized(), APPExecutable::narrow(), result, and APPExecutable::setEnabled().

Referenced by APPModuleCommand::accountHandler(), and AppMemento::restoreFramework().

void AppFramework::setBegun bool    state
 

Definition at line 1091 of file APPFramework.cc.

References _isBegun.

Referenced by APPInputCommand::addHandler(), BdbInputCommand::addHandler(), APPModuleCommand::inputHandler(), APPInputCommand::removeHandler(), and APPInputCommand::wipeoutHandler().

bool AppFramework::setInputModule const char *const    aName
 

Definition at line 1135 of file APPFramework.cc.

References _theInputModule, APPExecutable::APP_input, fetchModule(), AppModule::isInitialized(), APPExecutable::narrow(), result, and APPExecutable::setEnabled().

Referenced by APPModuleCommand::inputHandler(), and AppMemento::restoreFramework().

bool AppFramework::setOutputModule const char *const    aName
 

Definition at line 1173 of file APPFramework.cc.

References _theOutputModule, APPExecutable::APP_output, fetchModule(), AppModule::isInitialized(), APPExecutable::narrow(), result, and APPExecutable::setEnabled().

Referenced by APPModuleCommand::outputHandler(), and AppMemento::restoreFramework().

void AppFramework::setTheAccountModule AppAccountModule   thatOne
 

Definition at line 1097 of file APPFramework.cc.

References _theAccountModule, and accountModules().

Referenced by AppBuild::add().

void AppFramework::setTheInputModule APPInputModule   thatOne
 

Definition at line 1160 of file APPFramework.cc.

References _theInputModule, and inputModules().

Referenced by AppBuild::add().

void AppFramework::setupTheApp AppUserBuild   build
 

Definition at line 1473 of file APPFramework.cc.

References _theAppUserBuild, accountModules(), actionControllers(), actions(), buildModuleList(), AppModule::disableCommands(), AppModule::enableCommands(), APPExecutable::fullReport(), inputModules(), modules(), outputModules(), and APPExecutable::partialReport().

Referenced by TCL_ONLY_AppInit().

void AppFramework::show int    argc,
char **    argv
const [virtual]
 

Reimplemented from AppModule.

Definition at line 658 of file APPFramework.cc.

References actions(), argc(), argv(), AppModule::commands(), APPExecutable::fullReport(), and APPExecutable::partialReport().

void AppFramework::skipToIndent  
 

Definition at line 921 of file APPFramework.cc.

References _indentLevel, and APPExecutable::partialReport().

Referenced by APPInputModule::report(), and APPExecutable::report().

void AppFramework::talkTo   [virtual]
 

Reimplemented from AppModule.

Definition at line 598 of file APPFramework.cc.

References _argc, _argv, _exitRequested, AppModule::disableCommands(), AppModule::enableCommands(), and endJob().

Referenced by TCL_ONLY_AppInit().

AppAccountModule* AppFramework::theAccountModule  
 

Referenced by accountEvent(), APPModuleCommand::accountHandler(), AppFrameMemento::Dump(), and AppFrameMemento::Dump_tcl().

AbsEvent * AppFramework::theEvent  
 

Definition at line 293 of file APPFramework.cc.

References AppModule::_theAbsEvent.

Referenced by TCL_ONLY_AppInit().

APPInputModule* AppFramework::theInputModule  
 

Referenced by beginJob(), continueHandler(), AppFrameMemento::Dump(), AppFrameMemento::Dump_tcl(), APPModuleCommand::inputHandler(), and APPInputModule::report().

APPOutputModule* AppFramework::theOutputModule  
 

Referenced by abortJob(), beginJob(), continueHandler(), AppFrameMemento::Dump(), AppFrameMemento::Dump_tcl(), outputEvent(), and APPModuleCommand::outputHandler().

void AppFramework::zeroTheEvent  
 

Definition at line 295 of file APPFramework.cc.

References AppModule::_theAbsEvent.


Member Data Documentation

APPList< AppAccountModule* >* AppFramework::_accountModules [private]
 

Definition at line 280 of file APPFramework.hh.

Referenced by add(), and ~AppFramework().

AppActionCommand AppFramework::_actionCmd [private]
 

Definition at line 299 of file APPFramework.hh.

APPList<AppAction*>* AppFramework::_actions [private]
 

Definition at line 307 of file APPFramework.hh.

Referenced by actions(), and ~AppFramework().

int AppFramework::_argc [private]
 

Definition at line 289 of file APPFramework.hh.

Referenced by talkTo().

char** AppFramework::_argv [private]
 

Definition at line 290 of file APPFramework.hh.

Referenced by talkTo().

APPList<AppCloneRecorder*>* AppFramework::_cloneList [private]
 

Definition at line 310 of file APPFramework.hh.

Referenced by add(), and ~AppFramework().

AppConfigCommand AppFramework::_configCmd [private]
 

Definition at line 298 of file APPFramework.hh.

APPPath* AppFramework::_defaultPath [private]
 

Definition at line 283 of file APPFramework.hh.

Referenced by add(), and remove().

APPEventsCommand AppFramework::_eventsCmd [private]
 

Definition at line 294 of file APPFramework.hh.

APPList< APPExecNode* >* AppFramework::_execNodes [private]
 

Definition at line 271 of file APPFramework.hh.

Referenced by add(), remove(), and ~AppFramework().

APPHash< APPExecutable >* AppFramework::_executables [private]
 

Definition at line 269 of file APPFramework.hh.

Referenced by add(), fetch(), fetchModule(), fetchPath(), fetchSequence(), has(), hasModule(), hasPath(), hasSequence(), remove(), and ~AppFramework().

bool AppFramework::_exitRequested [private]
 

Definition at line 267 of file APPFramework.hh.

Referenced by exit(), and talkTo().

int AppFramework::_indentLevel [private]
 

Definition at line 286 of file APPFramework.hh.

Referenced by decreaseIndent(), increaseIndent(), resetIndent(), and skipToIndent().

APPList< APPInputModule* >* AppFramework::_inputModules [private]
 

Definition at line 276 of file APPFramework.hh.

Referenced by add(), and ~AppFramework().

bool AppFramework::_isBegun [private]
 

Definition at line 285 of file APPFramework.hh.

Referenced by beginHandler(), continueHandler(), and setBegun().

APPInputModule* AppFramework::_localInputModule [private]
 

Definition at line 302 of file APPFramework.hh.

APPOutputModule* AppFramework::_localOutputModule [private]
 

Definition at line 303 of file APPFramework.hh.

size_t AppFramework::_maxNameLength [private]
 

Definition at line 287 of file APPFramework.hh.

Referenced by add(), and printName().

APPModuleCommand AppFramework::_moduleCmd [private]
 

Definition at line 295 of file APPFramework.hh.

APPList< AppModule* >* AppFramework::_modules [private]
 

Definition at line 272 of file APPFramework.hh.

Referenced by add(), remove(), and ~AppFramework().

APPList< APPOutputModule* >* AppFramework::_outputModules [private]
 

Definition at line 278 of file APPFramework.hh.

Referenced by add(), and ~AppFramework().

APPPathCommand AppFramework::_pathCmd [private]
 

Definition at line 296 of file APPFramework.hh.

APPList< APPPath* >* AppFramework::_paths [private]
 

Definition at line 273 of file APPFramework.hh.

Referenced by add(), remove(), and ~AppFramework().

APPSequenceCommand AppFramework::_sequenceCmd [private]
 

Definition at line 297 of file APPFramework.hh.

APPList< APPSequence* >* AppFramework::_sequences [private]
 

Definition at line 274 of file APPFramework.hh.

Referenced by add(), remove(), and ~AppFramework().

bool AppFramework::_stopRequested [private]
 

Definition at line 292 of file APPFramework.hh.

Referenced by continueHandler(), isStopRequested(), and requestStop().

AppAccountModule* AppFramework::_theAccountModule [private]
 

Definition at line 281 of file APPFramework.hh.

Referenced by setAccountModule(), and setTheAccountModule().

APPList<AppActionController*>* AppFramework::_theActionControllers [private]
 

Definition at line 308 of file APPFramework.hh.

Referenced by actionControllers(), and ~AppFramework().

APPList<AppMethodBase*>* AppFramework::_theAppMethodsGrabBag [private]
 

Definition at line 317 of file APPFramework.hh.

Referenced by appMethods(), and ~AppFramework().

AppUserBuild* AppFramework::_theAppUserBuild [private]
 

Definition at line 337 of file APPFramework.hh.

Referenced by appBuilder(), and setupTheApp().

AppStopType AppFramework::_theDispatchStopType = AppStopType::never_assigned [static, private]
 

Definition at line 143 of file APPFramework.cc.

Referenced by beginHandler(), and continueHandler().

AppFrame * AppFramework::_theFrame = 0 [static, private]
 

Definition at line 142 of file APPFramework.cc.

Referenced by beginHandler(), and continueHandler().

APPInputModule* AppFramework::_theInputModule [private]
 

Definition at line 277 of file APPFramework.hh.

Referenced by setInputModule(), and setTheInputModule().

APPOutputModule* AppFramework::_theOutputModule [private]
 

Definition at line 279 of file APPFramework.hh.

Referenced by setOutputModule().


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

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002