123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /*
- ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
- **
- ** File: conditionlist.h
- **
- ** Author:
- **
- ** Description:
- ** Header file for the training library "conditionlist" interface.
- **
- ** History:
- */
- #ifndef _CONDITION_LIST_H_
- #define _CONDITION_LIST_H_
- #ifndef _CONDITION_H_
- #include "Condition.h"
- #endif //_CONDITION_H_
- namespace Training
- {
- //------------------------------------------------------------------------------
- // class definitions
- //------------------------------------------------------------------------------
- class ConditionList : public Condition
- {
- public:
- virtual /* void */ ~ConditionList (void);
- virtual bool Start (void);
- virtual void Stop (void);
- virtual bool Evaluate (void);
- void AddCondition (Condition* pCondition);
- protected:
- std::list<Condition*> m_conditionList;
- };
- //------------------------------------------------------------------------------
- }
- #endif //_CONDITION_LIST_H_
|