Manipulate the Tool classes, give them correct MSGTool inside NAGASH::Job.
More...
#include "NAGASH/Toolkit.h"
|
| Toolkit ()=delete |
|
| Toolkit (std::shared_ptr< MSGTool > MSG) |
| Constructor.
|
|
template<typename T , typename... Args> |
std::shared_ptr< T > | GetTool (Args &&...args) |
| Create a new tool with the MSGTool inside.
|
|
Manipulate the Tool classes, give them correct MSGTool inside NAGASH::Job.
Definition at line 16 of file Toolkit.h.
◆ Toolkit() [1/2]
NAGASH::Toolkit::Toolkit |
( |
std::shared_ptr< MSGTool > |
MSG | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 21 of file Toolkit.h.
◆ Toolkit() [2/2]
NAGASH::Toolkit::Toolkit |
( |
| ) |
|
|
delete |
◆ GetTool()
template<typename T , typename... Args>
std::shared_ptr< T > NAGASH::Toolkit::GetTool |
( |
Args &&... |
args | ) |
|
|
inline |
Create a new tool with the MSGTool inside.
- Template Parameters
-
T | type of the tool. |
...Args | type of other arguments passed to the constructor of T. |
- Parameters
-
...args | arguments passed to the constructor of T. |
- Returns
- the created tool.
Definition at line 37 of file Toolkit.h.
◆ msg
std::shared_ptr<MSGTool> NAGASH::Toolkit::msg |
|
private |
The documentation for this class was generated from the following file: