18 const std::string& videoSource_)
19 : motherBoard(motherBoard_)
20 , display(motherBoard.getReactor().getDisplay())
21 , renderSettings(display.getRenderSettings())
22 , videoSourceSetting(motherBoard.getVideoSource())
24 videoSourceSetting, videoSource_))
25 , powerSetting(motherBoard.getReactor().getGlobalSettings().getPowerSetting())
27 , activeVideo9000(INACTIVE)
33 videoSourceSetting.
attach(*
this);
34 powerSetting.
attach(*
this);
42 powerSetting.
detach(*
this);
43 videoSourceSetting.
detach(*
this);
46 PRT_DEBUG(
"Destructing VideoLayer... DONE!");
51 return videoSourceActivator->getID();
56 if (&setting == &videoSourceSetting) {
58 }
else if (&setting == &powerSetting) {
63 void VideoLayer::calcZ()
70 void VideoLayer::calcCoverage()
83 void VideoLayer::signalEvent(
const std::shared_ptr<const Event>& event,
97 int current = videoSourceSetting.
getValue();
99 ((current == video9000Source) && (activeVideo9000 !=
INACTIVE));
107 int current = videoSourceSetting.
getValue();
109 ((current == video9000Source) && (activeVideo9000 ==
ACTIVE_FRONT));