hla: Add new header containing some enums.
This commit is contained in:
@@ -22,6 +22,7 @@ set(HLA_HEADERS
|
||||
HLAOMTXmlVisitor.hxx
|
||||
HLAPropertyDataElement.hxx
|
||||
HLARawDataElement.hxx
|
||||
HLATypes.hxx
|
||||
HLAVariantDataElement.hxx
|
||||
HLAVariantDataType.hxx
|
||||
HLAVariantRecordDataElement.hxx
|
||||
|
||||
@@ -34,13 +34,6 @@ class HLAEnumeratedDataType;
|
||||
class HLAFixedRecordDataType;
|
||||
class HLAVariantRecordDataType;
|
||||
|
||||
enum HLAUpdateType {
|
||||
HLAStaticUpdate,
|
||||
HLAPeriodicUpdate,
|
||||
HLAConditionalUpdate,
|
||||
HLAUndefinedUpdate
|
||||
};
|
||||
|
||||
class HLADataType : public SGWeakReferenced {
|
||||
public:
|
||||
virtual ~HLADataType();
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "HLADataType.hxx"
|
||||
#include "HLAObjectInstance.hxx"
|
||||
#include "HLATypes.hxx"
|
||||
|
||||
namespace simgear {
|
||||
|
||||
|
||||
43
simgear/hla/HLATypes.hxx
Normal file
43
simgear/hla/HLATypes.hxx
Normal file
@@ -0,0 +1,43 @@
|
||||
// Copyright (C) 2009 - 2012 Mathias Froehlich - Mathias.Froehlich@web.de
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Library General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 2 of the License, or (at your option) any later version.
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Library General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
//
|
||||
|
||||
#ifndef HLATypes_hxx
|
||||
#define HLATypes_hxx
|
||||
|
||||
namespace simgear {
|
||||
|
||||
enum HLASubscriptionType {
|
||||
HLAUnsubscribed,
|
||||
HLASubscribedActive,
|
||||
HLASubscribedPassive
|
||||
};
|
||||
|
||||
enum HLAPublicationType {
|
||||
HLAUnpublished,
|
||||
HLAPublished
|
||||
};
|
||||
|
||||
enum HLAUpdateType {
|
||||
HLAStaticUpdate,
|
||||
HLAPeriodicUpdate,
|
||||
HLAConditionalUpdate,
|
||||
HLAUndefinedUpdate
|
||||
};
|
||||
|
||||
} // namespace simgear
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user