lgrHlaUnknownAttributeRepository.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 
00010 #ifndef lgrHlaUnknownAttributeRepository_H_
00011 #define lgrHlaUnknownAttributeRepository_H_
00012 
00013 #if DtHLA
00014 
00015 #include "lgrSim.h"
00016 
00017 #include "virtualConstructor.h"
00018 
00019 #include <vl/rtiCompatibility.h>
00020 #include <vl/entitySR.h>
00021 
00022 #include <map>
00023 #include <memory>
00024 
00025 namespace MAKLogger
00026 {
00027 
00030    class DT_DLL_LGRSIM DtLgrHlaUnknownAttributeRepository
00031    {
00032    public:
00033 
00035       DT_VIRTUAL_CTR(DtLgrHlaUnknownAttributeRepository, ())
00036 
00037       
00038       virtual ~DtLgrHlaUnknownAttributeRepository();
00039 
00040 
00041       virtual const void* value(RTI::AttributeHandle handle) const;
00042       virtual int valueLength(RTI::AttributeHandle handle) const;
00043       virtual void setValue(RTI::AttributeHandle handle, char* buffer, int length);
00044 
00045 
00046       static void unknownEncoder(const DtStateRepository &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle handle);
00047 
00048       static void unknownDecoder(DtStateRepository* stateRep, const RTI::AttributeHandleValuePairSet& avlist, unsigned long pairSetIndex);
00049 
00050 
00051 
00052    protected:
00053 
00054 #if DtHLA_1516
00055    RTI::AttributeHandleValueMap myAttrs;
00056 #else
00057    RTI::AttributeHandleValuePairSet* myAttrs;
00058 #endif
00059 
00060    };
00061 
00062 }
00063 
00064 #endif   //! DtHLA
00065 
00066 #endif   //! lgrHlaUnknownAttributeRepository13_H_

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)