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 | if (m_stopped) | 70 | if (m_stopped) |
| 71 | return; | 71 | return; |
| 72 | 72 | ||
| 73 | static DataTable& history = *s_history->Table("History"); | 73 | static DataTable& history = *s_history->Table("History"); |
| 74 | static const int32_t signalIDColumn = history["SignalID"]->Index(); | 74 | static const int32_t signalIDColumn = history["SignalID"]->Index(); |
| 75 | static const int32_t timestampColumn = history["Timestamp"]->Index(); | 75 | static const int32_t timestampColumn = history["Timestamp"]->Index(); |
| 76 | static const int32_t valueColumn = history["Value"]->Index(); | 76 | static const int32_t valueColumn = history["Value"]->Index(); |
| @@ -111,12 +111,12 @@ void TemporalSubscriber::CompleteTemporalSubscription() · 34 unmodified lines | |||
| 111 | if (m_stopped) | 111 | if (m_stopped) |
| 112 | return; | 112 | return; |
| 113 | 113 | ||
| 114 | m_stopped = true; | 114 | m_stopped = true; |
| 115 | m_processTimer->Stop(); | 115 | m_processTimer->Stop(); |
| 116 | m_connection->CancelTemporalSubscription(); | 116 | m_connection->CancelTemporalSubscription(); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | bool TemporalSubscriber::GetIsStopped() const | 119 | bool TemporalSubscriber::GetIsStopped() const |
| 120 | { | 120 | { |
| 121 | return m_stopped; | 121 | return m_stopped; |
| 122 | } | 122 | } |