<
The Pulse Team is excited to announce the Pulse Physiology Engine 4.1.0 release. Upgrade now to get the best in dynamic simulation.
×
SEAdvanceTime.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 
7 class CDM_DECL SEAdvanceTime : public SEAction
8 {
9  friend class PBAction;//friend the serialization class
10 public:
11 
12  SEAdvanceTime(Logger* logger=nullptr);
13  virtual ~SEAdvanceTime();
14 
15  virtual void Clear(); //clear memory
16 
17  virtual bool IsValid() const;
18 
19  virtual bool HasTime() const;
20  virtual SEScalarTime& GetTime();
21  virtual double GetTime(const TimeUnit& unit) const;
22 
23  virtual void ToString(std::ostream &str) const;
24 
25  virtual const SEScalar* GetScalar(const std::string& name);
26 
27 protected:
28 
30 };
virtual const SEScalar * GetScalar(const std::string &name)=0
virtual void Clear()
Definition: SEAction.cpp:22
virtual void ToString(std::ostream &str) const =0
Definition: SEScalar.h:18
Definition: Logger.h:66
Definition: PBActions.h:12
Definition: SEAction.h:13
virtual bool IsValid() const
Definition: SEAction.h:28
Definition: SEScalarTime.h:7
Definition: SEAdvanceTime.h:7
SEScalarTime * m_Time
Definition: SEAdvanceTime.h:29
Definition: SEScalarTime.h:27

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.