DVBLink Remote API Library documentation
0.2.0-Master
|
Abstract base class for schedules. More...
Public Types | |
enum | DVBLinkScheduleType { SCHEDULE_TYPE_MANUAL = 0, SCHEDULE_TYPE_BY_EPG = 1 } |
An enum for schedule types. More... |
Public Member Functions | |
Schedule (const DVBLinkScheduleType scheduleType, const std::string &channelId, const int recordingsToKeep=0) | |
Initializes a new instance of the dvblinkremote::Schedule class. | |
Schedule (const DVBLinkScheduleType scheduleType, const std::string &id, const std::string &channelId, const int recordingsToKeep=0) | |
Initializes a new instance of the dvblinkremote::Schedule class. | |
virtual | ~Schedule ()=0 |
Pure virtual destructor for cleaning up allocated memory. | |
std::string & | GetID () |
Gets the identifier of the schedule. | |
std::string & | GetChannelID () |
Gets the channel identifier for the schedule. | |
DVBLinkScheduleType & | GetScheduleType () |
Gets the type for the schedule . |
Public Attributes | |
std::string | UserParameter |
The user parameter of the schedule request. | |
bool | ForceAdd |
A flag indicating that new schedule should be added even if there are other conflicting schedules present. | |
int | RecordingsToKeep |
Indicates how many recordings to keep for a repeated recording. |
Abstract base class for schedules.
dvblinkremote::Schedule::Schedule | ( | const DVBLinkScheduleType | scheduleType, |
const std::string & | channelId, | ||
const int | recordingsToKeep = 0 |
||
) |
Initializes a new instance of the dvblinkremote::Schedule class.
scheduleType | a constant DVBLinkScheduleType instance representing the type of schedule. |
channelId | a constant string reference representing the channel identifier. |
recordingsToKeep | an optional constant integer representing how many recordings to keep for a repeated recording. Default value is 0 , i.e. keep all recordings. |
dvblinkremote::Schedule::Schedule | ( | const DVBLinkScheduleType | scheduleType, |
const std::string & | id, | ||
const std::string & | channelId, | ||
const int | recordingsToKeep = 0 |
||
) |
Initializes a new instance of the dvblinkremote::Schedule class.
scheduleType | a constant DVBLinkScheduleType instance representing the type of schedule. |
id | a constant string reference representing the schedule identifier. |
channelId | a constant string reference representing the channel identifier. |
recordingsToKeep | an optional constant integer representing how many recordings to keep for a repeated recording. Default value is 0 , i.e. keep all recordings. |
|
pure virtual |
Pure virtual destructor for cleaning up allocated memory.
std::string& dvblinkremote::Schedule::GetChannelID | ( | ) |
Gets the channel identifier for the schedule.
std::string& dvblinkremote::Schedule::GetID | ( | ) |
Gets the identifier of the schedule.
DVBLinkScheduleType& dvblinkremote::Schedule::GetScheduleType | ( | ) |
Gets the type for the schedule .
bool dvblinkremote::Schedule::ForceAdd |
A flag indicating that new schedule should be added even if there are other conflicting schedules present.
int dvblinkremote::Schedule::RecordingsToKeep |
Indicates how many recordings to keep for a repeated recording.
std::string dvblinkremote::Schedule::UserParameter |
The user parameter of the schedule request.