Definition at line 136 of file SessionSchedule.h.
◆ SessionSchedule() [1/2]
Constructor.
- Parameters
-
| firstDay | the first day of the week. |
| lastDay | the last day of the week. |
| logonTime | the logon time. |
| logoutTime | the logout time. |
◆ SessionSchedule() [2/2]
◆ logonTime() [1/2]
- Returns
- the logon time.
If the logon is not performed on the given day, returns the result of TimeOfDay::bad().
Definition at line 185 of file SessionSchedule.h.
186{
187 return logonTimes_[day];
188}
◆ logonTime() [2/2]
Sets the logon time.
Definition at line 191 of file SessionSchedule.h.
192{
193 logonTimes_[day] = logonTime;
194 return *this;
195}
◆ logoutTime() [1/2]
- Returns
- the logout time.
If the logout is not performed on the given day, returns the result of TimeOfDay::bad().
Definition at line 198 of file SessionSchedule.h.
199{
200 return logoutTimes_[day];
201}
◆ logoutTime() [2/2]
Sets the logout time.
Definition at line 204 of file SessionSchedule.h.
205{
206 logoutTimes_[day] = logoutTime;
207 return *this;
208}
◆ operator=()
◆ resetDay()
- Returns
- the day of the week on which the session is reset.
Definition at line 211 of file SessionSchedule.h.
212{
213 return startOfWeek_;
214}
◆ SessionStateChanger
| friend class SessionStateChanger |
|
friend |