NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
CHookData< Hook, Function > Class Template Reference

Search Toolkit Book for CHookData

#include <serial/impl/hookdata.hpp>

+ Inheritance diagram for CHookData< Hook, Function >:
+ Collaboration diagram for CHookData< Hook, Function >:

Public Types

typedef Hook THook
 
typedef Function TFunction
 
typedef CLocalHookSet< THookTLocalHooks
 

Public Member Functions

 CHookData (TFunction typeFunction, TFunction hookFunction)
 
TFunction GetCurrentFunction (void) const
 
TFunction GetDefaultFunction (void) const
 
void SetDefaultFunction (TFunction func)
 
void SetLocalHook (TLocalHooks &key, THook *hook)
 
void SetGlobalHook (THook *hook)
 
void SetPathHook (CObjectStack *stk, const string &path, THook *hook)
 
void ResetLocalHook (TLocalHooks &key)
 
void ResetGlobalHook (void)
 
void ResetPathHook (CObjectStack *stk, const string &path)
 
THookGetHook (const TLocalHooks &key) const
 
THookGetPathHook (CObjectStack &stk) const
 
- Public Member Functions inherited from CHookDataBase
 CHookDataBase (void)
 
 ~CHookDataBase (void)
 
bool HaveHooks (void) const
 

Protected Member Functions

void x_SetCurrentFunction (TFunction func)
 
void x_SetCurrentFunction ()
 
- Protected Member Functions inherited from CHookDataBase
bool Empty (void) const
 
void SetLocalHook (TLocalHooks &key, THook *hook)
 
void SetGlobalHook (THook *hook)
 
void SetPathHook (CObjectStack *stk, const string &path, THook *hook)
 
void ResetLocalHook (TLocalHooks &key)
 
void ResetGlobalHook (void)
 
void ResetPathHook (CObjectStack *stk, const string &path)
 
void ForgetLocalHook (TLocalHooks &key)
 
THookGetHook (const TLocalHooks &key) const
 
THookGetPathHook (CObjectStack &stk) const
 

Private Types

typedef CHookDataBase CParent
 

Private Attributes

atomic< TFunctionm_CurrentFunction
 
TFunction m_DefaultFunction
 
TFunction m_HookFunction
 

Additional Inherited Members

- Protected Types inherited from CHookDataBase
typedef CLocalHookSetBase TLocalHooks
 
typedef CObject THook
 

Detailed Description

template<class Hook, typename Function>
class CHookData< Hook, Function >

Definition at line 108 of file hookdata.hpp.


The documentation for this class was generated from the following file:
Modified on Tue May 28 05:51:56 2024 by modify_doxy.py rev. 669887