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