void endCd() {
     std::cout << "Shutting down CD..." << std::endl;
     _amp->off();
     _amp->setCd(_cd);
     _cd->eject();
     _cd->off();
 }
예제 #2
0
 void endCd()
 {
   HUM_TRACE(ACE_TEXT("HomeTheaterFacade::endCd"));
   std::cout << "Shutting down CD..." << std::endl;
   _amp->off();
   _amp->setCd( _cd );
   _cd->eject();
   _cd->off();
 }
 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);
 }
예제 #4
0
 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 );
 }