69ac12fcb8ee5ac55fadc04d3a96a3a7c2d0038a
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 make modules know their name

Stefan Schuermans authored 12 years ago

28)    * @param[in] name module name
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

30)    * @param[in] dirBase base directory
31)    */
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

32)   Printer(const std::string &name, Mgrs &mgrs, const Directory &dirBase);
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

54) 
Stefan Schuermans implemented automatic check...

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 12 years ago

61) #endif // #ifndef BLINKER_PRINTER_H