2011-05-23 04:43:56 +02:00
|
|
|
/*
|
2011-05-23 05:46:40 +02:00
|
|
|
OUTPUT-MANAGER.hpp - handling all the real external output connections
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
Copyright (C) Lumiera.org
|
2011-05-23 05:46:40 +02:00
|
|
|
2011, Hermann Vosseler <Ichthyostega@web.de>
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
/** @file output-manager.hpp
|
|
|
|
|
** A global service to handle all external output connections.
|
2011-05-23 04:43:56 +02:00
|
|
|
**
|
2011-05-23 05:46:40 +02:00
|
|
|
** @see output-manager-test.cpp ////TODO
|
2011-05-23 04:43:56 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
#ifndef PROC_PLAY_OUTPUT_MANAGER_H
|
|
|
|
|
#define PROC_PLAY_OUTPUT_MANAGER_H
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
#include "lib/error.hpp"
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
#include <boost/noncopyable.hpp>
|
2011-05-23 05:46:40 +02:00
|
|
|
//#include <string>
|
|
|
|
|
//#include <vector>
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
namespace play {
|
2011-05-23 04:43:56 +02:00
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
//using std::string;
|
|
|
|
|
//using std::vector;
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************
|
2011-05-23 05:46:40 +02:00
|
|
|
* Interface: Generic output sink.
|
|
|
|
|
*
|
|
|
|
|
* @todo write type comment
|
2011-05-23 04:43:56 +02:00
|
|
|
*/
|
2011-05-23 05:46:40 +02:00
|
|
|
class OutputSlot
|
|
|
|
|
: boost::noncopyable
|
2011-05-23 04:43:56 +02:00
|
|
|
{
|
|
|
|
|
public:
|
2011-05-23 05:46:40 +02:00
|
|
|
virtual ~OutputSlot();
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
//typedef lib::ScopedPtrVect<DisplayerSlot> DisplayerTab;
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************
|
2011-05-23 05:46:40 +02:00
|
|
|
* Management of external Output connections.
|
|
|
|
|
*
|
|
|
|
|
* @todo write Type comment
|
2011-05-23 04:43:56 +02:00
|
|
|
*/
|
2011-05-23 05:46:40 +02:00
|
|
|
class OutputManager
|
2011-05-23 04:43:56 +02:00
|
|
|
: boost::noncopyable
|
|
|
|
|
{
|
|
|
|
|
public:
|
2011-05-23 05:46:40 +02:00
|
|
|
OutputManager() {}
|
2011-05-23 04:43:56 +02:00
|
|
|
};
|
2011-05-23 05:46:40 +02:00
|
|
|
|
2011-05-23 04:43:56 +02:00
|
|
|
|
|
|
|
|
|
2011-05-23 05:46:40 +02:00
|
|
|
} // namespace play
|
2011-05-23 04:43:56 +02:00
|
|
|
#endif
|