blob: 11c9405221be1448ee4ada8251434b60cca3a428 (
plain)
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
|
#ifndef __DSENT_MODEL_OPTICALGRAPH_OPTICALRECEIVER_H__
#define __DSENT_MODEL_OPTICALGRAPH_OPTICALRECEIVER_H__
#include "model/OpticalModel.h"
#include "util/CommonType.h"
namespace DSENT
{
// The job of an optical receiver interface is to provide a function to
// return a sensitivity (in Amps)
class OpticalReceiver
{
public:
OpticalReceiver(){};
virtual ~OpticalReceiver(){};
public:
// Returns the sensitivity of the receiver given an extinction ratio
virtual double getSensitivity(double ER_dB_) const = 0;
};
} // namespace DSENT
#endif // __DSENT_MODEL_OPTICALGRAPH_OPTICALRECEIVER_H__
|