VR-Link API Documentation for HLA 1516
envAttribute.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00006 
00010 
00011 #ifndef envAttribute_H_
00012 #define envAttribute_H_
00013 
00016 template <typename AttribType>
00017 class DtEnvAttribute
00018 {
00019 public:
00020    DtEnvAttribute(const DtString& name,DtEnvValueSP boundValue);
00021 
00022    AttribType get() const;
00023    void       set(AttribType val);
00024 
00025 protected:
00026    static DtString   decode(AttribType t);
00027    static AttribType encode(const DtString& value);
00028 
00029    DtEnvValueWP myValue;
00030    AttribType   myCache;
00031 };
00032 
00033 #define envAttribute_INC
00034 #include "envAttribute.inl"
00035 #undef envAttribute_INC
00036 
00037 #endif

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)