MAK RTIspy API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Credentials.h
Go to the documentation of this file.
1 #pragma once
2 /***********************************************************************
3  The IEEE hereby grants a general, royalty-free license to copy, distribute,
4  display and make derivative works from this material, for all purposes,
5  provided that any use of the material contains the following
6  attribution: "Reprinted with permission from IEEE 1516.1(TM)-2025".
7  Should you require additional information, contact the Manager, Standards
8  Intellectual Property, IEEE Standards Association (stds-ipr@ieee.org).
9 ***********************************************************************/
10 
11 #include <RTI/SpecificConfig.h>
12 #include <RTI/VariableLengthData.h>
13 #include <string>
14 
15 namespace rti1516_2025
16 {
18  {
19  public:
21  std::wstring const & type,
22  VariableLengthData const & data) : _type(type), _data(data)
23  {
24  }
25 
26  virtual ~Credentials() noexcept = default;
27 
29  Credentials const & rhs) = default;
30 
39  std::wstring const & getType() const
40  {
41  return _type;
42  }
43 
44  VariableLengthData const & getData() const
45  {
46  return _data;
47  }
48 
49  private:
50  std::wstring _type;
52  };
53 }
#define RTI_EXPORT
Definition: SpecificConfig.h:45
VariableLengthData const & getData() const
Definition: Credentials.h:44
Credentials(std::wstring const &type, VariableLengthData const &data)
Definition: Credentials.h:20
std::wstring _type
Definition: Credentials.h:50
VariableLengthData _data
Definition: Credentials.h:51
Definition: Credentials.h:17
his file contains a class to hold an arbitrary array of bytes for encoded values, attribute values...
This file contains definitions that are used to isolate platform-specific elements of the API...
Definition: VariableLengthData.h:28

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)