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

#include <raw.h>

Inheritance diagram for CrawPlayer:
CPlayer

Classes

struct  Tdata

Public Member Functions

 CrawPlayer (Copl *newopl)
 ~CrawPlayer ()
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

struct CrawPlayer::Tdatadata
unsigned long pos
unsigned long length
unsigned short clock
unsigned short speed
unsigned char del
bool songend
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

Private Attributes

char title [40]
char author [60]
char desc [1023]

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

◆ CrawPlayer()

CrawPlayer::CrawPlayer ( Copl * newopl)
inline

◆ ~CrawPlayer()

CrawPlayer::~CrawPlayer ( )
inline

Member Function Documentation

◆ factory()

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

◆ getauthor()

std::string CrawPlayer::getauthor ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getdesc()

std::string CrawPlayer::getdesc ( )
inlinevirtual

Reimplemented from CPlayer.

◆ getrefresh()

float CrawPlayer::getrefresh ( )
virtual

Implements CPlayer.

◆ gettitle()

std::string CrawPlayer::gettitle ( )
inlinevirtual

Reimplemented from CPlayer.

◆ gettype()

std::string CrawPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

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

Implements CPlayer.

◆ rewind()

void CrawPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CrawPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ author

char CrawPlayer::author[60]
private

◆ clock

unsigned short CrawPlayer::clock
protected

◆ data

struct CrawPlayer::Tdata * CrawPlayer::data
protected

◆ del

unsigned char CrawPlayer::del
protected

◆ desc

char CrawPlayer::desc[1023]
private

◆ length

unsigned long CrawPlayer::length
protected

◆ pos

unsigned long CrawPlayer::pos
protected

◆ songend

bool CrawPlayer::songend
protected

◆ speed

unsigned short CrawPlayer::speed
protected

◆ title

char CrawPlayer::title[40]
private

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