NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
NAGASH::Toolkit Class Reference

Manipulate the Tool classes, give them correct MSGTool inside NAGASH::Job. More...

#include "NAGASH/Toolkit.h"

Public Member Functions

 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.
 

Private Attributes

std::shared_ptr< MSGToolmsg
 

Detailed Description

Manipulate the Tool classes, give them correct MSGTool inside NAGASH::Job.

Definition at line 16 of file Toolkit.h.

Constructor & Destructor Documentation

◆ Toolkit() [1/2]

NAGASH::Toolkit::Toolkit ( std::shared_ptr< MSGTool MSG)
inline

Constructor.

Parameters
MSGthe input MSGTool.

Definition at line 21 of file Toolkit.h.

◆ Toolkit() [2/2]

NAGASH::Toolkit::Toolkit ( )
delete

Member Function Documentation

◆ 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
Ttype of the tool.
...Argstype of other arguments passed to the constructor of T.
Parameters
...argsarguments passed to the constructor of T.
Returns
the created tool.

Definition at line 37 of file Toolkit.h.

Member Data Documentation

◆ msg

std::shared_ptr<MSGTool> NAGASH::Toolkit::msg
private

Definition at line 28 of file Toolkit.h.


The documentation for this class was generated from the following file: