conditionlist.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: conditionlist.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "conditionlist" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _CONDITION_LIST_H_
  14. #define _CONDITION_LIST_H_
  15. #ifndef _CONDITION_H_
  16. #include "Condition.h"
  17. #endif //_CONDITION_H_
  18. namespace Training
  19. {
  20. //------------------------------------------------------------------------------
  21. // class definitions
  22. //------------------------------------------------------------------------------
  23. class ConditionList : public Condition
  24. {
  25. public:
  26. virtual /* void */ ~ConditionList (void);
  27. virtual bool Start (void);
  28. virtual void Stop (void);
  29. virtual bool Evaluate (void);
  30. void AddCondition (Condition* pCondition);
  31. protected:
  32. std::list<Condition*> m_conditionList;
  33. };
  34. //------------------------------------------------------------------------------
  35. }
  36. #endif //_CONDITION_LIST_H_