VR-Forces 4.0.4 Class Documentation
include/vrvGlStudioShared/DtGlStudioAttributeUpdater.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtGlStudioAttributeUpdater.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00012 
00013 #ifndef DtGlStudioAttributeUpdater_h
00014 #define DtGlStudioAttributeUpdater_h
00015 
00016 #include <vrvGlStudioShared/DtGlStudioShared.h>
00017 #include <vrvUtil/DtSignalConnectionManager.h>
00018 
00019 #include <string>
00020 
00021 namespace makVrv
00022 {
00023 
00026    class DT_DLL_VRVGLSTUDIOSHARED DtGlStudioAttributeUpdater
00027    {
00028    public:
00029       DtGlStudioAttributeUpdater();
00030       virtual ~DtGlStudioAttributeUpdater();
00031 
00033       virtual std::string value() =0;
00034       virtual bool isDirty();
00035 
00036    protected:
00037       DtSignalConnectionManager myEntityConnections;
00038       bool myIsDirty;
00039    };
00040 
00041 
00044    class DT_DLL_VRVGLSTUDIOSHARED DtGlStudioAttributeUpdaterCreator
00045    {
00046    public:
00047       DtGlStudioAttributeUpdaterCreator();
00048       virtual ~DtGlStudioAttributeUpdaterCreator();
00049 
00051       virtual const std::string& name() const;
00052 
00054       virtual const std::string& protocol() const;
00055 
00057       virtual DtGlStudioAttributeUpdater* create() const = 0;
00058 
00059    protected:
00060       std::string myName;
00061       std::string myProtocol;
00062    };
00063 
00064 } //makVrv::
00065 
00066 #endif
00067 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)