class mola::MinimalModuleContainer

Overview

A minimal MOLA application container, for use programatically when it is not advisable to use the mola-cli application.

This implements basic discoverability and visibility between modules.

#include <MinimalModuleContainer.h>

class MinimalModuleContainer
{
public:
    // construction

    MinimalModuleContainer();
    MinimalModuleContainer(const std::vector<mola::ExecutableBase::Ptr>& mods);

    // methods

    void add(const mola::ExecutableBase::Ptr& m);
    const auto& modules() const;
};