Commit 06ed03e0 authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Cleanup of previous commit

parent ac037dc3
...@@ -5,12 +5,21 @@ ...@@ -5,12 +5,21 @@
using namespace std; using namespace std;
EventPipe::EventPipe(std::string const & name)
{
agentName = name;
}
EventPipe::~EventPipe()
{
}
EventPipe::reset(void) EventPipe::reset(void)
{ {
string command; string command;
command = "/usr/testbed/bin/tevc -e " command = "/usr/testbed/bin/tevc -e "
+ g::projectName + '/' + g::experimentName + g::experimentName
+ " now " + agentName +" MODIFY " + + " now " + agentName +" MODIFY " +
+ "BANDWIDTH=100000 " + "BANDWIDTH=100000 "
+ "DELAY=0 " + "DELAY=0 "
......
...@@ -20,6 +20,7 @@ public: ...@@ -20,6 +20,7 @@ public:
virtual void reset(void); virtual void reset(void);
virtual void resetParameter(Parameter const & newParameter); virtual void resetParameter(Parameter const & newParameter);
private: private:
string agentName;
}; };
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment