载入中...
搜索中...
未找到
eve::tilelayer_target::TileLayerTargetModule类 参考final

Script-facing composition module for live tile-layer editing targets. 更多...

#include <TileLayerTargetModule.h>

类 eve::tilelayer_target::TileLayerTargetModule 继承关系图:
eve::Module

Public 成员函数

 Module_REG (TileLayerTargetModule)
 
std::unique_ptr< map_editing::TileLayerTarget > newTarget (std::string id, map::TileLayer *layer) const
 Create an adapter over a borrowed live tile layer.
 
void bind (editor::EditorSession *session, map_editing::TileLayerTarget *target) const
 Bind a target to an editor session.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

详细描述

Script-facing composition module for live tile-layer editing targets.

在文件 TileLayerTargetModule.h 第 21 行定义.

成员函数说明

◆ bind()

void eve::tilelayer_target::TileLayerTargetModule::bind ( editor::EditorSession *  session,
map_editing::TileLayerTarget *  target 
) const

Bind a target to an editor session.

参数
sessionBorrowed session that remains owned by the caller.
targetBorrowed target that must outlive the binding. @thread Owner-thread only.

在文件 TileLayerTargetModule.cpp 第 21 行定义.

引用了 session , 以及 target.

◆ Module_REG()

eve::tilelayer_target::TileLayerTargetModule::Module_REG ( TileLayerTargetModule  )

◆ newTarget()

std::unique_ptr< map_editing::TileLayerTarget > eve::tilelayer_target::TileLayerTargetModule::newTarget ( std::string  id,
map::TileLayer *  layer 
) const

Create an adapter over a borrowed live tile layer.

参数
idStable target identity.
layerBorrowed layer that must outlive the returned adapter.
返回
Independently owned target adapter. @thread Owner-thread only.

在文件 TileLayerTargetModule.cpp 第 16 行定义.

引用了 eve::map_editing::createTileLayerTarget() , 以及 layer.


该类的文档由以下文件生成: