baf52dacd8003c3ac6d43bfef7073aae9e871e3b
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) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

6) #ifndef BLINKER_PRINTER_H
7) #define BLINKER_PRINTER_H
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

8) 
9) #include <string>
10) 
11) #include <BlinkenLib/BlinkenFrame.h>
12) 
13) #include "Directory.h"
14) #include "File.h"
Stefan Schuermans implemented specialized set...

Stefan Schuermans authored 12 years ago

15) #include "InStreamFile.h"
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

16) #include "Mgrs.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 "StreamRecv.h"
19) 
20) namespace Blinker {
21) 
22) /// a stream printer
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

24) {
25) public:
26)   /**
27)    * @brief constructor
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

28)    * @param[in] mgrs managers
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

29)    * @param[in] dirBase base directory
30)    */
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

31)   Printer(Mgrs &mgrs, const Directory &dirBase);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

39) 
40)   /// assignment operator disabled
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

42) 
43) public:
Stefan Schuermans implemented base class for...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

47)   /**
48)    * @brief set current frame
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

53) 
Stefan Schuermans implemented automatic check...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

55)   InStreamFile m_fileInStream; ///< input stream name file
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

56) }; // class Printer
57) 
58) } // namespace Blinker
59) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

60) #endif // #ifndef BLINKER_PRINTER_H