24#include "AstUtil/Object.hpp"
25#include "AstUtil/StringView.hpp"
26#include "AstCore/EventTime.hpp"
27#include "AstCore/EventInterval.hpp"
28#include "AstCore/CelestialBody.hpp"
86 const std::string&
getName()
const override{
return name_;}
88 void setEOPFileName(
StringView filename){eopFileName_ = std::string(filename);}
90 void setInheritEOPSource(
bool inherit){inheritEOPSource_ = inherit;}
92 void setPrimaryBody(CelestialBody* body);
98 bool inheritEOPSource_{};
事件时间段
定义 EventInterval.hpp:41
对象基类,继承自该类的对象可以使用运行时类型信息相关功能,实现强弱引用计数、运行时元信息(属性访问、序列化等)等基础功能
定义 Object.hpp:86
std::string eopFileName_
EOP文件名
定义 Scenario.hpp:97
SharedPtr< EventTime > epoch_
场景历元时间
定义 Scenario.hpp:95
SharedPtr< CelestialBody > primaryBody_
场景天体
定义 Scenario.hpp:99
const std::string & getName() const override
获取对象的名称
定义 Scenario.hpp:86
SharedPtr< EventTime > & getEpochHandle()
获取场景历元时间
定义 Scenario.hpp:52
SharedPtr< EventInterval > interval_
场景时间间隔
定义 Scenario.hpp:96
void setName(StringView name) override
设置对象的名称
定义 Scenario.hpp:84
std::string name_
场景名称
定义 Scenario.hpp:94
时间区间
定义 TimeInterval.hpp:60
绝对时间点
定义 TimePoint.hpp:106