next up previous
Next: Initialization Up: BCP Implementation Previous: BCP Implementation

Data Structures

BCP is written to allow for running in parallel. The serial version emulates a parallel environment. Because of this, every data structure that is passed between processes must be packed into a buffer. For most built-in types, BCP_buffer has an overloaded pack and unpack routine. For every user-defined class, we must write our own pack and unpack routine. Typically, these consist of a collection of calls to BCP_buffer::(un)pack() on each data member of the class.


next up previous
Next: Initialization Up: BCP Implementation Previous: BCP Implementation
IP Seminar Series 2003-12-01