GetSectorCondition.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. ** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  3. **
  4. ** File: GetSectorCondition.h
  5. **
  6. ** Author:
  7. **
  8. ** Description:
  9. ** Header file for the training library "GetSectorCondition" interface.
  10. **
  11. ** History:
  12. */
  13. #ifndef _GET_SECTOR_CONDITION_H_
  14. #define _GET_SECTOR_CONDITION_H_
  15. #ifndef _CONDITION_H_
  16. #include "Condition.h"
  17. #endif //_CONDITION_H_
  18. #ifndef _ABSTRACT_TARGET_H_
  19. #include "AbstractTarget.h"
  20. #endif //_ABSTRACT_TARGET_H_
  21. namespace Training
  22. {
  23. //------------------------------------------------------------------------------
  24. // class definitions
  25. //------------------------------------------------------------------------------
  26. class GetSectorCondition : public Condition
  27. {
  28. public:
  29. /* void */ GetSectorCondition (ImodelIGC* pModel, SectorID sector);
  30. /* void */ GetSectorCondition (ObjectType objectType, ObjectID objectID, SectorID sector);
  31. /* void */ GetSectorCondition (AbstractTarget* pTarget, SectorID sector);
  32. virtual /* void */ ~GetSectorCondition (void);
  33. virtual bool Evaluate (void);
  34. protected:
  35. AbstractTarget* m_pModel;
  36. SectorID m_sector;
  37. };
  38. //------------------------------------------------------------------------------
  39. }
  40. #endif //_GET_SECTOR_CONDITION_H_