summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum2012-09-03 13:33:06 -0700
committerJosh Blum2012-09-03 13:33:06 -0700
commit39545d55cd89f1dbb8092cfed6864d40db56ac0e (patch)
tree7453ecb5127659e4b049f5a82762fff9f7440a00 /lib
parent54c59aa3c4517c5ceac5e90c2ec081a993b28ce7 (diff)
downloadsandhi-39545d55cd89f1dbb8092cfed6864d40db56ac0e.tar.gz
sandhi-39545d55cd89f1dbb8092cfed6864d40db56ac0e.tar.bz2
sandhi-39545d55cd89f1dbb8092cfed6864d40db56ac0e.zip
copied over the old msg swig stuff for the sake of completeness
Diffstat (limited to 'lib')
-rw-r--r--lib/block_task.cpp2
-rw-r--r--lib/element.cpp2
-rw-r--r--lib/top_block.cpp7
3 files changed, 10 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp
index 6954382..0dcfca4 100644
--- a/lib/block_task.cpp
+++ b/lib/block_task.cpp
@@ -61,11 +61,13 @@ void ElementImpl::mark_done(const tsbe::TaskInterface &task_iface)
task_iface.post_downstream(i, CheckTokensMessage());
}
+ /*
std::cout
<< "==================================================\n"
<< "== The " << name << " is done...\n"
<< "==================================================\n"
<< std::flush;
+ //*/
}
void ElementImpl::handle_task(const tsbe::TaskInterface &task_iface)
diff --git a/lib/element.cpp b/lib/element.cpp
index db0bbac..34cfcf4 100644
--- a/lib/element.cpp
+++ b/lib/element.cpp
@@ -30,7 +30,7 @@ Element::Element(void)
Element::Element(const std::string &name)
{
this->reset(new ElementImpl());
- VAR(name);
+ //VAR(name);
(*this)->name = name;
(*this)->unique_id = ++unique_id_pool;
diff --git a/lib/top_block.cpp b/lib/top_block.cpp
index e0751b5..ea86470 100644
--- a/lib/top_block.cpp
+++ b/lib/top_block.cpp
@@ -32,9 +32,11 @@ TopBlock::TopBlock(const std::string &name):
config.topology = (*this)->topology;
(*this)->executor = tsbe::Executor(config);
(*this)->token = Token::make();
+ /*
std::cout << "===================================================" << std::endl;
std::cout << "== Top Block Created: " << name << std::endl;
std::cout << "===================================================" << std::endl;
+ //*/
}
void ElementImpl::top_block_cleanup(void)
@@ -42,6 +44,11 @@ void ElementImpl::top_block_cleanup(void)
TopBlockMessage event;
event.what = TopBlockMessage::INERT;
this->executor.post_msg(event);
+ /*
+ std::cout << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" << std::endl;
+ std::cout << "xx Top Block Deleted: " << name << std::endl;
+ std::cout << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" << std::endl;
+ //*/
}
void TopBlock::update(void)