SEAdvanceUntilStable.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/engine/SEAction.h"
6
7class CDM_DECL SEAdvanceUntilStable : public SEAction
8{
9 friend class PBAction;//friend the serialization class
10public:
11
12 SEAdvanceUntilStable(Logger* logger=nullptr);
13 virtual ~SEAdvanceUntilStable();
14
15 static constexpr char const* Name = "Advance Until Stable";
16 std::string GetName() const override { return Name; }
17
18 void Clear() override; //clear memory
19
20 bool IsValid() const override;
21
22 virtual bool HasCriteria() const;
23 virtual std::string GetCriteria() const;
24 virtual void SetCriteria(const std::string& c);
25 virtual void InvalidateCriteria();
26
27 const SEScalar* GetScalar(const std::string& name) override;
28
29protected:
30 std::string m_Criteria;
31};
Definition: Logger.h:71
Definition: PBActions.h:15
Definition: SEAction.h:14
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual bool IsValid() const
Definition: SEAction.h:35
virtual void Clear()
Definition: SEAction.cpp:21
Definition: SEAdvanceUntilStable.h:8
std::string GetName() const override
Definition: SEAdvanceUntilStable.h:16
std::string m_Criteria
Definition: SEAdvanceUntilStable.h:30
Definition: SEScalar.h:19

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.