SEAdvanceTime.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 #include "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();
13  virtual ~SEAdvanceTime();
14 
15  virtual void Clear(); //clear memory
16 
17  virtual bool IsValid() const;
18 
19  virtual void ToString(std::ostream &str) const;
20 
21  virtual bool HasTime() const;
22  virtual SEScalarTime& GetTime();
23  virtual double GetTime(const TimeUnit& unit) const;
24 
25 protected:
26 
28 };
virtual void Clear()
Definition: SEAction.cpp:21
virtual void ToString(std::ostream &str) const =0
Definition: PBActions.h:11
Definition: SEAction.h:7
virtual bool IsValid() const
Definition: SEAction.h:18
Definition: SEScalarTime.h:7
Definition: SEAdvanceTime.h:7
SEScalarTime * m_Time
Definition: SEAdvanceTime.h:27
Definition: SEScalarTime.h:23