Async  0.18.0
Classes | Namespaces | Macros
AsyncAudioDeviceFactory.h File Reference

A_brief_description_for_this_file. More...

#include <string>
#include <map>

Go to the source code of this file.

Classes

class  Async::AudioDeviceFactory
 A_brief_class_description. More...
 

Namespaces

 Async
 Namespace for the asynchronous programming classes.
 

Macros

#define REGISTER_AUDIO_DEVICE_TYPE(_name, _class)
 

Detailed Description

A_brief_description_for_this_file.

Author
Tobias Blomberg / SM0SVX
Date
2009-12-26

A_detailed_description_for_this_file

<A brief description of the program or library this file belongs to>
Copyright (C) 2003-2009 Tobias Blomberg / SM0SVX

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Definition in file AsyncAudioDeviceFactory.h.

Macro Definition Documentation

#define REGISTER_AUDIO_DEVICE_TYPE (   _name,
  _class 
)
Value:
AudioDevice *create_ ## _class(const string& dev_name) \
{ return new _class(dev_name); } \
static bool _class ## _creator_registered = \
AudioDeviceFactory::instance()->registerCreator(_name, \
create_ ## _class)

Definition at line 97 of file AsyncAudioDeviceFactory.h.