|
DVBLink Remote API Library documentation
0.2.0-Master
|
Abstract base class for playback objects. More...
Public Types | |
| enum | DVBLinkPlaybackObjectType { PLAYBACK_OBJECT_TYPE_CONTAINER = 0, PLAYBACK_OBJECT_TYPE_ITEM = 1 } |
| An enum for playback object types. More... | |
Public Member Functions | |
| PlaybackObject (const DVBLinkPlaybackObjectType objectType, const std::string &objectId, const std::string &parentId) | |
| Initializes a new instance of the dvblinkremote::PlaybackObject class. | |
| virtual | ~PlaybackObject ()=0 |
| Pure virtual destructor for cleaning up allocated memory. | |
| DVBLinkPlaybackObjectType & | GetObjectType () |
| Gets the type of the playback object . | |
| std::string & | GetObjectID () |
| Gets the identifier of the playback object. | |
| std::string & | GetParentID () |
| Gets the identifier of the parent object for this playback object. | |
Abstract base class for playback objects.
| dvblinkremote::PlaybackObject::PlaybackObject | ( | const DVBLinkPlaybackObjectType | objectType, |
| const std::string & | objectId, | ||
| const std::string & | parentId | ||
| ) |
Initializes a new instance of the dvblinkremote::PlaybackObject class.
| itemType | a constant DVBLinkPlaybackObjectType instance representing the type of the playback item. |
| objectId | a constant string reference representing the identifier of the playback object. |
| parentId | a constant string reference representing the identifier of the parent object for this playback object. |
|
pure virtual |
Pure virtual destructor for cleaning up allocated memory.
| std::string& dvblinkremote::PlaybackObject::GetObjectID | ( | ) |
Gets the identifier of the playback object.
| DVBLinkPlaybackObjectType& dvblinkremote::PlaybackObject::GetObjectType | ( | ) |
Gets the type of the playback object .
| std::string& dvblinkremote::PlaybackObject::GetParentID | ( | ) |
Gets the identifier of the parent object for this playback object.