Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

portaudio::HostApi Class Reference

#include <HostApi.hxx>

Collaboration diagram for portaudio::HostApi:

Collaboration graph
[legend]
List of all members.

Detailed Description

HostApi represents a host API (usually type of driver) in the System.

A single System can support multiple HostApi's each one typically having a set of Devices using that HostApi (usually driver type). All Devices in the HostApi can be enumerated and the default input/output Device for this HostApi can be retreived.


Public Types

typedef System::DeviceIterator DeviceIterator

Public Member Functions

PaHostApiTypeId typeId () const
PaHostApiIndex index () const
const char * name () const
int deviceCount () const
DeviceIterator devicesBegin ()
DeviceIterator devicesEnd ()
DevicedefaultInputDevice () const
DevicedefaultOutputDevice () const
bool operator== (const HostApi &rhs) const
bool operator!= (const HostApi &rhs) const

Private Member Functions

 HostApi (PaHostApiIndex index)
 ~HostApi ()
 HostApi (const HostApi &)
HostApioperator= (const HostApi &)

Private Attributes

const PaHostApiInfo * info_
Device ** devices_

Friends

class System


Member Typedef Documentation

typedef System::DeviceIterator portaudio::HostApi::DeviceIterator
 


Constructor & Destructor Documentation

portaudio::HostApi::HostApi PaHostApiIndex  index  )  [explicit, private]
 

portaudio::HostApi::~HostApi  )  [private]
 

portaudio::HostApi::HostApi const HostApi  )  [private]
 


Member Function Documentation

PaHostApiTypeId portaudio::HostApi::typeId  )  const
 

PaHostApiIndex portaudio::HostApi::index  )  const
 

const char * portaudio::HostApi::name  )  const
 

int portaudio::HostApi::deviceCount  )  const
 

HostApi::DeviceIterator portaudio::HostApi::devicesBegin  ) 
 

HostApi::DeviceIterator portaudio::HostApi::devicesEnd  ) 
 

Device & portaudio::HostApi::defaultInputDevice  )  const
 

Device & portaudio::HostApi::defaultOutputDevice  )  const
 

bool portaudio::HostApi::operator== const HostApi rhs  )  const
 

bool portaudio::HostApi::operator!= const HostApi rhs  )  const
 

HostApi& portaudio::HostApi::operator= const HostApi  )  [private]
 


Friends And Related Function Documentation

friend class System [friend]
 


Member Data Documentation

const PaHostApiInfo* portaudio::HostApi::info_ [private]
 

Device** portaudio::HostApi::devices_ [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 20:22:49 2004 for PortAudioCpp by doxygen 1.3.6