39 lines
851 B
C++
39 lines
851 B
C++
/*
|
|
* File: MoversightChannel.h
|
|
* Author: noackrob
|
|
* Author: jgaebler
|
|
*
|
|
* Created on August 21, 2013, 10:27 AM
|
|
*/
|
|
#pragma once
|
|
|
|
#ifndef MOVERSIGHTCHANNEL_H
|
|
#define MOVERSIGHTCHANNEL_H
|
|
|
|
#include <cdataratechannel.h>
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
/**
|
|
* @brief Provides a generic channel, usable within moversight simulations.
|
|
* @class MoversightChannel
|
|
* @author Rober Noack
|
|
* @author Jan Gäbler
|
|
* @ingroup Moversight
|
|
*/
|
|
class MoversightChannel : public cDatarateChannel {
|
|
public:
|
|
|
|
virtual simtime_t getTransmissionFinishTime() const;
|
|
|
|
virtual void initialize();
|
|
virtual void processMessage(cMessage *msg, simtime_t t, result_t& result);
|
|
|
|
private:
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* MOVERSIGHTCHANNEL_H */
|