Abstract creator class for Content Providers. More...
#include <content_provider_creator.hpp>
Public Member Functions | |
virtual ContentProviderSharedPtr | create (WorkQueueInterface *workQueue)=0 |
Function that creates an instance of a Content Provider. | |
virtual | ~ContentProviderCreator () |
Destructor. | |
Abstract creator class for Content Providers.
Content providers are registered to content manager by passing an uri and an instance of this class. Whenever the content manager receives a query to a specific domain uri, it will find (or instantiate) a content provider accordingly and uses it to perform the content query.
|
inlinevirtual |
Destructor.
|
pure virtual |
Function that creates an instance of a Content Provider.
workQueue | interface to work queue mechanism. |
Implemented in kanzi::connect::ContentProviderCreatorImpl< ProviderClass >.