+ private:
+ bool UserPredicate(STG::User* userPtr) const override
+ { return userPtr->GetProperties().disabledDetailStat; }
+};
+
+class DisabledUsersSensor : public UsersSensor {
+ public:
+ explicit DisabledUsersSensor(STG::Users & u) : UsersSensor(u) {}
+
+ private:
+ bool UserPredicate(STG::User* userPtr) const override
+ { return userPtr->GetProperties().disabled; }
+};
+
+class PassiveUsersSensor : public UsersSensor {
+ public:
+ explicit PassiveUsersSensor(STG::Users & u) : UsersSensor(u) {}