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

Used to call MSGTool::EndTitle() automatically. More...

#include <MSGTool.h>

Public Member Functions

 MSGTitleGuard ()=delete
 
 MSGTitleGuard (const MSGTitleGuard &)=delete
 
 MSGTitleGuard (MSGTitleGuard &&)=delete
 
 ~MSGTitleGuard ()
 
MSGTitleGuardoperator= (const MSGTitleGuard &)=delete
 
MSGTitleGuardoperator= (MSGTitleGuard &&)=delete
 

Private Member Functions

 MSGTitleGuard (std::shared_ptr< MSGTool > tempmsg)
 

Private Attributes

std::shared_ptr< MSGToolmsg
 

Friends

class MSGTool
 

Detailed Description

Used to call MSGTool::EndTitle() automatically.

When you must call MSGTool::StartTitleWithGuard like

{c++}
auto titleguard = MSGUser()->StartTitleWithGuard();

the EndTitle() will be called automatically when titleguard destructed.

Definition at line 98 of file MSGTool.h.

Constructor & Destructor Documentation

◆ MSGTitleGuard() [1/4]

NAGASH::MSGTool::MSGTitleGuard::MSGTitleGuard ( std::shared_ptr< MSGTool tempmsg)
inlineprivate

Definition at line 103 of file MSGTool.h.

◆ MSGTitleGuard() [2/4]

NAGASH::MSGTool::MSGTitleGuard::MSGTitleGuard ( )
delete

◆ MSGTitleGuard() [3/4]

NAGASH::MSGTool::MSGTitleGuard::MSGTitleGuard ( const MSGTitleGuard )
delete

◆ MSGTitleGuard() [4/4]

NAGASH::MSGTool::MSGTitleGuard::MSGTitleGuard ( MSGTitleGuard &&  )
delete

◆ ~MSGTitleGuard()

NAGASH::MSGTool::MSGTitleGuard::~MSGTitleGuard ( )
inline

Definition at line 113 of file MSGTool.h.

Member Function Documentation

◆ operator=() [1/2]

MSGTitleGuard & NAGASH::MSGTool::MSGTitleGuard::operator= ( const MSGTitleGuard )
delete

◆ operator=() [2/2]

MSGTitleGuard & NAGASH::MSGTool::MSGTitleGuard::operator= ( MSGTitleGuard &&  )
delete

Friends And Related Symbol Documentation

◆ MSGTool

friend class MSGTool
friend

Definition at line 100 of file MSGTool.h.

Member Data Documentation

◆ msg

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

Definition at line 104 of file MSGTool.h.


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