Lumiera  0.pre.03
»edit your freedom«
DummyPlayerService Class Reference

#include "steam/play/dummy-player-service.hpp"

Description

Actual implementation of the DummyPlayer service.

Creating an instance of this class automatically registers the interface lumieraorg_DummyPlayer with the Lumiera Interface/Plugin system and creates a forwarding proxy within the application core to route calls through this interface.

Definition at line 127 of file dummy-player-service.hpp.

Public Member Functions

 DummyPlayerService (Subsys::SigTerm terminationHandle)
 
ProcessImplstart (LumieraDisplaySlot viewerHandle)
 conceptually, this serves as implementation of the DummyPlayer::start() function. More...
 

Private Types

typedef lumiera::InstanceHandle< LUMIERA_INTERFACE_INAME(lumieraorg_DummyPlayer, 0), DummyPlayerServiceInstanceHandle
 

Private Attributes

string error_
 
Subsys::SigTerm notifyTermination_
 
ServiceInstanceHandle serviceInstance_
 

Additional Inherited Members

- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Member Function Documentation

◆ start()

ProcessImpl * start ( LumieraDisplaySlot  viewerHandle)

conceptually, this serves as implementation of the DummyPlayer::start() function.

But because this function sits behind the interface, it just returns an impl pointer.

implementation note
A new process (implementation) is created, configured and started here. This may include spawning a thread or allocating a timer. The newly created process is self-contained and will be just handed out, without caring for its lifecycle. If client code accesses this function via the plain C interface, the client is responsible for terminating this process, whereas when using the C++ interface, you'll get a Handle object which manages the lifecycle automatically.

Definition at line 264 of file dummy-player-service.cpp.

References ProcessImpl::doFrame(), and Display::facade.

+ Here is the call graph for this function:
+ Inheritance diagram for DummyPlayerService:
+ Collaboration diagram for DummyPlayerService:

The documentation for this class was generated from the following files: