History

TimeSeriesPlatformLibrary: Converter function pointer to standard function templates to support more versatile function registration, e.g, lambda expressions.

J. Ritchie Carroll committed 7 years ago

Commit 70535871 parent 0c9b55217 files · +346 −307Browse files

Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/SubscriberHandler.cpp (1 of 17 files). Show all

Unified · Split

Source/Libraries/TimeSeriesPlatformLibrary/Samples/SubscriberHandler.cpp+3−3
@@ -32,8 +32,8 @@ using namespace std; · 31 unmodified lines
32using namespace GSF;32using namespace GSF;
33using namespace GSF::TimeSeries;33using namespace GSF::TimeSeries;
34 34
35SubscriberHandler::SubscriberHandler(string name) :35SubscriberHandler::SubscriberHandler(const string& name) :
36 m_name(std::move(name))36 m_name(name)
37{37{
38}38}
39 39
@@ -178,7 +178,7 @@ void SubscriberHandler::ReceivedNewMeasurements(const vector<MeasurementPtr>& me · 138 unmodified lines
178 178
179 message << '\t' << GetTotalMeasurementsReceived() << endl;179 message << '\t' << GetTotalMeasurementsReceived() << endl;
180 180
181 cout << message.str();181 StatusMessage(message.str());
182 }182 }
183}183}
184 184

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