NCBI C++ ToolKit
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
CNcbiActionGuard Class Reference

Search Toolkit Book for CNcbiActionGuard

CNcbiActionGuard class Executes registered callbacks on request or on destruction. More...

#include <corelib/ncbimisc.hpp>

Classes

class  CAction
 
class  CAction_Base
 

Public Member Functions

 CNcbiActionGuard (void)
 
virtual ~CNcbiActionGuard (void)
 
template<class TFunc >
void AddAction (TFunc func)
 
void ExecuteActions (void)
 

Private Types

typedef list< unique_ptr< CAction_Base > > TActions
 

Private Member Functions

 CNcbiActionGuard (const CNcbiActionGuard &)
 
CNcbiActionGuardoperator= (const CNcbiActionGuard &)
 

Private Attributes

TActions m_Actions
 

Detailed Description

CNcbiActionGuard class Executes registered callbacks on request or on destruction.

Examples
/home/coremake/doxygen/cxx/include/corelib/ncbimisc.hpp.

Definition at line 1386 of file ncbimisc.hpp.


The documentation for this class was generated from the following file:
Modified on Sun Apr 14 05:28:23 2024 by modify_doxy.py rev. 669887