A class that represents one ongoing content query that is sent to the content provider.
More...
#include <content_query.hpp>
A class that represents one ongoing content query that is sent to the content provider.
◆ ContentQueryContainer
Container for content queries.
◆ QueryCompleteCallbackFunction
typedef function<void(ContentQuery*) kanzi::connect::ContentQuery::QueryCompleteCallbackFunction) |
Callback function that is invoked when query is completed.
◆ ContentQuery()
Constructor.
- Parameters
-
uri | Content URI for this query. |
function | Callback function to invoke when the query is completed. |
◆ ~ContentQuery()
virtual kanzi::connect::ContentQuery::~ContentQuery |
( |
| ) |
|
|
virtual |
◆ addQuery()
Add child query to this content query.
- Parameters
-
◆ beginQueries()
ContentQueryContainer::iterator kanzi::connect::ContentQuery::beginQueries |
( |
| ) |
|
Iterator to the beginning of the child queries container.
◆ endQueries()
ContentQueryContainer::iterator kanzi::connect::ContentQuery::endQueries |
( |
| ) |
|
Iterator to the end of the child queries container.
◆ getData()
Access to result data for the query.
- Returns
- Content data pointer.
◆ getUri()
const string & kanzi::connect::ContentQuery::getUri |
( |
| ) |
const |
Returns the content URI for this query.
- Returns
- Content URI for this query.
◆ notifyCompleted()
void kanzi::connect::ContentQuery::notifyCompleted |
( |
| ) |
|
Notifies the content system that this query has been completed.
◆ removeQuery()
Remove child query from this content query.
- Parameters
-
◆ setData()
Sets result data for the query.
- Parameters
-
The documentation for this class was generated from the following file:
- content_service/content_query.hpp