-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bf218dc
Showing
207 changed files
with
5,776 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# HlaSharp - C# API | ||
|
||
This repository contains the C# API implemented in HlaSharp for HLA 1516 Evolved. | ||
All class and method names match the standard C++ API implemented by RTI providers (Mak, Pitch, etc). | ||
|
||
💡 HlaSharp is a Neoxio product that provides a C# API for HLA Evolved (IEEE Standard 1516-2010). | ||
Using HlaSharp you can connect to any RTI and access all its services using only C#. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Collections.Generic; | ||
using System.Runtime.CompilerServices; | ||
using Neoxio.HlaSharp.Handles; | ||
|
||
namespace Neoxio.HlaSharp | ||
{ | ||
public class AttributesRegionsMapping | ||
{ | ||
public HashSet<AttributeHandle> Attributes | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public HashSet<RegionHandle> Regions | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public AttributesRegionsMapping() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public AttributesRegionsMapping(IEnumerable<AttributeHandle> attributes, IEnumerable<RegionHandle> regions) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
using System; | ||
using Neoxio.HlaSharp.Interop; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public abstract class DataElement : UnmanagedHlaObject, IEncodable | ||
{ | ||
public abstract DataElement Clone(); | ||
|
||
public VariableLengthData Encode() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void Encode(VariableLengthData inData) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void EncodeInto(ByteVector buffer) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void Decode(VariableLengthData inData) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public int DecodeFrom(ByteVector buffer, int index) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public int GetEncodedLength() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public uint GetOctetBoundary() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public virtual bool IsSameTypeAs(DataElement inData) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public long Hash() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaAsciiChar : DataElement | ||
{ | ||
public HlaAsciiChar() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public HlaAsciiChar(char initialValue) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public sealed override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetValue(char value) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public char GetValue() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaAsciiString : DataElement | ||
{ | ||
public HlaAsciiString() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public HlaAsciiString(string initialValue) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public sealed override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetValue(string value) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public string GetValue() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaBoolean : DataElement | ||
{ | ||
public HlaBoolean() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public HlaBoolean(bool initialValue) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public sealed override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetValue(bool value) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public bool GetValue() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaByte : DataElement | ||
{ | ||
public HlaByte() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public HlaByte(byte initialValue) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public sealed override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetValue(byte value) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public byte GetValue() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaFixedArray<TElement> : DataElement where TElement : DataElement | ||
{ | ||
public int Size | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public Type PrototypeType | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public TElement this[int index] | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public HlaFixedArray(TElement prototype, int size) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public bool HasPrototypeSameTypeAs(DataElement dataElement) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetElement(int index, TElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetElementRef(int index, TElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public TElement GetElement(int index) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
protected override void Dispose(bool disposing) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
using System; | ||
|
||
namespace Neoxio.HlaSharp.Encoding | ||
{ | ||
public class HlaFixedRecord : DataElement | ||
{ | ||
public int Size | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public DataElement this[int index] | ||
{ | ||
get | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
|
||
public HlaFixedRecord() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public override DataElement Clone() | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public bool HasElementSameTypeAs(int index, DataElement dataElement) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void AppendElement(DataElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void AppendElementRef(DataElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetElement(int index, DataElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public void SetElementRef(int index, DataElement element) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
public DataElement GetElement(int index) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
|
||
protected override void Dispose(bool disposing) | ||
{ | ||
throw new System.NotImplementedException("This is a reference assembly."); | ||
} | ||
} | ||
} |
Oops, something went wrong.