Leviathan  0.8.0.0
Leviathan game engine
Leviathan::AnimationTrack Class Reference

#include <AnimationTrack.h>

+ Inheritance diagram for Leviathan::AnimationTrack:

Public Member Functions

 REFERENCE_COUNTED_PTR_TYPE (AnimationTrack)
 
bs::HAnimationClip GetInternal ()
 
- Public Member Functions inherited from Leviathan::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &other)=delete
 
ReferenceCountedoperator= (const ReferenceCounted &other)=delete
 
FORCE_INLINE void AddRef () const
 
FORCE_INLINE void Release () const
 removes a reference and deletes the object if reference count reaches zero More...
 
FORCE_INLINE void AddRef ()
 
FORCE_INLINE void Release ()
 
int32_t GetRefCount () const
 Returns the reference count. More...
 

Protected Member Functions

DLLEXPORT AnimationTrack (const bs::HAnimationClip &clip)
 
- Protected Member Functions inherited from Leviathan::ReferenceCounted
DLLEXPORT ReferenceCounted ()
 
virtual DLLEXPORT ~ReferenceCounted ()
 

Protected Attributes

friend ReferenceCounted
 

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...
 

Detailed Description

Definition at line 12 of file AnimationTrack.h.

Constructor & Destructor Documentation

◆ AnimationTrack()

DLLEXPORT AnimationTrack::AnimationTrack ( const bs::HAnimationClip &  clip)
protected

Definition at line 7 of file AnimationTrack.cpp.

7 : BsClip(clip) {}

Member Function Documentation

◆ GetInternal()

bs::HAnimationClip Leviathan::AnimationTrack::GetInternal ( )
inline

Definition at line 23 of file AnimationTrack.h.

24  {
25  return BsClip;
26  }

◆ REFERENCE_COUNTED_PTR_TYPE()

Leviathan::AnimationTrack::REFERENCE_COUNTED_PTR_TYPE ( AnimationTrack  )

Member Data Documentation

◆ ReferenceCounted

friend Leviathan::AnimationTrack::ReferenceCounted
protected

Definition at line 16 of file AnimationTrack.h.


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