VR-Forces 4.0.4 Class Documentation
include/vrvUtil/DtDisplayConfiguration.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2007 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005  
00009  
00010 #pragma once
00011  
00012 #include <vrvUtil/vrvUtil.h> 
00013 #include <vrvUtil/DtConfiguration.h>
00014 #include <vrvUtil/DtWindowConfiguration.h> 
00015 #include <vrvUtil/DtConfigurationCollection.h>
00016 
00017 #include <string>
00018  
00019 namespace makVrv 
00020 { 
00021 
00022    typedef DtConfigurationCollection<DtWindowConfiguration> DtWindowConfigurations;
00023 
00027 
00050 
00051    class DT_DLL_VRVUTIL DtDisplayConfiguration : public DtConfiguration
00052    { 
00053 
00054    public:
00055 
00058       static const char* DefaultDisplayString;
00059 
00061       DtDisplayConfiguration(const std::string& name = DefaultDisplayString);
00062 
00064       DtDisplayConfiguration(const DtDisplayConfiguration& copy);
00065 
00067       DtDisplayConfiguration& operator=(const DtDisplayConfiguration& copy);
00068 
00070       virtual ~DtDisplayConfiguration();
00071 
00077       DT_DECLARE_ALL_serialize_FUNCTIONS
00078 
00080       DtWindowConfigurations& windowConfigurations();
00081       const DtWindowConfigurations& windowConfigurations() const;
00082 
00083    protected:
00084 
00085       template<class Archive>
00086       void _serialize(Archive & ar, const unsigned int version)
00087       {
00088          ar & DT_SERIALIZE_BASE(DtConfiguration);
00089          ar & DT_SERIALIZE_MEMBER(myWindowConfigurations);
00090       }
00091 
00092    protected:
00093 
00094       DtWindowConfigurations myWindowConfigurations;
00095    }; 
00096 } 
00097 
00098 BOOST_CLASS_VERSION(makVrv::DtDisplayConfiguration, 2)

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)