ParamFlow.cc
630 Bytes
/*
* ParamFlow.cc
*
* Created on: Jan 18, 2013
* Author: f.casimir
*/
#include "VirtualInstrumentInterval.hh"
#include "ParamFlow.hh"
namespace AMDA {
namespace DDServerInterface {
namespace VI {
ParamFlow::ParamFlow(VirtualInstrumentInterval& pVI) : _vi(pVI) {
}
ParamFlow::~ParamFlow() {
}
PacketPtr ParamFlow::get() {
if(_packetList.empty()) {
_vi.getAsync();
}
return _packetList.pop();
}
bool ParamFlow::isTimeIntToProcessChanged() {
return _vi.isTimeIntToProcessChanged();
}
} /* namespace VI */
} /* namespace DDServerInterface */
} /* namespace AMDA */