0fee1b0dbe796d5c03abdc7b516de170331aed5b
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

1) /* Blinker
2)    Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org>
3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
4)    a blinkenarea.org project */
5) 
6) #ifndef PRINTER_H
7) #define PRINTER_H
8) 
9) #include <string>
10) 
11) #include <BlinkenLib/BlinkenFrame.h>
12) 
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

13) #include "CallMgr.h"
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

14) #include "Directory.h"
15) #include "File.h"
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

16) #include "InStreamFile.h"
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

17) #include "Module.h"
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

18) #include "StreamMgr.h"
19) #include "StreamRecv.h"
20) 
21) namespace Blinker {
22) 
23) /// a stream printer
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

24) class Printer: public Module, public StreamRecv
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

25) {
26) public:
27)   /**
28)    * @brief constructor
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

29)    * @param[in] callMgr callback manager
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

30)    * @param[in] streamMgr stream manager
31)    * @param[in] dirBase base directory
32)    */
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

33)   Printer(CallMgr &callMgr, StreamMgr &streamMgr, const Directory &dirBase);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

34) 
35)   /// virtual destructor
36)   virtual ~Printer();
37) 
38) private:
39)   /// copy constructor disabled
Stefan Schuermans whitespace fixes

Stefan Schuermans authored 13 years ago

40)   Printer(const Printer &that);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

41) 
42)   /// assignment operator disabled
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

43)   const Printer & operator=(const Printer &that);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

44) 
45) public:
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

46)   /// check for update of configuration
47)   virtual void updateConfig();
48) 
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

49)   /**
50)    * @brief set current frame
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

51)    * @param[in] stream stream name
Stefan Schuermans merged frame processing wit...

Stefan Schuermans authored 12 years ago

52)    * @param[in] pFrame current frame (NULL for none)
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

53)    */
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

54)   virtual void setFrame(const std::string &stream, stBlinkenFrame *pFrame);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

55) 
Stefan Schuermans implemented automatic check...

Stefan Schuermans authored 13 years ago

56) protected:
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

57)   InStreamFile m_fileInStream; ///< input stream name file