-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from usdot-fhwa-stol/hotfix/reduce_processing
Multiple changes to increase performance of responding to TCRs
- Loading branch information
Showing
19 changed files
with
672 additions
and
428 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
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,33 @@ | ||
/* | ||
* To change this license header, choose License Headers in Project Properties. | ||
* To change this template file, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package cc.ctrl; | ||
|
||
import java.io.DataInputStream; | ||
import java.io.IOException; | ||
|
||
/** | ||
* | ||
* @author aaron.cherney | ||
*/ | ||
public class CtrlIndex | ||
{ | ||
public byte[] m_yId; | ||
public int m_nType; | ||
public long m_lStart; | ||
public long m_lEnd; | ||
public double[] m_dBB; | ||
|
||
public CtrlIndex(DataInputStream oIn) | ||
throws IOException | ||
{ | ||
m_nType = oIn.readInt(); | ||
m_yId = new byte[16]; | ||
oIn.read(m_yId); | ||
m_lStart = oIn.readLong(); | ||
m_lEnd = oIn.readLong(); | ||
m_dBB = new double[]{oIn.readInt() / 100.0, oIn.readInt() / 100.0, oIn.readInt() / 100.0, oIn.readInt() / 100.0}; | ||
} | ||
} |
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
Oops, something went wrong.