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
134134
135135 class DataSubscriber // NOLINT
136136 {
137− private:
137+ public:
138138 // Function pointer types
139139 typedef std::function<void(DataSubscriber*, const std::vector<uint8_t>&)> DispatcherFunction;
140140 typedef std::function<void(DataSubscriber*, const std::string&)> MessageCallback;
@@ -144,6 +144,7 @@ namespace Transport · 3 unmodified lines
144144 typedef std::function<void(DataSubscriber*)> ConfigurationChangedCallback;
145145 typedef std::function<void(DataSubscriber*)> ConnectionTerminatedCallback;
146146
147+ private:
147148 // Structure used to dispatch
148149 // callbacks on the callback thread.
149150 struct CallbackDispatcher
@@ -263,14 +264,14 @@ namespace Transport · 113 unmodified lines
263264 // Callback registration
264265 //
265266 // Callback functions are defined with the following signatures:
266− // void ProcessStatusMessage(DataSubscriber*, const string& message)
267− // void ProcessErrorMessage(DataSubscriber*, const string& message)
268− // void ProcessDataStartTime(DataSubscriber*, int64_t startTime)
269− // void ProcessMetadata(DataSubscriber*, const vector<uint8_t>& metadata)
270− // void ProcessNewMeasurements(DataSubscriber*, const vector<MeasurementPtr>& newMeasurements)
271− // void ProcessProcessingComplete(DataSubscriber*, const string& message)
272− // void ProcessConfigurationChanged(DataSubscriber*)
273− // void ProcessConnectionTerminated(DataSubscriber*)
267+ // void ProcessStatusMessage(DataSubscriber* source, const string& message)
268+ // void ProcessErrorMessage(DataSubscriber* source, const string& message)
269+ // void ProcessDataStartTime(DataSubscriber* source, int64_t startTime)
270+ // void ProcessMetadata(DataSubscriber* source, const vector<uint8_t>& metadata)
271+ // void ProcessNewMeasurements(DataSubscriber* source, const vector<MeasurementPtr>& newMeasurements)
272+ // void ProcessProcessingComplete(DataSubscriber* source, const string& message)
273+ // void ProcessConfigurationChanged(DataSubscriber* source)
274+ // void ProcessConnectionTerminated(DataSubscriber* source)
274275 //
275276 // Metadata is provided to the user as zlib-compressed XML,
276277 // 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