MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / isSignalling

Method isSignalling

lib/TimerService/src/TimerSetting.cpp:185–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185bool TimerSetting::isSignalling(const struct tm& currentTime)
186{
187 bool isSignalling = (m_hour == currentTime.tm_hour) && (m_minute == currentTime.tm_min) && isDayOfWeek(currentTime.tm_wday);
188
189 if (true == isSignalling)
190 {
191 if (false == m_isSignalling)
192 {
193 m_isSignalling = true;
194 }
195 else
196 {
197 isSignalling = false;
198 }
199 }
200 else
201 {
202 m_isSignalling = false;
203 }
204
205 return isSignalling;
206}
207
208/******************************************************************************
209 * Protected Methods

Callers 1

processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected