OpenBarnyard
 
Loading...
Searching...
No Matches
AKeyframeLibStreamJob Class Reference

#include <AKeyframeLibStreamJob.h>

Inheritance diagram for AKeyframeLibStreamJob:

Public Member Functions

 AKeyframeLibStreamJob ()
 
virtual void Process () override
 
void Init (const TCHAR *a_szFileName)
 
Toshi::TKeyframeLibrary * GetLibrary () const
 
const TCHARGetName () const
 

Detailed Description

Definition at line 7 of file AKeyframeLibStreamJob.h.

Constructor & Destructor Documentation

◆ AKeyframeLibStreamJob()

AKeyframeLibStreamJob::AKeyframeLibStreamJob ( )

Definition at line 14 of file AKeyframeLibStreamJob.cpp.

15 : TFileStreamJob( TNULL )
16{
17 m_pLibrary = TNULL;
18 m_szName[ 0 ] = '\0';
19}
#define TNULL
Definition Typedefs.h:23

Member Function Documentation

◆ GetLibrary()

Toshi::TKeyframeLibrary * AKeyframeLibStreamJob::GetLibrary ( ) const
inline

Definition at line 15 of file AKeyframeLibStreamJob.h.

15{ return m_pLibrary; }

◆ GetName()

const TCHAR * AKeyframeLibStreamJob::GetName ( ) const
inline

Definition at line 16 of file AKeyframeLibStreamJob.h.

16{ return m_szName; }

◆ Init()

void AKeyframeLibStreamJob::Init ( const TCHAR * a_szFileName)

Definition at line 29 of file AKeyframeLibStreamJob.cpp.

30{
32 m_szName,
33 a_szFileName,
34 TMath::Min( TStringManager::String8Length( a_szFileName ), sizeof( m_szName ) )
35 );
36}
TFORCEINLINE const T & Min(const T &a, const T &b)
static TSIZE String8Length(const TCHAR *str)
static TCHAR * String8Copy(TCHAR *dst, const TCHAR *src, TSIZE size=-1)

◆ Process()

void AKeyframeLibStreamJob::Process ( )
overridevirtual

Definition at line 21 of file AKeyframeLibStreamJob.cpp.

22{
23 m_pLibrary = TNULL;
25 m_szName[ 0 ] = '\0';
26 m_pLibrary = pLibrary;
27}
TKeyframeLibrary * LoadLibrary(const TCHAR *a_szFilePath)
TKeyframeLibraryManager & GetKeyframeLibraryManager()
static TFORCEINLINE TRenderInterface * GetSingleton()
Definition TSingleton.h:49

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