forked from aristanetworks/EosSdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxcvr.cpp
63 lines (49 loc) · 1.5 KB
/
xcvr.cpp
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Copyright (c) 2020 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#include "eos/xcvr.h"
#include "impl.h"
namespace eos {
class xcvr_mgr_impl : public xcvr_mgr {
public:
xcvr_mgr_impl() {
}
void frequency_is( intf_id_t intf_id, uint32_t rx, uint32_t tx ) {
}
void rx_fine_frequency_is( intf_id_t intf_id, float freq ) {
}
void rx_frequency_is( intf_id_t intf_id, uint32_t freq ) {
}
void tx_frequency_is( intf_id_t intf_id, uint32_t freq ) {
}
void tx_disabled_is( intf_id_t intf_id, bool disabled ) {
}
void tx_output_power_is( intf_id_t intf_id, float power ) {
}
int32_t tx_turnup_state( intf_id_t intf_id ) const {
return 0;
}
int32_t rx_turnup_state( intf_id_t intf_id ) const {
return 0;
}
int32_t register_read( intf_id_t intf_id, uint16_t addr,
std::string location = "" ) const {
return 0;
}
float rx_fine_frequency( intf_id_t intf_id ) const {
return 0.0;
}
uint32_t rx_frequency( intf_id_t intf_id ) const {
return 0;
}
uint32_t tx_frequency( intf_id_t intf_id ) const {
return 0;
}
bool tx_disabled( intf_id_t intf_id ) const {
return false;
}
float tx_output_power( intf_id_t intf_id ) const {
return 0.0;
}
};
DEFINE_STUB_MGR_CTOR( xcvr_mgr )
} // end namespace eos