Stefan Schuermans
implement operator connection printer for debugging purposes
Stefan Schuermans commited 3213fe4 at 2011-12-22 19:21:00
/* Blinker
Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org>
Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
a blinkenarea.org project */
#ifndef BLINKER_OPPRINTER_H
#define BLINKER_OPPRINTER_H
#include <string>
#include "Directory.h"
#include "File.h"
#include "Mgrs.h"
#include "Module.h"
#include "OpConn.h"
#include "OpConnIf.h"
#include "OpReqIf.h"
namespace Blinker {
/// a operator connection printer
class OpPrinter: public Module, public OpReqIf
{
public:
/**
* @brief constructor
* @param[in] mgrs managers
* @param[in] dirBase base directory
*/
OpPrinter(Mgrs &mgrs, const Directory &dirBase);
/// virtual destructor
virtual ~OpPrinter();
private:
/// copy constructor disabled
OpPrinter(const OpPrinter &that);
/// assignment operator disabled
const OpPrinter & operator=(const OpPrinter &that);
public:
/// check for update of configuration
virtual void updateConfig();
/**
* @brief check if accepting new operator connction is possible
* @param[in] name operator interface name
* @return if accepting new connection is possible
*/
virtual bool acceptNewOpConn(const std::string &name);
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX