History

TimeSeriesPlatformLibrary: Completed TSSC implementation.

J. Ritchie Carroll committed 8 years ago

Commit 910fd861 parent 1e8824913 files · +164 −150Browse files

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

Unified · Split

Source/Libraries/TimeSeriesPlatformLibrary/Samples/AverageFrequencyCalculator.cpp+2−3
@@ -98,14 +98,13 @@ void RunSubscriber(string hostname, uint16_t port) · 97 unmodified lines
98 Subscriber.RegisterStatusMessageCallback(&DisplayStatusMessage);98 Subscriber.RegisterStatusMessageCallback(&DisplayStatusMessage);
99 Subscriber.RegisterErrorMessageCallback(&DisplayErrorMessage);99 Subscriber.RegisterErrorMessageCallback(&DisplayErrorMessage);
100 100
101 // Connect and subscribe to publisher
102 cout << endl << "Connecting to " << hostname << ":" << port << "..." << endl << endl;101 cout << endl << "Connecting to " << hostname << ":" << port << "..." << endl << endl;
103 102
104 // Connect and subscribe to publisher103 // Connect and subscribe to publisher
105 if (connector.Connect(Subscriber))104 if (connector.Connect(Subscriber, Info))
106 {105 {
107 cout << "Connected! Subscribing to data..." << endl << endl;106 cout << "Connected! Subscribing to data..." << endl << endl;
108 Subscriber.Subscribe(Info);107 Subscriber.Subscribe();
109 }108 }
110 else109 else
111 {110 {

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