🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
ScStateCalcBodyRelated.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstCore/ScStateCalculation.hpp"
25
#include "AstCore/CelestialBody.hpp"
26
27
28
AST_NAMESPACE_BEGIN
29
35
class
AST_CORE_API
ScStateCalcBodyRelated
:
public
ScStateCalculation
36
{
37
public
:
38
AST_OBJECT(
ScStateCalcBodyRelated
)
39
AST_PROPERT(body)
40
ScStateCalcBodyRelated
() =
default
;
41
~ScStateCalcBodyRelated
() =
default
;
42
PROPERTIES:
43
Body
* body()
const
{
return
body_.get(); }
44
void
setBody(
Body
* body) { body_ = body; }
45
private
:
46
WeakPtr<CelestialBody>
body_;
47
};
48
51
AST_NAMESPACE_END
ast::CelestialBody
天体
定义
CelestialBody.hpp:52
ast::ScStateCalcBodyRelated
定义
ScStateCalcBodyRelated.hpp:36
ast::ScStateCalculation
定义
ScStateCalculation.hpp:39
ast::WeakPtr
弱引用指针
定义
WeakPtr.hpp:35
src
AstCore
Orbit
Calculation
ScStateCalculation
Abstract
ScStateCalcBodyRelated.hpp
制作者
1.12.0