载入中...
搜索中...
未找到
eve::vehicle::VehicleEntity::Orders结构体 参考

Vehicle order lifecycle adapter and compatibility projection. 更多...

#include <VehicleTypes.h>

Public 成员函数

 Orders ()
 Creates an empty adapter-backed order component.
 
 ~Orders ()
 Releases the adapter-owned generic queue.
 
 Orders (const Orders &other)
 Deep-copies the queue and domain payload projection for ECS staging.
 
Orders & operator= (const Orders &other)
 Deep-copies the queue and domain payload projection for ECS staging.
 
 Orders (Orders &&) noexcept
 Transfers the adapter and compatibility projection.
 
Orders & operator= (Orders &&) noexcept
 Transfers the adapter and compatibility projection.
 

Public 属性

std::vector< VehicleOrder > queue
 
int current = -1
 
std::unique_ptr< VehicleOrderQueueAdapter > adapter
 

详细描述

Vehicle order lifecycle adapter and compatibility projection.

The adapter owns the generic orders::CommandQueue lifecycle. queue and current remain as a compatibility projection for existing consumers; VehicleSystem is the only writer and callers must not mutate them.

在文件 VehicleTypes.h 第 256 行定义.

构造及析构函数说明

◆ Orders() [1/3]

eve::vehicle::VehicleEntity::Orders::Orders ( )

Creates an empty adapter-backed order component.

在文件 VehicleOrderQueueAdapter.cpp 第 154 行定义.

◆ ~Orders()

eve::vehicle::VehicleEntity::Orders::~Orders ( )
default

Releases the adapter-owned generic queue.

◆ Orders() [2/3]

eve::vehicle::VehicleEntity::Orders::Orders ( const Orders &  other)

Deep-copies the queue and domain payload projection for ECS staging.

在文件 VehicleOrderQueueAdapter.cpp 第 158 行定义.

◆ Orders() [3/3]

eve::vehicle::VehicleEntity::Orders::Orders ( Orders &&  )
defaultnoexcept

Transfers the adapter and compatibility projection.

成员函数说明

◆ operator=() [1/2]

VehicleEntity::Orders & eve::vehicle::VehicleEntity::Orders::operator= ( const Orders &  other)

Deep-copies the queue and domain payload projection for ECS staging.

在文件 VehicleOrderQueueAdapter.cpp 第 164 行定义.

引用了 adapter, adapter, current, current , 以及 queue.

◆ operator=() [2/2]

VehicleEntity::Orders & eve::vehicle::VehicleEntity::Orders::operator= ( Orders &&  )
defaultnoexcept

Transfers the adapter and compatibility projection.

类成员变量说明

◆ adapter

std::unique_ptr<VehicleOrderQueueAdapter> eve::vehicle::VehicleEntity::Orders::adapter

在文件 VehicleTypes.h 第 260 行定义.

被这些函数引用 operator=().

◆ current

int eve::vehicle::VehicleEntity::Orders::current = -1

在文件 VehicleTypes.h 第 258 行定义.

被这些函数引用 operator=() , 以及 eve::vehicle::VehicleOrderQueueAdapter::syncCompatibility().

◆ queue

std::vector<VehicleOrder> eve::vehicle::VehicleEntity::Orders::queue

在文件 VehicleTypes.h 第 257 行定义.

被这些函数引用 operator=() , 以及 eve::vehicle::VehicleOrderQueueAdapter::syncCompatibility().


该结构体的文档由以下文件生成: