1 #include "uhh_msgiface.h"
2 #include "uhh_dataitem.h"
3 #include "uhh_messageitem.h"
5 #include "ENUM_Uhh_RecStatus.h"
6 #include "ENUM_UhhMsg_Version.h"
18 #include "unicodestringhandler.h"
21 #define SERVER_PORT 50010
40 void reqInitHdr(
int z_eType);
44 int resGetU8Array(uint8** target);
53 uc_char* resGetString();
54 void reqSetU8(
int offset,
int val);
55 void reqSetU16(
int offset,
int val);
56 void reqSetU24(
int offset,
int val);
57 void reqSetI32(
int offset,
int val);
58 void reqSetI56(
int offset, uint64 val);
65 static const bool FORWARD =
true;
66 static const bool BACKWARD =
false;
68 static const int TRACE_MODE_NONE = 0;
69 static const int TRACE_MODE_NORMAL = 1;
70 static const int TRACE_MODE_NORMAL_INT = 2;
71 static const int TRACE_MODE_AVERAGE = 3;
72 static const int TRACE_MODE_AVERAGE_INT = 4;
73 static const int TRACE_MODE_MINMAX = 5;
75 static const int MSG_MODE_NONE = 0;
76 static const int MSG_MODE_ALL = 1;
77 static const int MSG_MODE_EARLIEST = 2;
78 static const int MSG_MODE_LATEST = 3;
87 int getNextMessage(
UhhMessageItem* NextMsg,
double lEarliestPtime);
88 int getPtime(
double* out);
89 int getPtimeEarliest(
double* out);
90 int getPtimeEarliestSameNumPoints(
double* out);
91 int getPtimeLatest(
double* out);
92 int getSegmentHeader(
UhhSegHdr* target,
bool bOther,
bool bPoint);
93 int getUhhSequenceNumberSupported();
94 int getUhhSequenceNumbers(
int* target,
int max);
95 int navOpen(
int z_nGroup,
bool z_bSuspended,
int z_nMaxPoints);
96 int openForMessages(
int z_nGroup);
100 void setDirection(
bool z_bDirection);
102 void setUhhSequenceNumbers(
int z_nMin,
int z_nMax);
103 void setInstrumentNumber(
int z_n);
104 void setInterval(
long z_lInterval);
105 void setMessageFilter(
int z_nCategories);
106 void setMessageMode(
int z_nMode);
107 int setPtime(
double z_lPtime,
int* confChanges);
108 int setPtimeEarliest(
double* pTimeSet);
109 int setPtimeLatest(
double* pTimeSet);
110 void setTraceMode(
int z_nMode);
111 double subtractClockPeriod(
double z_lPtime,
double z_lClockPeriod);
112 double timeFromPtime(
double z_lPtime);
116 bool m_requireMessages;
117 uc_char* m_directory;
int getInstrumentNumbers(int *target, int max)
Definition: uhh_navigator_cpp.cpp:673
int getGroupNumbers(int *target, int max)
Definition: uhh_navigator_cpp.cpp:708
uhh_navigator_cpp(char *z_sHost)
Definition: uhh_navigator_cpp.cpp:797
Definition: uhh_seghdr.h:116
Definition: uhh_dataitem.h:53
Definition: uhh_messageitem.h:17
int getFinalRecStatus()
Definition: uhh_navigator_cpp.cpp:741
Definition: uhh_navigator_cpp.h:24
int setDirectory(uc_char *z_sDirectory)
Definition: uhh_navigator_cpp.cpp:17
Definition: uhh_heap.h:31
void navClose()
Definition: uhh_navigator_cpp.cpp:756
~uhh_navigator_cpp()
Definition: uhh_navigator_cpp.cpp:999