CLAM::OfflineNetworkPlayer Class Reference

#include <OfflineNetworkPlayer.hxx>

List of all members.

Public Types

typedef std::vector
< SndfileHandle * > 
SndFileHandles

Public Member Functions

 OfflineNetworkPlayer ()
void AddInputFile (const std::string &)
void AddOutputFile (const std::string &)
void AddNumChannels (int channel)
void SetFormat (int format)
bool IsWorking ()
 Should return true when the backend is able to run the network.
std::string NonWorkingReason ()
 Whenever the backend is not working, this method returns the reason.
virtual bool IsRealTime () const
std::string listOfSourcesSinksAndFiles (const SndFileHandles &infiles, const SndFileHandles &outfiles)
virtual void Start ()
 Redefine to make the backend ready to process and start the network. If IsPlaying() should do nothing. If it IsPaused() you should consider just call BePlaying() without starting the processings.
virtual void Stop ()
 Redefine it to deactivate the backend.
void ProcessInputFile ()
void EnableLoopInputWavs ()
void SetResultWavsTime (double time)

Detailed Description

Definition at line 13 of file OfflineNetworkPlayer.hxx.


Member Typedef Documentation

typedef std::vector<SndfileHandle*> CLAM::OfflineNetworkPlayer::SndFileHandles

Definition at line 42 of file OfflineNetworkPlayer.hxx.


Constructor & Destructor Documentation

CLAM::OfflineNetworkPlayer::OfflineNetworkPlayer (  )  [inline]

Definition at line 27 of file OfflineNetworkPlayer.hxx.


Member Function Documentation

void CLAM::OfflineNetworkPlayer::AddInputFile ( const std::string &  filename  ) 

Definition at line 255 of file OfflineNetworkPlayer.cxx.

void CLAM::OfflineNetworkPlayer::AddNumChannels ( int  channel  ) 

Definition at line 265 of file OfflineNetworkPlayer.cxx.

void CLAM::OfflineNetworkPlayer::AddOutputFile ( const std::string &  filename  ) 
void CLAM::OfflineNetworkPlayer::EnableLoopInputWavs (  )  [inline]

Definition at line 52 of file OfflineNetworkPlayer.hxx.

virtual bool CLAM::OfflineNetworkPlayer::IsRealTime (  )  const [inline, virtual]

Implements CLAM::NetworkPlayer.

Definition at line 40 of file OfflineNetworkPlayer.hxx.

bool CLAM::OfflineNetworkPlayer::IsWorking (  )  [virtual]

Should return true when the backend is able to run the network.

Implements CLAM::NetworkPlayer.

Definition at line 5 of file OfflineNetworkPlayer.cxx.

Referenced by NonWorkingReason().

std::string CLAM::OfflineNetworkPlayer::listOfSourcesSinksAndFiles ( const SndFileHandles infiles,
const SndFileHandles outfiles 
)

Definition at line 23 of file OfflineNetworkPlayer.cxx.

std::string CLAM::OfflineNetworkPlayer::NonWorkingReason (  )  [virtual]

Whenever the backend is not working, this method returns the reason.

Implements CLAM::NetworkPlayer.

Definition at line 12 of file OfflineNetworkPlayer.cxx.

References CLAM::NetworkPlayer::CacheSourcesAndSinks(), CLAM::NetworkPlayer::GetNSinks(), CLAM::NetworkPlayer::GetNSources(), and IsWorking().

void CLAM::OfflineNetworkPlayer::ProcessInputFile (  ) 
void CLAM::OfflineNetworkPlayer::SetFormat ( int  format  ) 

Definition at line 270 of file OfflineNetworkPlayer.cxx.

void CLAM::OfflineNetworkPlayer::SetResultWavsTime ( double  time  )  [inline]

Definition at line 56 of file OfflineNetworkPlayer.hxx.

void CLAM::OfflineNetworkPlayer::Start (  )  [virtual]

Redefine to make the backend ready to process and start the network. If IsPlaying() should do nothing. If it IsPaused() you should consider just call BePlaying() without starting the processings.

Implements CLAM::NetworkPlayer.

Definition at line 62 of file OfflineNetworkPlayer.cxx.

void CLAM::OfflineNetworkPlayer::Stop (  )  [virtual]

Redefine it to deactivate the backend.

Implements CLAM::NetworkPlayer.

Definition at line 241 of file OfflineNetworkPlayer.cxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3