🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
EventTime.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstUtil/Object.hpp"
25
#include "AstUtil/ObjectNamed.hpp"
26
#include "AstCore/TimePoint.hpp"
27
#include "AstCore/ReflectAPI.hpp"
28
29
AST_NAMESPACE_BEGIN
30
36
class
EventTime;
37
using
PEventTime = EventTime*;
38
using
HEventTime = SharedPtr<EventTime>;
39
40
43
class
AST_CORE_API
EventTime
:
public
ObjectNamed
44
{
45
public
:
46
AST_OBJECT(
EventTime
)
47
48
static
EventTime
*
Resolve
(
StringView
value);
49
50
virtual
~EventTime
()
override
=
default
;
54
virtual
errc_t
getTime
(
TimePoint
& tp)
const
= 0;
55
56
};
57
60
AST_NAMESPACE_END
ast::EventTime
事件时间
定义
EventTime.hpp:44
ast::EventTime::getTime
virtual errc_t getTime(TimePoint &tp) const =0
获取时间点
ast::ObjectNamed
命名对象
定义
ObjectNamed.hpp:36
ast::Object::Resolve
static Object * Resolve(StringView value)
解析字符串
定义
Object.cpp:38
ast::StringViewBasic< char >
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:106
src
AstCore
Time
Event
EventTime
EventTime.hpp
制作者
1.12.0