🛰️航天仿真算法库 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
27
AST_NAMESPACE_BEGIN
28
34
class
EventIntervalExplicit;
35
using
PEventIntervalExplicit = EventIntervalExplicit*;
36
using
HEventIntervalExplicit = SharedPtr<EventIntervalExplicit>;
37
38
class
AST_CORE_API
EventIntervalExplicit
final:
public
EventInterval
39
{
40
public
:
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
;
49
protected
:
50
TimeInterval
interval_
;
51
};
52
55
AST_NAMESPACE_END
ast::EventIntervalExplicit
定义
EventIntervalExplicit.hpp:39
ast::EventIntervalExplicit::interval_
TimeInterval interval_
事件时间段
定义
EventIntervalExplicit.hpp:50
ast::EventInterval
事件时间段
定义
EventInterval.hpp:40
ast::EventInterval::getInterval
virtual errc_t getInterval(TimeInterval &interval) const =0
获取时间段
ast::SharedPtr
共享指针
定义
SharedPtr.hpp:33
ast::TimeInterval
时间区间
定义
TimeInterval.hpp:59
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:106
src
AstCore
Time
Event
EventInterval
EventIntervalExplicit.hpp
制作者
1.12.0