Files
envi-code/SourceCode/Code2026/tg_shs/inc/TArch/TArchCmdReactor.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

72 lines
2.5 KiB
C++

//-------------------------------------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TArchCmdReactor 类
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
// = Description: TArchCmdReactor 声明 运行状态(命令状态、编辑状态)监视器
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TARCHCMDREACTOR_H_
#define _TARCHCMDREACTOR_H_
#ifndef _TARCHPERDOCDATA_H_
#include "TArchPerDocData.h"
#endif
class TArchCmdReactor;
class TDbWall;
class TDbColumn;
class TARCH_IMPEXP TArchCmdReactor: public AcEditorReactor
{
public:
static TArchCmdReactor *g_pCmdReactor; // Myself
static BOOL s_bLayerChanged;
static BOOL s_bUpdateMaterial;
static AcDbObjectId g_idFloorRectLayer;
public:
TArchCmdReactor();
~TArchCmdReactor();
static void Attach();
static void Detach();
//static void BeginUserCommand(const TCHAR *pszCommand, BOOL bArxCommand);
//static void EndUserCommand(const TCHAR *pszCommand, BOOL bArxCommand);
//static void EndUserCommandStru(const TCHAR *pszCommand, BOOL bArxCommand);
//static void AddWallCorners(class TDbWall *pWall);
//static void AddChangedColumn(class TDbColumn *pColumn);
//static void AddModifiedOpening(const AcDbObjectId &id);
//static void AddModifiedWall(const AcDbObjectId &id);
static void AddModifiedClip(const AcDbObjectId &id);
//static void AddModifiedClipped(const AcDbObjectId&id);
//static void AddModifiedRegion(const AcDbObjectId&id);
static void UpdateCorners();
static void UpdateOpenings();
static void UpdateWalls();
static void UpdateClip();
static void UpdateRegion();
////更新关联图形
static void UpdateAssocGraphic();
static void ResetAll();
//virtual void sysVarChanged(const TCHAR * varName, Adesk::Boolean success);
//virtual void lispWillStart(const TCHAR * firstLine);
//virtual void lispEnded();
// virtual void lispCancelled();
//virtual void commandWillStart(const TCHAR * cmdStr);
//virtual void commandEnded(const TCHAR *cmsStr);
//virtual void commandCancelled(const TCHAR * cmdStr);
//virtual void commandFailed(const TCHAR * cmdStr);
//virtual void pickfirstModified();
//virtual void endWblock (AcDbDatabase* pTo);//add wlw 2014.12.10 支持config的wblock的导出
virtual void beginDoubleClick(const AcGePoint3d& clickPoint);
};
#endif