Log entry recording the build-time git state.  
 More...
#include <git_state.hpp>
Log entry recording the build-time git state. 
Definition at line 25 of file git_state.hpp.
 
◆ format()
  
  
      
        
          | static int MagAOX::logger::flatbuffer_log::format  | 
          ( | 
          void *  | 
          msgBuffer,  | 
         
        
           | 
           | 
          const fbMessage &  | 
          msg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Format the buffer given the input message. 
- Todo:
 - this is an unneccesary memcpy from the FlatBufferBuilder, we need to figure out how to not do this. 
 
- Parameters
 - 
  
    | msgBuffer | the buffer, must be pre-allocated to size length(msg)  | 
    | msg | the message which contains a flatbuffer builder, from which the data are memcpy-ed.  | 
  
   
Definition at line 47 of file flatbuffer_log.hpp.
 
 
◆ length()
◆ modified()
  
  
      
        
          | static bool MagAOX::logger::git_state::modified  | 
          ( | 
          void *  | 
          msgBuffer | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ msgString()
  
  
      
        
          | static std::string MagAOX::logger::git_state::msgString  | 
          ( | 
          void *  | 
          msgBuffer,  | 
         
        
           | 
           | 
          flatlogs::msgLenT  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Get the message formatte for human consumption. 
- Parameters
 - 
  
    | [in] | msgBuffer | Buffer containing the flatbuffer serialized message.  | 
    | [in] | len | [unused] length of msgBuffer.  | 
  
   
Definition at line 56 of file git_state.hpp.
 
 
◆ repoName()
  
  
      
        
          | static std::string MagAOX::logger::git_state::repoName  | 
          ( | 
          void *  | 
          msgBuffer | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Access the repo name field. 
- Parameters
 - 
  
    | [in] | msgBuffer | Buffer containing the flatbuffer serialized message.  | 
  
   
Definition at line 77 of file git_state.hpp.
 
 
◆ defaultLevel
◆ eventCode
The documentation for this struct was generated from the following file: