rasdaman complete source
Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
rviewSoundPlayer Class Reference

#include <rviewSound.hh>

Inheritance diagram for rviewSoundPlayer:
rviewDisplay rviewFrame

Classes

struct  format_desc
 

Public Types

typedef struct
rviewSoundPlayer::format_desc 
format_desc
 
- Public Types inherited from rviewDisplay
enum  display_advmode_e { display_advmode_relative, display_advmode_absolute, display_advmode_reset }
 

Public Member Functions

 rviewSoundPlayer (mdd_frame *mf, unsigned int flags=0)
 
 ~rviewSoundPlayer (void)
 
void label (void)
 
int process (wxObject &obj, wxEvent &evt)
 
virtual int openViewer (void)
 
virtual const char * getFrameName (void) const
 
virtual rviewFrameType getFrameType (void) const
 
virtual int getViewerType (void) const
 
void OnSize (int w, int h)
 
int newProjection (void)
 
void prepareToDie (void)
 
- Public Member Functions inherited from rviewDisplay
 rviewDisplay (mdd_frame *mf, int es, unsigned int flags=0)
 
virtual ~rviewDisplay (void)
 
void closeViewer (void)
 
virtual void OnMenuCommand (int id)
 
virtual int userEvent (const user_event &ue)
 
virtual const r_MintervalgetVirtualDomain (void) const
 
void noLongerUpdate (void)
 
int getIdentifier (void) const
 
int getDisplayCounter (void) const
 
void setQueryWindow (int qwindowID)
 
- Public Member Functions inherited from rviewFrame
 rviewFrame (wxFrame *parent, char *title, int x, int y, int w, int h)
 
virtual ~rviewFrame (void)
 
int checkobj (wxObject &obj)
 
virtual int requestQuit (int level)
 
virtual void childMouseEvent (wxWindow *child, wxMouseEvent &mevt)
 
void setParent (rviewFrame *parent)
 
void registerChild (rviewFrame *child)
 
void deregisterChild (rviewFrame *child)
 
virtual bool OnClose (void)
 

Static Public Attributes

static const int sound_bwidth
 
static const int sound_bheight
 
static const int sound_sheight
 
static const int sound_twidth
 
static const int sound_theight
 
static const int sound_cwidth
 
static const int sound_cheight
 
static const int sound_ctrly
 
static const int sound_width
 
static const int sound_height
 
static const int sound_latencies
 
- Static Public Attributes inherited from rviewDisplay
static const int display_width
 
static const int display_height
 
static const int display_cnvborder
 
static const int display_border
 
static const int display_scrstep
 
static const int display_pgstep
 
static const int display_cheight
 
static const int display_pjheight
 
static const int display_pjwidth
 
static const int display_pbwidth
 
static const int display_pbheight
 
static const int display_minwidth
 
static const int display_flag_standalone
 
static const int display_flag_update
 

Protected Member Functions

int buildSample (void)
 
int newSample (void)
 
int startPlayback (void)
 
int stopPlayback (void)
 
void setSlider (int offset)
 
bool setLoopMode (bool lm)
 
- Protected Member Functions inherited from rviewDisplay
virtual int fileMenuInitHook (wxMenu *menu)
 
virtual int viewMenuInitHook (wxMenu *menu)
 
virtual int menuBarInitHook (void)
 
void setModeDimension (int dim)
 
void setMinimumViewerSize (int w, int h)
 
const char * skipIndexMapping (const char *s)
 
int advanceProjection (int direction, int advmode=display_advmode_relative)
 
void newDBState (bool dbstate)
 
void setDisplayTitle (const char *title=NULL)
 
int doSaveView (void)
 
int doLoadView (void)
 
int parseViewFile (FILE *fp)
 
virtual int saveView (FILE *fp)
 
virtual int readView (const char *key, const char *value)
 
virtual void loadViewFinished (void)
 

Protected Attributes

soundPlayer player
 
rviewButtontoStart
 
rviewButtontoEnd
 
rviewButtonpbPause
 
rviewButtonpbStart
 
rviewButtonpbStop
 
rviewButtonpbLoop
 
rviewSliderslider
 
rviewTextfrqWidget
 
rviewChoicefmtWidget
 
rviewChoicelatWidget
 
int frequency
 
int channels
 
int latency
 
int lastOffset
 
int * latencies
 
void * sampleBuffer
 
int sampleLength
 
bool paused
 
bool playbackOn
 
bool loopMode
 
int dim1
 
int dim2
 
int typeLength
 
int currentFormat
 
unsigned int freeDims
 
- Protected Attributes inherited from rviewDisplay
unsigned int displayFlags
 
r_Ref< r_GMarraymddObj
 
r_Minterval interv
 
r_Point pt1
 
r_Point pt2
 
r_Point mapIndex
 
int dimMDD
 
int dimMode
 
int baseSize
 
rviewBaseType baseType
 
wxMenuBar * mBar
 
wxPanel * ctrlPanel
 
rviewTextproject
 
rviewTextadvance
 
wxMessage * typeMsg
 
rviewButtonprojBut
 
rviewButtonprojPlus
 
rviewButtonprojMinus
 
char projString [STRINGSIZE]
 
