VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
envAttribute.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #ifndef envAttribute_H_
12 #define envAttribute_H_
13 
16 template <typename AttribType>
18 {
19 public:
20  DtEnvAttribute(const DtString& name,DtEnvValueSP boundValue);
21 
22  AttribType get() const;
23  void set(AttribType val);
24 
25 protected:
26  static DtString decode(AttribType t);
27  static AttribType encode(const DtString& value);
28 
30  AttribType myCache;
31 };
32 
33 #define envAttribute_INC
34 #include "envAttribute.inl"
35 #undef envAttribute_INC
36 
37 #endif
AttribType myCache
Definition: envAttribute.h:30
A templated class which represent an attribute of a DtEnvObject.
Definition: envAttribute.h:17
DtEnvAttribute(const DtString &name, DtEnvValueSP boundValue)
std::weak_ptr< DtEnvValue > DtEnvValueWP
Definition: envValue.h:32
static DtString decode(AttribType t)
DtEnvValueWP myValue
Definition: envAttribute.h:29
void set(AttribType val)
static AttribType encode(const DtString &value)
Instances of DtString are used to represent strings.
Definition: vlString.h:36
std::shared_ptr< DtEnvValue > DtEnvValueSP
Definition: envValue.h:29

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)