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

#include <got.h>

Inheritance diagram for CgotPlayer:
CPlayer

Classes

struct  Sdata

Public Member Functions

 CgotPlayer (Copl *newopl)
 ~CgotPlayer ()
bool load (const std::string &filename, const CFileProvider &fp)
bool update ()
void rewind (int subsong)
float getrefresh ()
std::string gettype ()
Public Member Functions inherited from CPlayer
 CPlayer (Copl *newopl)
virtual ~CPlayer ()
void seek (unsigned long ms)
unsigned long songlength (int subsong=-1)
virtual std::string gettitle ()
virtual std::string getauthor ()
virtual std::string getdesc ()
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
struct CgotPlayer::Sdatadata
Protected Attributes inherited from CPlayer
Coplopl
CAdPlugDatabasedb

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

◆ CgotPlayer()

CgotPlayer::CgotPlayer ( Copl * newopl)
inline

◆ ~CgotPlayer()

CgotPlayer::~CgotPlayer ( )
inline

Member Function Documentation

◆ factory()

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

◆ getrefresh()

float CgotPlayer::getrefresh ( )
inlinevirtual

Implements CPlayer.

◆ gettype()

std::string CgotPlayer::gettype ( )
inlinevirtual

Implements CPlayer.

◆ load()

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

Implements CPlayer.

◆ rewind()

void CgotPlayer::rewind ( int subsong)
virtual

Implements CPlayer.

◆ update()

bool CgotPlayer::update ( )
virtual

Implements CPlayer.

Member Data Documentation

◆ data

struct CgotPlayer::Sdata * CgotPlayer::data
protected

◆ del

unsigned short CgotPlayer::del
protected

◆ pos

unsigned long CgotPlayer::pos
protected

◆ rate

float CgotPlayer::rate
protected

◆ size

unsigned long CgotPlayer::size
protected

◆ songend

bool CgotPlayer::songend
protected

◆ timer

float CgotPlayer::timer
protected

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