GObjectsMVCFactory* GObjectsMVCFactory:: instance = NULL;
GObjectsMVCFactory::GObjectsMVCFactory()
- {
- _interpreter =Interpreter::New();
- _interpreter->SetCommandLine(true);
- std::stringstream* buf = new std::stringstream;
- *buf << "exec freeze_no_error" << std::endl;
- *buf << "message max 0" << std::endl;
- *buf << "include *" << std::endl;
- _interpreter->InterpretBuffer(buf);
+ {
}
//=========================================================================
}
//=========================================================================
- BlackBoxDescriptor::Pointer GObjectsMVCFactory::getBlackBoxDescriptor(std::string packageName, std::string boxName)
- {
- Factory::Pointer factory = _interpreter->GetExecuter()->GetFactory();
- Package::Pointer k = factory->GetPackage(packageName);
- std::map< std::string, BlackBoxDescriptor::Pointer> mapDesc = k->GetDescriptorMap();
- return mapDesc[boxName];
- }
-
+
//=========================================================================
GObjectsMVCFactory* GObjectsMVCFactory :: getInstance()
{