void listenToCd(std::string cdTitle) { std::cout << "Get ready for an audiopile experence..." << std::endl; _lights->on(); _amp->on(); _amp->setVolume(5); _amp->setCd(_cd); _amp->setStereoSound(); _cd->on(); _cd->play(cdTitle); }
void endMovie() { std::cout << "Shutting movie theater down..." << std::endl; _popper->off(); _lights->on(); _screen->up(); _projector->off(); _amp->off(); _dvd->stop(); _dvd->eject(); _dvd->off(); }
void listenToCd( std::string cdTitle ) { HUM_TRACE(ACE_TEXT("HomeTheaterFacade::listenToCd")); std::cout << "Get ready for an audiopile experence..." << std::endl; _lights->on(); _amp->on(); _amp->setVolume( 5 ); _amp->setCd( _cd ); _amp->setStereoSound(); _cd->on(); _cd->play( cdTitle ); }
void endMovie() { HUM_TRACE(ACE_TEXT("HomeTheaterFacade::endMovie")); std::cout << "Shutting movie theater down..." << std::endl; _popper->off(); _lights->on(); _screen->up(); _projector->off(); _amp->off(); _dvd->stop(); _dvd->eject(); _dvd->off(); }
void watchMovie(std::string movie) { std::cout << "Get ready to watch a movie..." << std::endl; _popper->on(); _popper->pop(); _lights->dim(10); _screen->down(); _projector->on(); _projector->wideScreenMode(); _amp->on(); _amp->setDvd(_dvd); _amp->setSurroundSound(); _amp->setVolume(5); _dvd->on(); _dvd->play(movie); }
void watchMovie( std::string movie ) { HUM_TRACE(ACE_TEXT("HomeTheaterFacade::watchMovie")); std::cout << "Get ready to watch a movie..." << std::endl; _popper->on(); _popper->pop(); _lights->dim( 10 ); _screen->down(); _projector->on(); _projector->wideScreenMode(); _amp->on(); _amp->setDvd( _dvd ); _amp->setSurroundSound(); _amp->setVolume( 5 ); _dvd->on(); _dvd->play( movie ); }