Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
Public Member Functions | List of all members
Sharp::EventHandlerImplForNonMemberFunction< void > Class Template Reference

#include <Event.hpp>

Inheritance diagram for Sharp::EventHandlerImplForNonMemberFunction< void >:
Sharp::EventHandlerImpl< void > Sharp::EventHandlerImplBase< void >

Public Member Functions

 EventHandlerImplForNonMemberFunction (void(*functionToCall)())
 
virtual void OnEvent ()
 
virtual bool IsBindedToSameFunctionAs (EventHandlerImplBase< void > *pHandler2)
 
- Public Member Functions inherited from Sharp::EventHandlerImplBase< void >
 EventHandlerImplBase ()
 
virtual ~EventHandlerImplBase ()
 
bool IsSametype (EventHandlerImplBase< void > *pHandler2)
 

Detailed Description

template<>
class Sharp::EventHandlerImplForNonMemberFunction< void >

A handler non-member void function calls

Definition at line 200 of file Event.hpp.

Constructor & Destructor Documentation

Saves the passed function for use later when an event is raised

Definition at line 204 of file Event.hpp.

Member Function Documentation

virtual bool Sharp::EventHandlerImplForNonMemberFunction< void >::IsBindedToSameFunctionAs ( EventHandlerImplBase< void > *  pHandler2)
inlinevirtual

verify if this handler will eventually call the same function as the passed handler.

Implements Sharp::EventHandlerImplBase< void >.

Definition at line 216 of file Event.hpp.

virtual void Sharp::EventHandlerImplForNonMemberFunction< void >::OnEvent ( )
inlinevirtual

will be called eventually when an Event is raised

Implements Sharp::EventHandlerImpl< void >.

Definition at line 210 of file Event.hpp.


The documentation for this class was generated from the following file: