The srecord::memory_walker_alignment class is used to represent the parse state of a memory walker which determines whether or not the data are well aligned.  
 More...
#include <alignment.h>
 | 
| static pointer  | create (unsigned multiple) | 
|   | The create class method is used to create new dynamically allocated instances of class.  More...
  | 
|   | 
 | 
| void  | observe (unsigned long, const void *, int) | 
|   | The observe method is used by the memory walker to provide data.  More...
  | 
|   | 
| void  | observe_end (void) | 
|   | The observe_end method is called once all of the data blocks have been passed to the observer via the observe() method.  More...
  | 
|   | 
|   | memory_walker () | 
|   | The default constructor.  More...
  | 
|   | 
The srecord::memory_walker_alignment class is used to represent the parse state of a memory walker which determines whether or not the data are well aligned. 
Definition at line 32 of file alignment.h.
 
◆ pointer
◆ ~memory_walker_alignment()
  
  
      
        
          | virtual srecord::memory_walker_alignment::~memory_walker_alignment  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ create()
  
  
      
        
          | static pointer srecord::memory_walker_alignment::create  | 
          ( | 
          unsigned  | 
          multiple | ) | 
           | 
         
       
   | 
  
static   | 
  
 
The create class method is used to create new dynamically allocated instances of class. 
- Parameters
 - 
  
    | multiple | The multiple of bytes we expect for alignment.  | 
  
   
 
 
◆ is_well_aligned()
      
        
          | bool srecord::memory_walker_alignment::is_well_aligned  | 
          ( | 
          void  | 
           | ) | 
           const | 
        
      
 
The is_continuous method is used to get the results of the calculation. 
- Returns
 - true if the data has no holes, false if there are holes 
 
 
 
◆ observe()
  
  
      
        
          | void srecord::memory_walker_alignment::observe  | 
          ( | 
          unsigned long  | 
          address,  | 
         
        
           | 
           | 
          const void *  | 
          data,  | 
         
        
           | 
           | 
          int  | 
          data_size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedvirtual   | 
  
 
The observe method is used by the memory walker to provide data. 
Derived classes are required to impliment this method, and do something with the data.
- Parameters
 - 
  
    | address | The base address of this chunk of memory.  | 
    | data | The base address of this chunk of memory in memory.  | 
    | data_size | The size, in bytes, of this chunk of memory.  | 
  
   
Implements srecord::memory_walker.
 
 
◆ observe_end()
  
  
      
        
          | void srecord::memory_walker_alignment::observe_end  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
The observe_end method is called once all of the data blocks have been passed to the observer via the observe() method. 
Reimplemented from srecord::memory_walker.
 
 
The documentation for this class was generated from the following file: