WSF
src
core
wsf
source
ext
WsfExtRadioEntityType.hpp
Go to the documentation of this file.
1
// ****************************************************************************
2
// CUI
3
//
4
// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5
//
6
// Copyright 2003-2015 The Boeing Company. All rights reserved.
7
//
8
// The use, dissemination or disclosure of data in this file is subject to
9
// limitation or restriction. See accompanying README and LICENSE for details.
10
// ****************************************************************************
11
12
13
#ifndef WSFEXTRADIOENTITYTYPE_HPP
14
#define WSFEXTRADIOENTITYTYPE_HPP
15
16
#include "wsf_export.h"
17
18
#include <cstdint>
19
#include <iosfwd>
20
21
class
WSF_EXPORT
WsfExtRadioEntityType
22
{
23
public
:
24
WsfExtRadioEntityType
();
25
WsfExtRadioEntityType
(uint8_t aEntityKind,
26
uint8_t aDomain,
27
uint16_t aCountry,
28
uint8_t aCategory,
29
uint8_t aNomenclatureVersion,
30
uint16_t aNomenclature);
31
uint8_t
GetEntityKind
();
32
uint8_t
GetDomain
();
33
uint16_t
GetCountry
();
34
uint8_t
GetCategory
();
35
uint8_t
GetNomenclatureVersion
();
36
uint16_t
GetNomenclature
();
37
38
bool
operator==
(
const
WsfExtRadioEntityType
& aRhs)
const
;
39
bool
operator<
(
const
WsfExtRadioEntityType
& aRhs)
const
;
40
uint8_t
mEntityKind
;
41
uint8_t
mDomain
;
42
uint16_t
mCountry
;
43
uint8_t
mCategory
;
44
uint8_t
mNomenclatureVersion
;
45
uint16_t
mNomenclature
;
46
};
47
48
std::ostream&
operator<<
(std::ostream& aOut,
const
WsfExtRadioEntityType
& aType);
49
// Accessors
50
51
inline
uint8_t
WsfExtRadioEntityType::GetEntityKind
()
52
{
53
return
mEntityKind
;
54
}
55
inline
uint8_t
WsfExtRadioEntityType::GetDomain
()
56
{
57
return
mDomain
;
58
}
59
inline
uint16_t
WsfExtRadioEntityType::GetCountry
()
60
{
61
return
mCountry
;
62
}
63
inline
uint8_t
WsfExtRadioEntityType::GetCategory
()
64
{
65
return
mCategory
;
66
}
67
inline
uint8_t
WsfExtRadioEntityType::GetNomenclatureVersion
()
68
{
69
return
mNomenclatureVersion
;
70
}
71
inline
uint16_t
WsfExtRadioEntityType::GetNomenclature
()
72
{
73
return
mNomenclature
;
74
}
75
76
#endif
operator<<
std::ostream & operator<<(std::ostream &aOut, const WsfExtRadioEntityType &aType)
Definition
WsfExtRadioEntityType.cpp:106
operator==
bool operator==(int aId, const WsfStringInt &aRhs)
Equal relational operator for the case of an integer on the LHS and a StringId on the RHS.
Definition
WsfStringId.hpp:69
WSF_EXPORT
#define WSF_EXPORT
Definition
WsfXIO_Export.hpp:35
WsfExtRadioEntityType
Definition
WsfExtRadioEntityType.hpp:22
WsfExtRadioEntityType::GetEntityKind
uint8_t GetEntityKind()
Definition
WsfExtRadioEntityType.hpp:51
WsfExtRadioEntityType::mNomenclatureVersion
uint8_t mNomenclatureVersion
Definition
WsfExtRadioEntityType.hpp:44
WsfExtRadioEntityType::mNomenclature
uint16_t mNomenclature
Definition
WsfExtRadioEntityType.hpp:45
WsfExtRadioEntityType::operator<
bool operator<(const WsfExtRadioEntityType &aRhs) const
Definition
WsfExtRadioEntityType.cpp:41
WsfExtRadioEntityType::GetCountry
uint16_t GetCountry()
Definition
WsfExtRadioEntityType.hpp:59
WsfExtRadioEntityType::GetNomenclature
uint16_t GetNomenclature()
Definition
WsfExtRadioEntityType.hpp:71
WsfExtRadioEntityType::mDomain
uint8_t mDomain
Definition
WsfExtRadioEntityType.hpp:41
WsfExtRadioEntityType::mCountry
uint16_t mCountry
Definition
WsfExtRadioEntityType.hpp:42
WsfExtRadioEntityType::mCategory
uint8_t mCategory
Definition
WsfExtRadioEntityType.hpp:43
WsfExtRadioEntityType::GetNomenclatureVersion
uint8_t GetNomenclatureVersion()
Definition
WsfExtRadioEntityType.hpp:67
WsfExtRadioEntityType::mEntityKind
uint8_t mEntityKind
Definition
WsfExtRadioEntityType.hpp:40
WsfExtRadioEntityType::GetCategory
uint8_t GetCategory()
Definition
WsfExtRadioEntityType.hpp:63
WsfExtRadioEntityType::WsfExtRadioEntityType
WsfExtRadioEntityType()
Definition
WsfExtRadioEntityType.cpp:16
WsfExtRadioEntityType::GetDomain
uint8_t GetDomain()
Definition
WsfExtRadioEntityType.hpp:55
Copyrights Multiple, All Rights Reserved