Lumiera  0.pre.03
»edit your freedom«
dummy-player-interface-proxy.cpp File Reference

Go to the source code of this file.

Description

Interface-Proxy for the lumiera::DummyPlayer facade (experimental/obsolete).

The purpose is to define a proxy implementation of lumiera::DummyPlayer, in order to redirect any calls through the associated C Language Interface "lumieraorg_DummyPlayer"

Remarks
the implementation of this interface proxy for the DummyPlayer highlighted some interesting design issues. The way we're defining our interfaces and bindings seems to have some shortcomings when attempting to express an interface (here DummyPlayer) in terms of another abstraction (here the DummyPlayer::Process), since the implementation of this abstraction has to be mapped and indirected via the interface-system as well. This forces us to duplicate all of these secondary interface functions several times, and incurs a further forwarding through the smart-Handle, since our interface system doesn't support suitable lifecycle support out of the box and instead places this burden onto the client code (or, as in this case here, the intermediary proxy used by the client code to access the interface).
See also
dummy-player-facade.hpp
dummy-player-service.hpp actual implementation within the Steam-Layer
Deprecated:
obsolete early design draft from 2009; as of 2018 only kept in source to compile some likewise obsolete UI widgets.

Definition in file dummy-player-interface-proxy.cpp.

Classes

class  Proxy< IHandle >
 

Namespaces

 lumiera
 Lumiera public interface.