9 #ifndef RAMSES_DCSMPROVIDER_H
10 #define RAMSES_DCSMPROVIDER_H
21 class DcsmProviderImpl;
#define RAMSES_API
Definition: APIExport.h:35
Class used to offer ramses content and meta infos to a consumer and synchronize actions between clien...
Definition: DcsmProvider.h:28
DcsmProvider()=delete
Deleted default constructor.
DcsmProvider(const DcsmProvider &other)=delete
Deleted copy constructor.
status_t dispatchEvents(IDcsmProviderEventHandlerExtended &handler)
Calls a callback function for every internal event including the content status event.
status_t updateContentMetadata(ContentID contentID, const DcsmMetadataCreator &metadata)
Send metadata updates to consumers content is assigned to. The content is earliest sent to consumer o...
status_t dispatchEvents(IDcsmProviderEventHandler &handler)
Calls a callback function for every internal event except the content status event,...
~DcsmProvider()
Destructor of DcsmProvider.
DcsmProvider & operator=(const DcsmProvider &other)=delete
Deleted copy assignment.
status_t offerContentWithMetadata(ContentID contentID, Category category, waylandIviSurfaceId_t surfaceId, EDcsmOfferingMode mode, const DcsmMetadataCreator &metadata)
Same behavior as offerContent() but additionally send provided metadata to consumers that assigned co...
class DcsmProviderImpl & impl
Definition: DcsmProvider.h:235
status_t offerContent(ContentID contentID, Category category, sceneId_t scene, EDcsmOfferingMode mode)
Assigns a ramses scene ID to a contentID and category and offers that content to listening consumers....
status_t offerContentWithMetadata(ContentID contentID, Category category, sceneId_t scene, EDcsmOfferingMode mode, const DcsmMetadataCreator &metadata)
Same behavior as offerContent() but additionally send provided metadata to consumers that assigned co...
DcsmProvider(DcsmProviderImpl &)
Constructor of DcsmProvider.
status_t requestStopOfferContent(ContentID contentID)
Request to stop offering a content. A successful request will trigger a call to stopOfferAccepted in ...
status_t enableFocusRequest(ContentID contentID, int32_t focusRequest)
Requests an assigned DcsmConsumer to switch to/focus this content within a category....
status_t offerContent(ContentID contentID, Category category, waylandIviSurfaceId_t surfaceId, EDcsmOfferingMode mode)
Assigns a Wayland IVI Surface ID to a contentID and category and offers that content to listening con...
status_t markContentReady(ContentID contentID)
Marks the content ready for displaying. This function might be called any time after offerContent()....
status_t disableFocusRequest(ContentID contentID, int32_t focusRequest)
No longer request an assigned DcsmConsumer to focus this content for given focusrequest within a cate...
An Interface for a class, whose functions are called as reaction to a DcsmConsumer message after call...
Definition: IDcsmProviderEventHandler.h:116
An Interface for a class, whose functions are called as reaction to DcsmConsumer communication after ...
Definition: IDcsmProviderEventHandler.h:24
The StatusObject provides status message handling.
Definition: StatusObject.h:22
Helper class to create strongly typed values out of various types.
Definition: StronglyTypedValue.h:23
The RAMSES namespace contains all client side objects and functions used to implement RAMSES applicat...
Definition: AnimatedProperty.h:15
uint32_t status_t
Status is a handle to the result of an API call.
Definition: RamsesFrameworkTypes.h:26
EDcsmOfferingMode
Definition: EDcsmOfferingMode.h:20