Application State Change.  
 More...
#include <state_change.hpp>
Application State Change. 
Definition at line 27 of file state_change.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()
◆ msgString()
  
  
      
        
          | static std::string MagAOX::logger::state_change::msgString  | 
          ( | 
          void *  | 
          msgBuffer,  | 
         
        
           | 
           | 
          flatlogs::msgLenT  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Format the message for text output, including translation of state codes to text form. 
- Returns
 - the message formatted as "State changed from UNINITIALIZED to INITIALIZED" 
 
- Parameters
 - 
  
    | [in] | msgBuffer | Buffer containing the flatbuffer serialized message.  | 
    | [in] | len | [unused] length of msgBuffer.  | 
  
   
Definition at line 51 of file state_change.hpp.
 
 
◆ defaultLevel
◆ eventCode
The documentation for this struct was generated from the following file: