![]() |
eXpress “1.5”
|
The BundleTable class keeps track of the Bundle objects for a given run. More...
#include <bundles.h>
Public Member Functions | |
| BundleTable () | |
| BundleTable Constructor. | |
| ~BundleTable () | |
| BundleTable deconstructor. | |
| const BundleSet & | bundles () const |
| A member function that returns the set of current Bundle objects. | |
| size_t | size () const |
| An accessor for the current number of Bundles. | |
| Bundle * | create_bundle (Target *targ) |
| A member function that creates a new Bundle, initially containing only the single given Target. | |
| Bundle * | merge (Bundle *b1, Bundle *b2) |
| A member function that merges two Bundle objects into one. | |
| void | collapse () |
| Collapses the merge tree so that all targets are placed in the target list of the root node and all other nodes are deleted. | |
| bool | threadsafe_mode () const |
| Accessor for whether or not the BundleTable is in threadsafe mode. | |
| void | threadsafe_mode (bool mode) |
| Mutator for threadsafe mode. | |
The BundleTable class keeps track of the Bundle objects for a given run.
It has the ability to create, delete, and merge bundles.
| BundleTable::~BundleTable | ( | ) |
| const BundleSet& BundleTable::bundles | ( | ) | const [inline] |
A member function that merges two Bundle objects into one.
The Targets are all moved to the larger bundles and the other is deleted.
| b1 | a pointer to one of the Bundle objects to merge. |
| b2 | a pointer to the other Bundle object to merge. |
Definition at line 110 of file bundles.cpp.
| size_t BundleTable::size | ( | ) | const [inline] |
| bool BundleTable::threadsafe_mode | ( | ) | const [inline] |
Accessor for whether or not the BundleTable is in threadsafe mode.
| void BundleTable::threadsafe_mode | ( | bool | mode | ) | [inline] |