#include <Hook.h>
Onikiri::HookPoint< CallerT, ParamT >のコラボレーション図
Public 型 | |
typedef CallerT | CallerType |
typedef HookParameter< CallerType, ParameterType > | HookParameterType |
typedef ParamT | ParameterType |
Public メソッド | |
int | CountAround () |
bool | HasAround () |
HookPoint () | |
INLINE bool | IsAnyHookRegistered () |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithRawParam< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithOpAndRawParam< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithCallerAndRawParam< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithCallerAndOp< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithCaller< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithOp< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithSeparateParam< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunctionWithParam< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
template<typename T> | |
void | Register (T *object, typename HookFunction< T >::FuncType func, int priority, HookType::Type hookType=HookType::HOOK_AFTER) |
void | Trigger (CallerType *caller, HookType::Type hookType) |
void | Trigger (CallerType *caller, ParameterType *parameter, HookType::Type hookType) |
void | Trigger (OpIterator opIterator, CallerType *caller, HookType::Type hookType) |
void | Trigger (OpIterator opIterator, CallerType *caller, ParameterType *parameter, HookType::Type hookType) |
virtual | ~HookPoint () |
構成 | |
struct | ComparePriority |
class | HookFunction |
class | HookFunctionBase |
class | HookFunctionWithCaller |
class | HookFunctionWithCallerAndOp |
class | HookFunctionWithCallerAndRawParam |
class | HookFunctionWithOp |
class | HookFunctionWithOpAndRawParam |
class | HookFunctionWithParam |
class | HookFunctionWithRawParam |
class | HookFunctionWithSeparateParam |
typedef CallerT Onikiri::HookPoint< CallerT, ParamT >::CallerType |
typedef HookParameter<CallerType, ParameterType> Onikiri::HookPoint< CallerT, ParamT >::HookParameterType |
typedef ParamT Onikiri::HookPoint< CallerT, ParamT >::ParameterType |
Onikiri::HookPoint< CallerT, ParamT >::HookPoint | ( | ) | [inline] |
virtual Onikiri::HookPoint< CallerT, ParamT >::~HookPoint | ( | ) | [inline, virtual] |
int Onikiri::HookPoint< CallerT, ParamT >::CountAround | ( | ) | [inline] |
bool Onikiri::HookPoint< CallerT, ParamT >::HasAround | ( | ) | [inline] |
参照元 Onikiri::HookSectionAfter()・Onikiri::HookSectionBefore().
Here is the caller graph for this function:
INLINE bool Onikiri::HookPoint< CallerT, ParamT >::IsAnyHookRegistered | ( | ) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithRawParam< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithOpAndRawParam< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithCallerAndRawParam< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithCallerAndOp< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithCaller< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithOp< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithSeparateParam< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunctionWithParam< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Register | ( | T * | object, | |
typename HookFunction< T >::FuncType | func, | |||
int | priority, | |||
HookType::Type | hookType = HookType::HOOK_AFTER | |||
) | [inline] |
参照元 Onikiri::HookPoint< Onikiri::SimulationSystem, Onikiri::SimulationSystem >::Register().
00384 { 00385 Register(GetHookFunction(hookType), new HookFunction<T>(object, func), priority); 00386 }
Here is the caller graph for this function:
void Onikiri::HookPoint< CallerT, ParamT >::Trigger | ( | CallerType * | caller, | |
HookType::Type | hookType | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Trigger | ( | CallerType * | caller, | |
ParameterType * | parameter, | |||
HookType::Type | hookType | |||
) | [inline] |
00358 { 00359 if( !IsHookExists(hookType) ) 00360 return; 00361 00362 HookParameterType hookParameter( OpIterator(0), caller, parameter ); 00363 Trigger( GetHookFunction(hookType), &hookParameter ); 00364 }
void Onikiri::HookPoint< CallerT, ParamT >::Trigger | ( | OpIterator | opIterator, | |
CallerType * | caller, | |||
HookType::Type | hookType | |||
) | [inline] |
void Onikiri::HookPoint< CallerT, ParamT >::Trigger | ( | OpIterator | opIterator, | |
CallerType * | caller, | |||
ParameterType * | parameter, | |||
HookType::Type | hookType | |||
) | [inline] |
参照元 Onikiri::HookSectionAfter()・Onikiri::HookSectionBefore()・Onikiri::HookPoint< Onikiri::SimulationSystem, Onikiri::SimulationSystem >::Trigger().
00340 { 00341 if( !IsHookExists(hookType) ) 00342 return; 00343 00344 HookParameterType hookParameter( opIterator, caller, parameter ); 00345 Trigger( GetHookFunction(hookType), &hookParameter ); 00346 }
Here is the caller graph for this function: