🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
EventIntervalExplicit.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/EventInterval.hpp"
25#include "AstCore/TimeInterval.hpp"
26
27AST_NAMESPACE_BEGIN
28
34class EventIntervalExplicit;
35using PEventIntervalExplicit = EventIntervalExplicit*;
36using HEventIntervalExplicit = SharedPtr<EventIntervalExplicit>;
37
38class AST_CORE_API EventIntervalExplicit final: public EventInterval
39{
40public:
41 static PEventIntervalExplicit New(const TimeInterval& interval);
42 static PEventIntervalExplicit New(const TimePoint& startTime, const TimePoint& stopTime);
43 static HEventIntervalExplicit MakeShared(const TimeInterval& interval);
44
45 EventIntervalExplicit() = default;
46 EventIntervalExplicit(const TimeInterval& interval);
47 ~EventIntervalExplicit() = default;
48 errc_t getInterval(TimeInterval& interval) const override;
49protected:
51};
52
55AST_NAMESPACE_END
定义 EventIntervalExplicit.hpp:39
TimeInterval interval_
事件时间段
定义 EventIntervalExplicit.hpp:50
事件时间段
定义 EventInterval.hpp:40
virtual errc_t getInterval(TimeInterval &interval) const =0
获取时间段
共享指针
定义 SharedPtr.hpp:33
时间区间
定义 TimeInterval.hpp:59
绝对时间点
定义 TimePoint.hpp:106