Child: [569601] (diff)
Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/* * PushBackChannel.cpp * * Created on: Jan 30, 2015 * Author: imarek */ #include <PushBackChannel.h> Define_Channel(PushBackChannel); PushBackChannel::PushBackChannel() { txfinishtime = SIMTIME_ZERO; } PushBackChannel::~PushBackChannel() { // TODO Auto-generated destructor stub } void PushBackChannel::setBusy(bool busy) { if(busy){ txfinishtime = SimTime::getMaxTime(); }else{ txfinishtime = 0; } }