20 namespace TTEthernetModel {
25 Enter_Method(
"executeCallback(cb)");
33 getDisplayString().setTagArg(
"i2", 0,
"");
34 getDisplayString().setTagArg(
"tt", 0,
"");
36 std::string buffersString = par(
"buffers").stdstringValue();
37 std::vector<std::string> bufferPaths;
38 split(buffersString,
',',bufferPaths);
39 for(std::vector<std::string>::iterator bufferPath = bufferPaths.begin();
40 bufferPath!=bufferPaths.end();bufferPath++){
41 cModule* module = simulation.getModuleByPath((*bufferPath).c_str());
44 if(buffer && buffer->hasPar(
"ct_id")){
45 buffers[buffer->par(
"ct_id").longValue()].push_back(buffer);
50 ev<<
"Configuration problem: Module "<<(*bufferPath)<<
" could not be resolved or is no CT-Buffer (TT or RC)!"<<endl;
51 getDisplayString().setTagArg(
"i2", 0,
"status/excl3");
52 getDisplayString().setTagArg(
"tt", 0,
"WARNING: Configuration Problem Application Buffer!");