ScummVM API documentation
hpl::iVideoStream Class Referenceabstract
Inheritance diagram for hpl::iVideoStream:
hpl::iResourceBase

Public Member Functions

 iVideoStream (tString asName)
 
virtual bool LoadFromFile (tString asFilePath)=0
 
virtual void Update (float afTimeStep)=0
 
virtual void Play ()=0
 
virtual void Stop ()=0
 
virtual void Pause (bool abX)=0
 
virtual bool IsPaused ()=0
 
virtual void SetLoop (bool abX)=0
 
virtual bool IsLooping ()=0
 
virtual void CopyToTexture (iTexture *apTexture)=0
 
const tStringGetFileName ()
 
const cVector2lGetSize ()
 
bool reload ()
 
void unload ()
 
void destroy ()
 
- Public Member Functions inherited from hpl::iResourceBase
 iResourceBase (tString asName, unsigned long alPrio)
 
tString GetName ()
 
unsigned long GetHandle ()
 
void SetHandle (unsigned long alHandle)
 
tString GetFilePath ()
 
unsigned long GetTime ()
 
unsigned long GetPrio ()
 
unsigned long GetSize ()
 
void SetLogDestruction (bool abX)
 
unsigned int GetUserCount ()
 
void IncUserCount ()
 
void DecUserCount ()
 
bool HasUsers ()
 

Protected Attributes

tString msFilePath
 
cVector2l mvSize
 
- Protected Attributes inherited from hpl::iResourceBase
unsigned int mlPrio
 
unsigned long mlTime
 
unsigned long mlSize
 
unsigned int mlUserCount
 
unsigned long mlHandle
 
tString msName
 
tString msFilePath
 
bool mbLogDestruction
 

Additional Inherited Members

- Static Public Member Functions inherited from hpl::iResourceBase
static bool GetLogCreateAndDelete ()
 
static void SetLogCreateAndDelete (bool abX)
 
- Static Protected Attributes inherited from hpl::iResourceBase
static bool mbLogCreateAndDelete
 

Member Function Documentation

◆ reload()

bool hpl::iVideoStream::reload ( )
inlinevirtual

virtual bool Reload()=0;

Returns
true is reload was succesful, else false.

Implements hpl::iResourceBase.

◆ unload()

void hpl::iVideoStream::unload ( )
inlinevirtual

Free most the memory, save info to get started again.

Implements hpl::iResourceBase.

◆ destroy()

void hpl::iVideoStream::destroy ( )
inlinevirtual

Free all memory.

Implements hpl::iResourceBase.


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