Replaced ported prdfScanFacility.[HC]
The ScanFacility was just a bunch of wrapper functions for the
flyweights. I eliminated the wrappers by making singletons for each
flyweight.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I8ff96f33da2d52e2c1abc3556d094dabcf441945
diff --git a/src/isolator/hei_isolator.cpp b/src/isolator/hei_isolator.cpp
index aea45df..b09f16a 100644
--- a/src/isolator/hei_isolator.cpp
+++ b/src/isolator/hei_isolator.cpp
@@ -1,6 +1,7 @@
#include <isolator/hei_isolator.hpp>
#include <register/hei_hardware_register.hpp>
+#include <util/hei_flyweight.hpp>
namespace libhei
{
@@ -27,6 +28,9 @@
// BEGIN temporary code
HEI_INF( "Isolator::uninitialize()" );
// END temporary code
+
+ // Remove all of the isolation objects stored in the flyweights.
+ Flyweight<HardwareRegister>::getSingleton().clear();
}
ReturnCode Isolator::isolate( const std::vector<Chip> & i_chipList,