LMMS
Loading...
Searching...
No Matches
CimfPlayer Class Reference

#include <imf.h>

Inheritance diagram for CimfPlayer:
CPlayer

Classes

struct  Sdata

Public Member Functions

 CimfPlayer (Copl *newopl)
 ~CimfPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
std::string gettitle ()
std::string getauthor ()
std::string getdesc ()
Public Member Functions inherited from CPlayer
 CPlayer (Copl *newopl)
virtual ~CPlayer ()
void seek (unsigned long ms)
unsigned long songlength (int subsong=-1)
virtual unsigned int getpatterns ()
virtual unsigned int getpattern ()
virtual unsigned int getorders ()
virtual unsigned int getorder ()
virtual unsigned int getrow ()
virtual unsigned int getspeed ()
virtual unsigned int getsubsongs ()
virtual unsigned int getsubsong ()
virtual unsigned int getinstruments ()
virtual std::string getinstrument (unsigned int n)

Static Public Member Functions

static CPlayerfactory (Copl *newopl)

Protected Attributes

unsigned long pos
unsigned long size
unsigned short del
bool songend
float rate
float timer
char * footer
std::string track_name
std::string game_name
std::string author_name
std::string remarks
struct CimfPlayer::Sdatadata
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Private Member Functions

float getrate (const std::string &filename, const CFileProvider &fp, binistream *f)

Additional Inherited Members

Static Protected Attributes inherited from CPlayer
static const unsigned short note_table [12]
static const unsigned char op_table [9]

Constructor & Destructor Documentation

◆ CimfPlayer()

CimfPlayer::CimfPlayer ( Copl * newopl)
inline

◆ ~CimfPlayer()

CimfPlayer::~CimfPlayer ( )
inline

Member Function Documentation

◆ factory()

CPlayer * CimfPlayer::factory ( Copl * newopl)
static

◆ getauthor()

std::string CimfPlayer::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getdesc()

std::string CimfPlayer::getdesc ( )
virtual

Reimplemented from CPlayer.

◆ getrate()

float CimfPlayer::getrate ( const std::string & filename,
const CFileProvider & fp,
binistream * f )
private

◆ getrefresh()

float CimfPlayer::getrefresh ( )
inlinevirtual

Implements CPlayer.

◆ gettitle()

std::string CimfPlayer::gettitle ( )
virtual

Reimplemented from CPlayer.

◆ gettype()

std::string CimfPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

bool CimfPlayer::load ( const std::string & filename,
const CFileProvider & fp )
virtual

Implements CPlayer.

◆ rewind()

void CimfPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CimfPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ author_name

std::string CimfPlayer::author_name
protected

◆ data

struct CimfPlayer::Sdata * CimfPlayer::data
protected

◆ del

unsigned short CimfPlayer::del
protected

◆ footer

char* CimfPlayer::footer
protected

◆ game_name

std::string CimfPlayer::game_name
protected

◆ pos

unsigned long CimfPlayer::pos
protected

◆ rate

float CimfPlayer::rate
protected

◆ remarks

std::string CimfPlayer::remarks
protected

◆ size

unsigned long CimfPlayer::size
protected

◆ songend

bool CimfPlayer::songend
protected

◆ timer

float CimfPlayer::timer
protected

◆ track_name

std::string CimfPlayer::track_name
protected

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