![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2010 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: DtAttributeGroupTemplateLogic.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00011 00012 #pragma once 00013 00014 #include <vrvVrlQt/vrvVrlQt.h> 00015 #include <vrvUtil/DtSignalConnectionManager.h> 00016 00017 namespace makVrv 00018 { 00019 class DtAttributeGroupTemplateInterface; 00020 class DtDe; 00021 00024 class DT_DLL_VRVVRLQT DtAttributeGroupTemplateLogic 00025 { 00026 public: 00028 DtAttributeGroupTemplateLogic(DtDe& de, DtAttributeGroupTemplateInterface* iFace); 00029 00031 virtual ~DtAttributeGroupTemplateLogic(); 00032 00034 virtual void addAttributeGroupTemplate(const std::string& groupName, 00035 const std::string& templateName); 00036 00039 virtual void attributeGroupTemplateChanged(const std::string& groupName, 00040 const std::string& templateName, bool onOff); 00041 00043 virtual void removeAttributeGroupTemplate(const std::string& groupName, 00044 const std::string& templateName); 00045 00047 virtual void setAttributeGroupTemplateStatus(const std::string& groupName, 00048 const std::string& templateName, bool onOff); 00049 00050 protected: 00051 DtDe& myDe; 00052 DtAttributeGroupTemplateInterface* myInterface; 00053 DtSignalConnectionManager myConnections; 00054 }; 00055 }