Entry or element in the circular buffer maintained by the Gcs_async_buffer responsible for storing a message that will eventually be asynchronously written to a sink.  
 More...
#include <gcs_logging_system.h>
Entry or element in the circular buffer maintained by the Gcs_async_buffer responsible for storing a message that will eventually be asynchronously written to a sink. 
 
◆ Gcs_log_event() [1/2]
  
  
      
        
          | Gcs_log_event::Gcs_log_event  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
explicitdefault   | 
  
 
 
◆ Gcs_log_event() [2/2]
◆ flush_event()
Write the current message into a sink. 
- Parameters
 - 
  
    | sink | Where the message should be written to. | 
  
   
- Return values
 - 
  
    | Currently,it | always false.  | 
  
   
 
 
◆ get_buffer()
  
  
      
        
          | char * Gcs_log_event::get_buffer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Get a reference to a buffer entry that holds a message that will be eventually written to a sink. 
 
 
◆ get_buffer_size()
  
  
      
        
          | size_t Gcs_log_event::get_buffer_size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the content size provided it was already filled in. 
Otherwise, an unknown value is returned. 
 
 
◆ get_max_buffer_size()
  
  
      
        
          | size_t Gcs_log_event::get_max_buffer_size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get the maximum buffer size. 
 
 
◆ operator=()
◆ set_buffer_size()
  
  
      
        
          | void Gcs_log_event::set_buffer_size  | 
          ( | 
          size_t  | 
          message_size | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_event()
  
  
      
        
          | void Gcs_log_event::set_event  | 
          ( | 
          bool  | 
          ready | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Set whether the message is ready to be consumed or not. 
 
 
◆ m_message_buffer
Buffer to hold a message that will eventually be written to a sink. 
 
 
◆ m_message_size
  
  
      
        
          | size_t Gcs_log_event::m_message_size {0} | 
         
       
   | 
  
private   | 
  
 
 
◆ m_ready_flag
  
  
      
        
          | std::atomic<bool> Gcs_log_event::m_ready_flag {false} | 
         
       
   | 
  
private   | 
  
 
Flag used to indicate whether the message can be consumed or not. 
 
 
The documentation for this class was generated from the following file: