added singleton getInstance documentation
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
@@ -28,6 +28,10 @@ public:
|
||||
Memory &operator=(const Memory &&) = delete;
|
||||
~Memory() = default;
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Memory Instanz
|
||||
*/
|
||||
static Memory *getInstance();
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,6 +28,10 @@ public:
|
||||
Register& operator=(const Register &&) = delete;
|
||||
~Register() = default;
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Register Instanz
|
||||
*/
|
||||
static Register& getInstance();
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,10 @@ public:
|
||||
CommandParser& operator=(const CommandParser&&) = delete;
|
||||
~CommandParser() = default;
|
||||
|
||||
/**
|
||||
*
|
||||
* @return CommandParser Instanz
|
||||
*/
|
||||
static CommandParser& getInstance();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user