Stefan Schuermans
fix (reverse) interator types of list tracker
Stefan Schuermans commited 78235d4 at 2011-12-11 01:02:51
/* Blinker
Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org>
Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
a blinkenarea.org project */
#ifndef PRIORITY_H
#define PRIORITY_H
#include <list>
#include <string>
#include <BlinkenLib/BlinkenFrame.h>
#include "CallMgr.h"
#include "Directory.h"
#include "File.h"
#include "ListTracker.h"
#include "Module.h"
#include "OutStreamFile.h"
#include "StreamMgr.h"
namespace Blinker {
/// a priority based stream selector
class Priority: public Module
{
protected:
/// input to priority based selector
class Input;
/// input list tracker
typedef ListTracker<Priority, Input, Directory> InListTracker;
/// input list iterator
typedef InListTracker::ListRevIt InListIt;
public:
/**
* @brief constructor
* @param[in] callMgr callback manager
* @param[in] streamMgr stream manager
* @param[in] dirBase base directory
*/
Priority(CallMgr &callMgr, StreamMgr &streamMgr, const Directory &dirBase);
/// virtual destructor
virtual ~Priority();
private:
/// copy constructor disabled
Priority(const Priority &that);
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX