# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLSOUND::CTrack Class Reference

A source selected for playing. More...

#include <mixing_track.h>

List of all members.

Public Methods

 CTrack ()
 Constructor. More...

void init (ISoundDriver *sd)
 Init. More...

virtual ~CTrack ()
 Destructor. More...

bool isAvailable () const
 Return availability. More...

bool isPlaying () const
 Returns true if the track is physically playing (different from getUserSource()->isPlaying()). More...

void setSource (CSimpleSource *src)
 Set logical source (if NULL, the track becomes available). More...

CSimpleSourcegetSource ()
 Return the logical source. More...


Public Attributes

ISourceDrvSource
 Physical source played by the driver. More...


Private Attributes

CSimpleSource_SimpleSource
 The current logical source. More...


Detailed Description

A source selected for playing.

Author:
Olivier Cado , Nevrax France
Date:
2001

Definition at line 46 of file mixing_track.h.


Constructor & Destructor Documentation

NLSOUND::CTrack::CTrack   [inline]
 

Constructor.

Definition at line 51 of file mixing_track.h.

References _SimpleSource, and DrvSource.

virtual NLSOUND::CTrack::~CTrack   [inline, virtual]
 

Destructor.

Definition at line 55 of file mixing_track.h.

References DrvSource.


Member Function Documentation

CSimpleSource* NLSOUND::CTrack::getSource   [inline]
 

Return the logical source.

Definition at line 67 of file mixing_track.h.

References _SimpleSource.

void NLSOUND::CTrack::init ISoundDriver   sd [inline]
 

Init.

Definition at line 53 of file mixing_track.h.

References DrvSource.

bool NLSOUND::CTrack::isAvailable   const [inline]
 

Return availability.

Definition at line 61 of file mixing_track.h.

References _SimpleSource, DrvSource, and nlassert.

bool NLSOUND::CTrack::isPlaying void    const [inline]
 

Returns true if the track is physically playing (different from getUserSource()->isPlaying()).

Definition at line 63 of file mixing_track.h.

References DrvSource, and nlassert.

void NLSOUND::CTrack::setSource CSimpleSource   src [inline]
 

Set logical source (if NULL, the track becomes available).

Definition at line 65 of file mixing_track.h.

References _SimpleSource, and src.


Member Data Documentation

CSimpleSource* NLSOUND::CTrack::_SimpleSource [private]
 

The current logical source.

Definition at line 76 of file mixing_track.h.

Referenced by CTrack, getSource, isAvailable, and setSource.

ISource* NLSOUND::CTrack::DrvSource
 

Physical source played by the driver.

Definition at line 71 of file mixing_track.h.

Referenced by CTrack, init, isAvailable, isPlaying, and ~CTrack.


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