ReadLine::ReadLine( std::string file, bool testExistence ) : isExternalStream(false) { init(); if( setFilename(file, testExistence) ) { FStream = new std::ifstream ; FStream->open( inFile.c_str()); feedStream(); } }
void Demuxer::requestMoreData(Stream& starvingStream) { sf::Lock l(m_synchronized); feedStream(starvingStream); }