#include <mngTlvs.h>
Subscribe events TLV 
- Note
 - linuxptp implementation specific 
 
 
◆ clearAll()
      
        
          | void SUBSCRIBE_EVENTS_NP_t::clearAll  | 
          ( | 
           | ) | 
           | 
        
      
 
Clear all events in bitmask 
 
 
◆ clearEvent()
      
        
          | void SUBSCRIBE_EVENTS_NP_t::clearEvent  | 
          ( | 
          int  | 
          event | ) | 
           | 
        
      
 
Clear event bit in bitmask 
- Parameters
 - 
  
  
 
 
 
◆ getEvent()
      
        
          | bool SUBSCRIBE_EVENTS_NP_t::getEvent  | 
          ( | 
          int  | 
          event | ) | 
           const | 
        
      
 
Get bit value in bitmask 
- Parameters
 - 
  
  
 
- Returns
 - true if event set 
 
 
 
◆ setEvent()
      
        
          | void SUBSCRIBE_EVENTS_NP_t::setEvent  | 
          ( | 
          int  | 
          event | ) | 
           | 
        
      
 
Set event bit in bitmask 
- Parameters
 - 
  
  
 
 
 
◆ bitmask
bitmask of events state Default constructor We need to zero the bitmask, as we do not set it explicity! 
 
 
◆ duration
      
        
          | uint16_t SUBSCRIBE_EVENTS_NP_t::duration | 
        
      
 
 
The documentation for this struct was generated from the following file: