+ \r
+ AbstractInterface* funCtlIface = NULL;\r
+ AbstractInterface* funDataIface = NULL;\r
+ \r
+ for(i=0;i<lstRef.size();i++) { \r
+ AbstractInterface* refIface = lstRef.at(i); \r
+ if (refIface->getPurpose() == AbstractInterface::Control) {\r
+ funCtlIface = hashIface.value(refIface);\r
+ funDataIface = hashIface.value(refIface->getAssociatedIface());\r
+ if (! funCtlIface->setAssociatedIface(funDataIface)) {\r
+ cerr << "Abnormal case when associating a control interface to data" << endl << "Aborting execution." << endl;\r
+ exit(1);\r
+ } \r
+ }\r
+ }\r