NCBI C++ ToolKit
|
Search Toolkit Book for CHookData
#include <serial/impl/hookdata.hpp>
Public Types | |
typedef Hook | THook |
typedef Function | TFunction |
typedef CLocalHookSet< THook > | TLocalHooks |
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) |
THook * | GetHook (const TLocalHooks &key) const |
THook * | GetPathHook (CObjectStack &stk) const |
![]() | |
CHookDataBase (void) | |
~CHookDataBase (void) | |
bool | HaveHooks (void) const |
Protected Member Functions | |
void | x_SetCurrentFunction (TFunction func) |
void | x_SetCurrentFunction () |
![]() | |
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) |
THook * | GetHook (const TLocalHooks &key) const |
THook * | GetPathHook (CObjectStack &stk) const |
Private Types | |
typedef CHookDataBase | CParent |
Private Attributes | |
atomic< TFunction > | m_CurrentFunction |
TFunction | m_DefaultFunction |
TFunction | m_HookFunction |
Additional Inherited Members | |
![]() | |
typedef CLocalHookSetBase | TLocalHooks |
typedef CObject | THook |
Definition at line 108 of file hookdata.hpp.