added singleton getInstance documentation

This commit is contained in:
black
2025-07-06 15:25:23 +02:00
parent 06af1ed6c6
commit 5e45b71b8e
8 changed files with 385 additions and 0 deletions

View File

@@ -21,6 +21,11 @@ public:
Manager &operator=(const Manager &&) = delete;
~Manager() = default;
/**
*
* @param program_path Der Pfad zur .txt Quelldatei des Programmes
* @return Manager Instanz
*/
static Manager *getInstance(const std::string &program_path);

View File

@@ -28,6 +28,10 @@ public:
Memory &operator=(const Memory &&) = delete;
~Memory() = default;
/**
*
* @return Memory Instanz
*/
static Memory *getInstance();
/**

View File

@@ -28,6 +28,10 @@ public:
Register& operator=(const Register &&) = delete;
~Register() = default;
/**
*
* @return Register Instanz
*/
static Register& getInstance();
/**

View File

@@ -21,6 +21,10 @@ public:
CommandParser& operator=(const CommandParser&&) = delete;
~CommandParser() = default;
/**
*
* @return CommandParser Instanz
*/
static CommandParser& getInstance();
/**