13.07.2015 Views

CashFlow, A Visualization Framework for 3D Flow - Studierstube ...

CashFlow, A Visualization Framework for 3D Flow - Studierstube ...

CashFlow, A Visualization Framework for 3D Flow - Studierstube ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Implementation4.6. Implementation of Data Consumers4.6 Implementation of Data ConsumersThe Data Consumer node is an abstract class unify all nodes reading or writing data inthe <strong>Cash<strong>Flow</strong></strong> framework. The remaining part of this chapter resumes the three derivedclasses of Data Consumer node and closes with a class hierarchy of <strong>Cash<strong>Flow</strong></strong> nodeson page 97.4.6.1 SoLoaderNodeFigure 4.19: <strong>Cash<strong>Flow</strong></strong>: Data flow model - Loader nodeOne minor part is to be able to load several binary data files. The SoLoaderNodeis the base class <strong>for</strong> binary loaders. It provides useful methods like conversions fromlittle endian to big endian and vice versa as well as methods <strong>for</strong> checking the size of afile. This is important, because a lot of binary data files can only be loaded correctlyif the header in<strong>for</strong>mation in the file is crosschecked with the file size. Based on thispieces of in<strong>for</strong>mation a assumption is made whether the binary files byte order is in bigendian 8 in little endian 9 byte order.8 big endian byte order: the lowest address in memory is stored in high-order byte, the highest address inmemory is stored in the low-order byte (MAC,SGI).9 little endian byte order: the lowest address in memory is stored in low-order byte, the highest address inmemory is stored in the high-order byte (intel,PC).92

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!