Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/TemporalSubscriber.cpp (1 of 9 files). Show all
Unified · Split
| @@ -69,8 +69,8 @@ void TemporalSubscriber::SendTemporalData() · 68 unmodified lines | ||
| 69 | 69 | { |
| 70 | 70 | if (m_stopped) |
| 71 | 71 | return; |
| 72 | − | |
| 73 | − static DataTable& history = *s_history->Table("History"); | |
| 72 | + | |
| 73 | + static DataTable& history = *s_history->Table("History"); | |
| 74 | 74 | static const int32_t signalIDColumn = history["SignalID"]->Index(); |
| 75 | 75 | static const int32_t timestampColumn = history["Timestamp"]->Index(); |
| 76 | 76 | static const int32_t valueColumn = history["Value"]->Index(); |
| @@ -111,12 +111,12 @@ void TemporalSubscriber::CompleteTemporalSubscription() · 34 unmodified lines | ||
| 111 | 111 | if (m_stopped) |
| 112 | 112 | return; |
| 113 | 113 | |
| 114 | − m_stopped = true; | |
| 115 | − m_processTimer->Stop(); | |
| 114 | + m_stopped = true; | |
| 115 | + m_processTimer->Stop(); | |
| 116 | 116 | m_connection->CancelTemporalSubscription(); |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | bool TemporalSubscriber::GetIsStopped() const |
| 120 | 120 | { |
| 121 | − return m_stopped; | |
| 121 | + return m_stopped; | |
| 122 | 122 | } |