DUNE: Uniform Navigational Environment  2016.09.0
DUNE::Hardware::IntelHEX Class Reference

Public Types

typedef std::map< unsigned,
std::vector< uint8_t > > 
PageTable
 

Public Member Functions

 IntelHEX (const std::string &file_name, unsigned page_size)
 
void dump (std::ostream &os) const
 
const PageTablegetTable (void) const
 

Member Typedef Documentation

typedef std::map<unsigned, std::vector<uint8_t> > DUNE::Hardware::IntelHEX::PageTable

Constructor & Destructor Documentation

DUNE::Hardware::IntelHEX::IntelHEX ( const std::string &  file_name,
unsigned  page_size 
)

Constructor. Parse Intel IHEX file.

Member Function Documentation

void DUNE::Hardware::IntelHEX::dump ( std::ostream &  os) const

Dump contents of the page table to an output stream.

Parameters
[in]osoutput stream.
const PageTable& DUNE::Hardware::IntelHEX::getTable ( void  ) const
inline

Retrieve page table.

Returns
page table.

Referenced by DUNE::Hardware::UCTK::Bootloader::program().

Collaboration diagram for DUNE::Hardware::IntelHEX:
Collaboration graph