char rootTitle [STRINGSIZE]
 
int extraSpace
 
int totalCtrlHeight
 
int displayID
 
int qwindowID
 
int minViewX
 
int minViewY
 
int mbarHeight
 
bool displayOperation
 
bool objectInitializedOK
 
- Protected Attributes inherited from rviewFrame
rviewFrameMgrframes
 
rviewFrameparentFrame
 
int frameWidth
 
int frameHeight
 

Static Protected Attributes

static const format_desc soundFormatDesc []
 
- Static Protected Attributes inherited from rviewDisplay
static const int fixedNumberOfMenus
 

Additional Inherited Members

- Static Protected Member Functions inherited from rviewDisplay
static void writeViewKey (FILE *fp, const char *key)
 
static void writeViewParam (FILE *fp, const char *key, const char *value)
 
static void writeViewParam (FILE *fp, const char *key, long value)
 
static void writeViewParam (FILE *fp, const char *key, double value)
 
static void writeViewParam (FILE *fp, const char *key, unsigned int num, const long *values)
 
static void writeViewParam (FILE *fp, const char *key, unsigned int num, const double *values)
 
static int readVector (const char *value, unsigned int num, long *values)
 
static int readVector (const char *value, unsigned int num, double *values)
 

Member Typedef Documentation

Constructor & Destructor Documentation

rviewSoundPlayer::rviewSoundPlayer ( mdd_frame mf,
unsigned int  flags = 0 
)
rviewSoundPlayer::~rviewSoundPlayer ( void  )

Member Function Documentation

int rviewSoundPlayer::buildSample ( void  )
protected
virtual const char* rviewSoundPlayer::getFrameName ( void  ) const
virtual

Reimplemented from rviewDisplay.

virtual rviewFrameType rviewSoundPlayer::getFrameType ( void  ) const
virtual

Reimplemented from rviewDisplay.

virtual int rviewSoundPlayer::getViewerType ( void  ) const
virtual

Implements rviewDisplay.

void rviewSoundPlayer::label ( void  )
virtual

Reimplemented from rviewDisplay.

int rviewSoundPlayer::newProjection ( void  )
virtual

Reimplemented from rviewDisplay.

int rviewSoundPlayer::newSample ( void  )
protected
void rviewSoundPlayer::OnSize ( int  w,
int  h 
)
virtual

Reimplemented from rviewDisplay.

virtual int rviewSoundPlayer::openViewer ( void  )
virtual

Reimplemented from rviewDisplay.

void rviewSoundPlayer::prepareToDie ( void  )
virtual

Reimplemented from rviewDisplay.

int rviewSoundPlayer::process ( wxObject &  obj,
wxEvent &  evt 
)
virtual

Reimplemented from rviewDisplay.

bool rviewSoundPlayer::setLoopMode ( bool  lm)
protected
void rviewSoundPlayer::setSlider ( int  offset)
protected
int rviewSoundPlayer::startPlayback ( void  )
protected
int rviewSoundPlayer::stopPlayback ( void  )
protected

Member Data Documentation

int rviewSoundPlayer::channels
protected
int rviewSoundPlayer::currentFormat
protected
int rviewSoundPlayer::dim1
protected
int rviewSoundPlayer::dim2
protected
rviewChoice* rviewSoundPlayer::fmtWidget
protected
unsigned int rviewSoundPlayer::freeDims
protected
int rviewSoundPlayer::frequency
protected
rviewText* rviewSoundPlayer::frqWidget
protected
int rviewSoundPlayer::lastOffset
protected
int* rviewSoundPlayer::latencies
protected
int rviewSoundPlayer::latency
protected
rviewChoice * rviewSoundPlayer::latWidget
protected
bool rviewSoundPlayer::loopMode
protected
bool rviewSoundPlayer::paused
protected
rviewButton * rviewSoundPlayer::pbLoop
protected
rviewButton* rviewSoundPlayer::pbPause
protected
rviewButton * rviewSoundPlayer::pbStart
protected
rviewButton * rviewSoundPlayer::pbStop
protected
bool rviewSoundPlayer::playbackOn
protected
soundPlayer rviewSoundPlayer::player
protected
void* rviewSoundPlayer::sampleBuffer
protected
int rviewSoundPlayer::sampleLength
protected
rviewSlider* rviewSoundPlayer::slider
protected
const int rviewSoundPlayer::sound_bheight
static
const int rviewSoundPlayer::sound_bwidth
static
const int rviewSoundPlayer::sound_cheight
static
const int rviewSoundPlayer::sound_ctrly
static
const int rviewSoundPlayer::sound_cwidth
static
const int rviewSoundPlayer::sound_height
static
const int rviewSoundPlayer::sound_latencies
static
const int rviewSoundPlayer::sound_sheight
static
const int rviewSoundPlayer::sound_theight
static
const int rviewSoundPlayer::sound_twidth
static
const int rviewSoundPlayer::sound_width
static
const format_desc rviewSoundPlayer::soundFormatDesc[]
staticprotected
rviewButton * rviewSoundPlayer::toEnd
protected
rviewButton* rviewSoundPlayer::toStart
protected
int rviewSoundPlayer::typeLength
protected

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