History

TimeSeriesPlatformLibrary: Added temporal support options to DataPublisher interfaces.

J. Ritchie Carroll committed 7 years ago

Commit 5c5b4061 parent 04505f228 files · +603 −300Browse files

Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataSubscriber.h (1 of 28 files). Show all

Unified · Split

Source/Libraries/TimeSeriesPlatformLibrary/Transport/DataSubscriber.h+10−9
@@ -134,7 +134,7 @@ namespace Transport · 133 unmodified lines
134 134
135 class DataSubscriber // NOLINT135 class DataSubscriber // NOLINT
136 {136 {
137 private:137 public:
138 // Function pointer types138 // Function pointer types
139 typedef std::function<void(DataSubscriber*, const std::vector<uint8_t>&)> DispatcherFunction;139 typedef std::function<void(DataSubscriber*, const std::vector<uint8_t>&)> DispatcherFunction;
140 typedef std::function<void(DataSubscriber*, const std::string&)> MessageCallback;140 typedef std::function<void(DataSubscriber*, const std::string&)> MessageCallback;
@@ -144,6 +144,7 @@ namespace Transport · 3 unmodified lines
144 typedef std::function<void(DataSubscriber*)> ConfigurationChangedCallback;144 typedef std::function<void(DataSubscriber*)> ConfigurationChangedCallback;
145 typedef std::function<void(DataSubscriber*)> ConnectionTerminatedCallback;145 typedef std::function<void(DataSubscriber*)> ConnectionTerminatedCallback;
146 146
147 private:
147 // Structure used to dispatch148 // Structure used to dispatch
148 // callbacks on the callback thread.149 // callbacks on the callback thread.
149 struct CallbackDispatcher150 struct CallbackDispatcher
@@ -263,14 +264,14 @@ namespace Transport · 113 unmodified lines
263 // Callback registration264 // Callback registration
264 //265 //
265 // Callback functions are defined with the following signatures:266 // Callback functions are defined with the following signatures:
266 // void ProcessStatusMessage(DataSubscriber*, const string& message)267 // void ProcessStatusMessage(DataSubscriber* source, const string& message)
267 // void ProcessErrorMessage(DataSubscriber*, const string& message)268 // void ProcessErrorMessage(DataSubscriber* source, const string& message)
268 // void ProcessDataStartTime(DataSubscriber*, int64_t startTime)269 // void ProcessDataStartTime(DataSubscriber* source, int64_t startTime)
269 // void ProcessMetadata(DataSubscriber*, const vector<uint8_t>& metadata)270 // void ProcessMetadata(DataSubscriber* source, const vector<uint8_t>& metadata)
270 // void ProcessNewMeasurements(DataSubscriber*, const vector<MeasurementPtr>& newMeasurements)271 // void ProcessNewMeasurements(DataSubscriber* source, const vector<MeasurementPtr>& newMeasurements)
271 // void ProcessProcessingComplete(DataSubscriber*, const string& message)272 // void ProcessProcessingComplete(DataSubscriber* source, const string& message)
272 // void ProcessConfigurationChanged(DataSubscriber*)273 // void ProcessConfigurationChanged(DataSubscriber* source)
273 // void ProcessConnectionTerminated(DataSubscriber*)274 // void ProcessConnectionTerminated(DataSubscriber* source)
274 //275 //
275 // Metadata is provided to the user as zlib-compressed XML,276 // Metadata is provided to the user as zlib-compressed XML,
276 // and must be decompressed and interpreted before it can be used.277 // and must be decompressed and interpreted before it can be used.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t