Exemplo n.º 1
0
 void endRadio()
 {
   HUM_TRACE(ACE_TEXT("HomeTheaterFacade::endRadio"));
   std::cout << "Shutting down the tuner..." << std::endl;
   _tuner->off();
   _amp->off();
 }
 void endCd() {
     std::cout << "Shutting down CD..." << std::endl;
     _amp->off();
     _amp->setCd(_cd);
     _cd->eject();
     _cd->off();
 }
Exemplo n.º 3
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 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();
 }
Exemplo n.º 5
0
 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 endRadio() {
     std::cout << "Shutting down the tuner..." << std::endl;
     _tuner->off();
     _amp->off();
 }
Exemplo n.º 7
0
 void stopMovie()
 {
     amplifier->off();
     projector->off();
     dvd->off();
 }