Value:( window.isNotNull() ? window-> methcall : false )
The intention of this class is to intercept calls from multiple points in the CGUIWindow class hierarchy and pass those calls over to the XBMCAddon API Window hierarchy. It is a class template that uses the type template parameter to determine the parent class.
Since this class also maintains two way communication between the XBMCAddon API Window hierarchy and the core XBMC CGUIWindow hierarchy, it is used as a general bridge. For calls going TO the window hierarchy (as in callbacks) it operates in a straightforward manner. In the reverse direction (from the XBMCAddon hierarchy) it uses some hackery in a "smart pointer" overloaded -> operator.