summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkinnebrew <jkinnebrew@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-10-15 21:23:58 +0000
committerjkinnebrew <jkinnebrew@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-10-15 21:23:58 +0000
commit9adbcb2221331d3094607f4b86e7419e3e56777f (patch)
treeccbf51b7e10fdb9ab12c585b072321d59aff0635
parent8ee991cffb45c1c13030fb589b2a446773c5b2ed (diff)
downloadATCD-9adbcb2221331d3094607f4b86e7419e3e56777f.tar.gz
-rw-r--r--SA_POP/Driver.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/SA_POP/Driver.cpp b/SA_POP/Driver.cpp
index be1e2df4dd7..88250bc564c 100644
--- a/SA_POP/Driver.cpp
+++ b/SA_POP/Driver.cpp
@@ -156,20 +156,6 @@ int main (int argc, char **argv)
SA_POP::PortID taskAport = conn.first_port;
SA_POP::PortID taskBport = conn.second_port;
- std::string taskAname = "";
- SA_POP::PlanInstSet::iterator inst_iter = plan.task_insts.find (taskA);
- if (inst_iter != plan.task_insts.end ())
- taskAname = (*inst_iter).name);
- else
- throw "SA_POP::Driver::main (): Instance not found to get name when adding data links.");
-
- std::string taskBname = "";
- SA_POP::PlanInstSet::iterator inst_iter = plan.task_insts.find (taskB);
- if (inst_iter != plan.task_insts.end ())
- taskBname = (*inst_iter).name);
- else
- throw "SA_POP::Driver::main (): Instance not found to get name when adding data links.");
-
// Get deployment plan instances (port IDs are the same).
InstToIndexMap::iterator taskA_iter = inst_to_index.find (taskA);
CORBA::ULong taskAinst = taskA_iter->second;
@@ -180,14 +166,10 @@ int main (int argc, char **argv)
std::string conn_name = "";
conn_name += itoa (taskAinst, buffer, 64);
conn_name += "_";
- conn_name += taskAname;
- conn_name += "_";
conn_name += taskAport;
conn_name += "___";
conn_name += itoa (taskBinst, buffer, 64);
conn_name += "_";
- conn_name += taskBname;
- conn_name += "_";
conn_name += taskBport;
// Create connection endpoints.