2024-02-25 14:46:47 +00:00
|
|
|
#pragma once
|
2023-06-20 04:33:09 +00:00
|
|
|
|
|
|
|
#include "StarJson.hpp"
|
|
|
|
|
|
|
|
namespace Star {
|
|
|
|
|
|
|
|
STAR_EXCEPTION(StagehandDatabaseException, StarException);
|
|
|
|
|
|
|
|
STAR_CLASS(Stagehand);
|
|
|
|
|
|
|
|
STAR_CLASS(StagehandDatabase);
|
|
|
|
|
|
|
|
class StagehandDatabase {
|
|
|
|
public:
|
|
|
|
StagehandDatabase();
|
|
|
|
|
|
|
|
StagehandPtr createStagehand(String const& stagehandType, Json const& extraConfig = Json()) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
StringMap<Json> m_stagehandTypes;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|