Leviathan  0.8.0.0
Leviathan game engine
Leviathan::BaseDelegateSlot Class Referenceabstract

Base class for all delegate types. More...

#include <DelegateSlot.h>

+ Inheritance diagram for Leviathan::BaseDelegateSlot:

Public Member Functions

virtual void OnCalled (const NamedVars::pointer &values)=0
 Called from Delegate::Call. More...
 
 REFERENCE_COUNTED_PTR_TYPE (BaseDelegateSlot)
 
- Public Member Functions inherited from Leviathan::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &other)=delete
 
ReferenceCountedoperator= (const ReferenceCounted &other)=delete
 
FORCE_INLINE void AddRef ()
 
FORCE_INLINE void Release ()
 removes a reference and deletes the object if reference count reaches zero More...
 
int32_t GetRefCount () const
 Returns the reference count. More...
 

Additional Inherited Members

- Public Types inherited from Leviathan::ReferenceCounted
using basepointer = boost::intrusive_ptr< ReferenceCounted >
 
using refcountedpointer = boost::intrusive_ptr< ReferenceCounted >
 
- Static Public Member Functions inherited from Leviathan::ReferenceCounted
template<class ActualType >
static boost::intrusive_ptr< ActualType > WrapPtr (ActualType *ptr)
 Creates an intrusive_ptr from raw pointer. More...
 
template<class ActualType , class... Args>
static boost::intrusive_ptr< ActualType > MakeShared (Args &&... args)
 Constructs a new instance and wraps it. More...
 
- Protected Member Functions inherited from Leviathan::ReferenceCounted
DLLEXPORT ReferenceCounted ()
 
virtual DLLEXPORT ~ReferenceCounted ()
 

Detailed Description

Base class for all delegate types.

Definition at line 14 of file DelegateSlot.h.

Member Function Documentation

◆ OnCalled()

virtual void Leviathan::BaseDelegateSlot::OnCalled ( const NamedVars::pointer &  values)
pure virtual

◆ REFERENCE_COUNTED_PTR_TYPE()

Leviathan::BaseDelegateSlot::REFERENCE_COUNTED_PTR_TYPE ( BaseDelegateSlot  )

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