Dakota  Version 7.0
Explore and Predict with Confidence
Public Member Functions | Private Member Functions | Private Attributes | List of all members
StudyServices Class Reference

Shared ambient services used by DI/library-mode study components. More...

Public Member Functions

 StudyServices ()
 Construct a coherent default library-mode service bundle.
 
 StudyServices (std::shared_ptr< ParallelLibrary > parallel_lib, std::shared_ptr< OutputManager > output_mgr=nullptr, std::shared_ptr< RunOptions > run_options=nullptr)
 Construct from supplied services, filling only service-level gaps.
 
 StudyServices (const StudyServices &)=delete
 
StudyServices & operator= (const StudyServices &)=delete
 
ParallelLibrary * parallel_library_ptr () const
 
OutputManager * output_manager_ptr () const
 
RunOptions * run_options_ptr () const
 
std::shared_ptr< ParallelLibrary > parallel_library_shared () const
 
std::shared_ptr< OutputManager > output_manager_shared () const
 
std::shared_ptr< RunOptions > run_options_shared () const
 

Private Member Functions

void initialize_owned_runtime (std::shared_ptr< OutputManager > output_mgr, std::shared_ptr< RunOptions > run_options)
 

Private Attributes

std::shared_ptr< MPIManager > mpiManager
 
std::shared_ptr< ProgramOptions > programOptions
 
std::shared_ptr< OutputManager > outputManager
 
std::shared_ptr< ParallelLibrary > parallelLibrary
 
std::shared_ptr< RunOptions > runOptions
 
bool outputTagActive = false
 

Detailed Description

Shared ambient services used by DI/library-mode study components.


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