#include <OnixS/CME/iLink3/scheduling/SessionSchedule.h>
Public Member Functions | |
SessionSchedule (DayOfWeek::Enum firstDay, DayOfWeek::Enum lastDay, TimeOfDay logonTime, TimeOfDay logoutTime) | |
SessionSchedule (const SessionSchedule &other) | |
TimeOfDay | logonTime (DayOfWeek::Enum day) const noexcept |
SessionSchedule & | logonTime (DayOfWeek::Enum day, TimeOfDay time) noexcept |
TimeOfDay | logoutTime (DayOfWeek::Enum day) const noexcept |
SessionSchedule & | logoutTime (DayOfWeek::Enum day, TimeOfDay time) noexcept |
DayOfWeek::Enum | resetDay () const noexcept |
SessionSchedule & | operator= (const SessionSchedule &other) |
Friends | |
class | SessionStateChanger |
Definition at line 138 of file SessionSchedule.h.
SessionSchedule | ( | DayOfWeek::Enum | firstDay, |
DayOfWeek::Enum | lastDay, | ||
TimeOfDay | logonTime, | ||
TimeOfDay | logoutTime | ||
) |
Constructor.
firstDay | the first day of the week. |
lastDay | the last day of the week. |
logonTime | the logon time. |
logoutTime | the logout time. |
SessionSchedule | ( | const SessionSchedule & | other | ) |
|
inlinenoexcept |
If the logon is not performed on the given day, returns the result of TimeOfDay::bad().
Definition at line 187 of file SessionSchedule.h.
|
inlinenoexcept |
Sets the logon time.
Definition at line 193 of file SessionSchedule.h.
|
inlinenoexcept |
If the logout is not performed on the given day, returns the result of TimeOfDay::bad().
Definition at line 200 of file SessionSchedule.h.
|
inlinenoexcept |
Sets the logout time.
Definition at line 206 of file SessionSchedule.h.
SessionSchedule& operator= | ( | const SessionSchedule & | other | ) |
|
inlinenoexcept |
Definition at line 213 of file SessionSchedule.h.
|
friend |
Definition at line 178 of file SessionSchedule.h.