8 namespace vms_server_plugins {
16 m_randModulus(randModulus),
17 m_maxStateChanges(maxNumberOfStateChanges)
23 m_stateChanged = m_maxStateChanges >= 0 && rand() % m_randModulus == 0;
29 bool stateChanged()
const 31 return m_stateChanged;
35 const int m_randModulus;
36 int m_maxStateChanges;
37 bool m_stateChanged =
false;
Definition: apple_utils.h:6
Definition: random_state_changer.h:12