18#ifndef BIMHOMEGUI_GUI_ISELECTION_CHANGE_H
19#define BIMHOMEGUI_GUI_ISELECTION_CHANGE_H
89 const char* docName =
nullptr,
int objId = -1,
90 const char* subName =
nullptr,
const char* typeName =
nullptr,
91 float x = 0,
float y = 0,
float z = 0,
108 const std::string& docName,
110 const std::string& subName,
111 const std::string& typeName = std::string(),
112 float x = 0,
float y = 0,
float z = 0,
const char * getSubName() const
获取选择子元素名称
float getY() const
获取鼠标点击点x坐标
const ISelectionChanges * getOrighinalMsg() const
获取上次选中事件
ISelectionChanges(MsgType type=ClrSelection, const char *docName=nullptr, int objId=-1, const char *subName=nullptr, const char *typeName=nullptr, float x=0, float y=0, float z=0, MsgSource subtype=MsgSource::Any)
构造函数
MsgSource getSubType() const
获取消息来源
float getX() const
获取鼠标点击点x坐标
ISelectionChanges(const ISelectionChanges &other)
拷贝构造函数
ISelectionChanges & operator=(const ISelectionChanges &other)
赋值运算符
MsgType
标识与选择操作相关的消息
Definition ISelectionChange.h:46
@ ClrSelection
Definition ISelectionChange.h:50
@ RmvPreselectSignal
Definition ISelectionChange.h:57
@ RmvSelection
Definition ISelectionChange.h:48
@ SetPreselect
Definition ISelectionChange.h:51
@ AddSelection
Definition ISelectionChange.h:47
@ MovePreselect
Definition ISelectionChange.h:58
@ ShowSelection
Definition ISelectionChange.h:55
@ HideSelection
Definition ISelectionChange.h:56
@ SetSelection
Definition ISelectionChange.h:49
@ RmvPreselect
Definition ISelectionChange.h:52
@ SetPreselectSignal
Definition ISelectionChange.h:53
@ PickedListChanged
Definition ISelectionChange.h:54
float getZ() const
获取鼠标点击点x坐标
MsgType getMsgType() const
获取消息类型
int getObjectId() const
获取对象Id
ISelectionChanges(ISelectionChanges &&other)
移动构造函数
const char * getDocName() const
获取文档名
MsgSource
标识消息来源
Definition ISelectionChange.h:69
ISelectionChanges & operator=(ISelectionChanges &&other)
移动赋值运算符
const char * getTypeName() const
获取选择对象类型名称
ISelectionChanges(MsgType type, const std::string &docName, const int &objId, const std::string &subName, const std::string &typeName=std::string(), float x=0, float y=0, float z=0, MsgSource subtype=MsgSource::Any)
构造函数
Definition ISelectionChange.h:27
Definition GuiDocObserverDelegate.h:33