cohtml::EventHandler
#include <EventHandler.h>
Inherits from cohtml::IEventHandler, cohtml::ThisHolder< FunctorTraits< Functor >::IsMember >
Public Types
Section titled “Public Types”| Name | |
|---|---|
| typedef FunctorTraits< Functor > | Traits |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| EventHandler(Functor functor) | |
| virtual void | Invoke(ArgumentsBinder * binder) Invoke the handler using the provided arguments binder. |
| virtual void | SetTarget(void * target) Set the current invocation target. |
| virtual const void * | GetTarget() Retrieve the current invocation target. |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from cohtml::IEventHandler
| Name | |
|---|---|
| virtual | ~IEventHandler() |
| void *COHERENT_CDECL | operator new(size_t bytes) |
| void COHERENT_CDECL | operator delete(void * memory) |
| void *COHERENT_CDECL | operator new[](size_t bytes) |
| void COHERENT_CDECL | operator delete[](void * memory) |
Public Functions inherited from cohtml::ThisHolder< FunctorTraits< Functor >::IsMember >
| Name | |
|---|---|
| void | SetObject(void * ) |
Detailed Description
Section titled “Detailed Description”template <typename Functor >class cohtml::EventHandler;Public Types Documentation
Section titled “Public Types Documentation”typedef Traits
Section titled “typedef Traits”typedef FunctorTraits<Functor> cohtml::EventHandler< Functor >::Traits;Public Functions Documentation
Section titled “Public Functions Documentation”function EventHandler
Section titled “function EventHandler”inline EventHandler( Functor functor)function Invoke
Section titled “function Invoke”inline virtual void Invoke( ArgumentsBinder * binder)Invoke the handler using the provided arguments binder.
Parameters:
- binder Binder used to read arguments and write return values
Reimplements: cohtml::IEventHandler::Invoke
function SetTarget
Section titled “function SetTarget”inline virtual void SetTarget( void * target)Set the current invocation target.
Parameters:
- target Pointer to the target object for the upcoming invocation
Reimplements: cohtml::IEventHandler::SetTarget
function GetTarget
Section titled “function GetTarget”inline virtual const void * GetTarget()Retrieve the current invocation target.
Return: Pointer to the current target object
Reimplements: cohtml::IEventHandler::GetTarget
© 2026 Coherent Labs. All rights reserved.