362c1f4c3b5ce9e3fce11167a51fbe4cdb2174de
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/StreamMgr.cpp  1) /* Blinker
Stefan Schuermans update copyright header

Stefan Schuermans authored 5 years ago

src/common/StreamMgr.cpp  2)    Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans first version, plays videos...

Stefan Schuermans authored 13 years ago

src/noarch/StreamMgr.cpp  3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/StreamMgr.cpp  4)    a blinkenarea.org project */
src/noarch/StreamMgr.cpp  5) 
src/noarch/StreamMgr.cpp  6) #include <map>
src/noarch/StreamMgr.cpp  7) #include <string>
src/noarch/StreamMgr.cpp  8) 
src/noarch/StreamMgr.cpp  9) #include "Stream.h"
src/noarch/StreamMgr.cpp 10) #include "StreamMgr.h"
src/noarch/StreamMgr.cpp 11) 
src/noarch/StreamMgr.cpp 12) namespace Blinker {
src/noarch/StreamMgr.cpp 13) 
src/noarch/StreamMgr.cpp 14) /// constructor
src/noarch/StreamMgr.cpp 15) StreamMgr::StreamMgr()
src/noarch/StreamMgr.cpp 16) {
src/noarch/StreamMgr.cpp 17) }
src/noarch/StreamMgr.cpp 18) 
src/noarch/StreamMgr.cpp 19) /// destructor
src/noarch/StreamMgr.cpp 20) StreamMgr::~StreamMgr()
src/noarch/StreamMgr.cpp 21) {
src/noarch/StreamMgr.cpp 22) }
src/noarch/StreamMgr.cpp 23) 
src/noarch/StreamMgr.cpp 24) /**
src/noarch/StreamMgr.cpp 25)  * @brief reference stream
src/noarch/StreamMgr.cpp 26)  * @param[in] name stream name
src/noarch/StreamMgr.cpp 27)  * @return stream
src/noarch/StreamMgr.cpp 28)  *
src/noarch/StreamMgr.cpp 29)  * if the stream does not exists, it is created
src/noarch/StreamMgr.cpp 30)  */
src/noarch/StreamMgr.cpp 31) Stream & StreamMgr::refStream(const std::string &name)
src/noarch/StreamMgr.cpp 32) {
src/noarch/StreamMgr.cpp 33)   Entry &entry = m_streams[name];
Stefan Schuermans added stream name to stream...

Stefan Schuermans authored 12 years ago

src/noarch/StreamMgr.cpp 34)   entry.m_stream.m_name = name;