Stefan Schuermans
implemented stream receiver
Stefan Schuermans commited 98f2233 at 2011-12-21 22:47:08
/* Blinker
Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org>
Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
a blinkenarea.org project */
#include <iostream>
#include <string>
#include "CallMgr.h"
#include "Canvas.h"
#include "Directory.h"
#include "FlexiPix.h"
#include "ModuleMgr.h"
#include "ModuleMgr_impl.h"
#include "Output.h"
#include "Player.h"
#include "Printer.h"
#include "Priority.h"
#include "Resizer.h"
#include "Scaler.h"
#include "StreamMgr.h"
#include "Udp4Receiver.h"
#include "Udp4Sender.h"
using namespace Blinker;
void run(const std::string &dirConfig)
{
Directory dirCfg(dirConfig);
CallMgr callMgr;
StreamMgr streamMgr;
ModuleMgr<Canvas> canvasMgr(callMgr, streamMgr,
dirCfg.getSubdir("canvases"));
ModuleMgr<FlexiPix> flexipixMgr(callMgr, streamMgr,
dirCfg.getSubdir("flexipixes"));
ModuleMgr<Output> outputMgr(callMgr, streamMgr,
dirCfg.getSubdir("outputs"));
ModuleMgr<Player> playerMgr(callMgr, streamMgr,
dirCfg.getSubdir("players"));
ModuleMgr<Printer> printerMgr(callMgr, streamMgr,
dirCfg.getSubdir("printers"));
ModuleMgr<Priority> priorityMgr(callMgr, streamMgr,
dirCfg.getSubdir("priorities"));
ModuleMgr<Resizer> resizerMgr(callMgr, streamMgr,
dirCfg.getSubdir("resizers"));
ModuleMgr<Scaler> scalerMgr(callMgr, streamMgr,
dirCfg.getSubdir("scalers"));
ModuleMgr<Udp4Receiver> udp4ReceiverMgr(callMgr, streamMgr,
dirCfg.getSubdir("udp4receivers"));
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX