//-------------------------------------------------------------------------- // File and Version Information: // AppUserBuild.cc, v1.1 1996/02/19 06:17:12 jake Exp // // Description: // Class AppUserBuild. This class must be provided by the user of // the framework in order to build an application. It must define // the modules that are to form the basis of the application. // // Environment: // Software developed for the BaBar Detector at the SLAC B-Factory. // // Author List: // David R. Quarrie Original Author // // Copyright Information: // Copyright (C) 1994 Lawrence Berkeley Laboratory // //------------------------------------------------------------------------ //----------------------- // This Class's Header -- //----------------------- #include "Framework/APPUserBuild.hh" //------------------------------- // Collaborating Class Headers -- //------------------------------- #include "FrameMods/XXXDiskFileInputModule.hh" #include "Level3Mods/HelloWorld.hh" #include "FrameMods/addCDFrequiredModules.hh" //----------------------------------------------------------------------- // Local Macros, Typedefs, Structures, Unions and Forward Declarations -- //----------------------------------------------------------------------- static const char rcsid[] = "AppUserBuild.cc,v 1.6 1996/02/19 06:17:12 jake Exp"; //---------------- // Constructors -- //---------------- AppUserBuild::AppUserBuild( AppFramework* theFramework ) : AppBuild( theFramework ) { addCDFrequiredModules(this); APPInputModule* anInputModule; anInputModule = new XXXDiskFileInputModule( ); add( anInputModule ); AppModule* aModule; aModule = new HelloWorld("HelloWorld","HelloWorld module" ); add( aModule ); } //-------------- // Destructor -- //-------------- AppUserBuild::~AppUserBuild( ) { }