mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:40:06 +00:00 
			
		
		
		
	Add additional alert display columns
- State, counties, start and end time
This commit is contained in:
		
							parent
							
								
									8fe7d5da6e
								
							
						
					
					
						commit
						fdd981899f
					
				
					 8 changed files with 126 additions and 15 deletions
				
			
		|  | @ -86,14 +86,24 @@ void TextEventManager::Impl::HandleMessage( | |||
| { | ||||
|    auto segments = message->segments(); | ||||
| 
 | ||||
|    // If there are no segments, if the first segment has no header, or if there
 | ||||
|    // is no VTEC string, skip this message
 | ||||
|    if (segments.empty() || !segments[0]->header_.has_value() || | ||||
|        segments[0]->header_->vtecString_.empty()) | ||||
|    // If there are no segments, skip this message
 | ||||
|    if (segments.empty()) | ||||
|    { | ||||
|       return; | ||||
|    } | ||||
| 
 | ||||
|    for (auto& segment : segments) | ||||
|    { | ||||
|       // If a segment has no header, or if there is no VTEC string, skip this
 | ||||
|       // message. A segmented message corresponding to a text event should have
 | ||||
|       // this information.
 | ||||
|       if (!segment->header_.has_value() || | ||||
|           segment->header_->vtecString_.empty()) | ||||
|       { | ||||
|          return; | ||||
|       } | ||||
|    } | ||||
| 
 | ||||
|    std::unique_lock lock(textEventMutex_); | ||||
| 
 | ||||
|    // Find a matching event in the event map
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat