f670ca05dd608c9d5b0300ca1dc493f6ffd8afa1
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h  1) /* Blinker
Stefan Schuermans update copyright years

Stefan Schuermans authored 10 years ago

src/noarch/Stream.h  2)    Copyright 2011-2014 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h  3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/Stream.h  4)    a blinkenarea.org project */
src/noarch/Stream.h  5) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h  6) #ifndef BLINKER_STREAM_H
src/noarch/Stream.h  7) #define BLINKER_STREAM_H
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h  8) 
src/noarch/Stream.h  9) #include <set>
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 10) #include <string>
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 11) 
src/noarch/Stream.h 12) #include <BlinkenLib/BlinkenFrame.h>
src/noarch/Stream.h 13) 
src/noarch/Stream.h 14) #include "StreamRecv.h"
src/noarch/Stream.h 15) 
src/noarch/Stream.h 16) namespace Blinker {
src/noarch/Stream.h 17) 
src/noarch/Stream.h 18) /// a video stream
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 19) class Stream
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 20) {
src/noarch/Stream.h 21) protected:
src/noarch/Stream.h 22)   /// set of receivers of this stream
src/noarch/Stream.h 23)   typedef std::set<StreamRecv *> Recvs;
src/noarch/Stream.h 24) 
src/noarch/Stream.h 25) public:
src/noarch/Stream.h 26)   /// constructor
src/noarch/Stream.h 27)   Stream();
src/noarch/Stream.h 28) 
Stefan Schuermans Stream does not have to use...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 29)   /// destructor
src/noarch/Stream.h 30)   ~Stream();
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 31) 
src/noarch/Stream.h 32) public:
src/noarch/Stream.h 33)   /**
src/noarch/Stream.h 34)    * @brief attach a stream receiver
src/noarch/Stream.h 35)    * @param[in] recv stream receiver to attach
src/noarch/Stream.h 36)    */
src/noarch/Stream.h 37)   void attach(StreamRecv *recv);
src/noarch/Stream.h 38) 
src/noarch/Stream.h 39)   /**
src/noarch/Stream.h 40)    * @brief detach a stream receiver
src/noarch/Stream.h 41)    * @param[in] recv stream receiver to detach
src/noarch/Stream.h 42)    */
src/noarch/Stream.h 43)   void detach(StreamRecv *recv);
src/noarch/Stream.h 44) 
src/noarch/Stream.h 45)   /**
src/noarch/Stream.h 46)    * @brief set current frame
Stefan Schuermans merged frame processing wit...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 47)    * @param[in] pFrame current frame (NULL for none)
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 48)    */
Stefan Schuermans Stream does not have to use...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 49)   void setFrame(stBlinkenFrame *pFrame);
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 50) 
Stefan Schuermans add function to get current...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 51)   /**
src/noarch/Stream.h 52)    * @brief get current frame
Stefan Schuermans simplified interface of get...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 53)    * @return current frame (NULL for none)
Stefan Schuermans add function to get current...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 54)    */
Stefan Schuermans simplified interface of get...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 55)   stBlinkenFrame * getCurFrame() const;
Stefan Schuermans add function to get current...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 56) 
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 57) protected:
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 58)   /// stream name
src/noarch/Stream.h 59)   std::string m_name;
Stefan Schuermans implemented stream printer...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 60)   /// current frame (or NULL if no frame)
src/noarch/Stream.h 61)   stBlinkenFrame *m_pFrame;
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 62)   /// receivers of this stream
src/noarch/Stream.h 63)   Recvs m_recvs;
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 64) 
src/noarch/Stream.h 65) friend class StreamMgr;
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/Stream.h 66) }; // class Stream
src/noarch/Stream.h 67) 
src/noarch/Stream.h 68) } // namespace Blinker
src/noarch/Stream.h 69) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/Stream.h 70) #endif // #ifndef BLINKER_STREAM_H