mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
wip
This commit is contained in:
@ -405,18 +405,6 @@ typedef struct {
|
||||
ALL = I3GBE | I10GBE
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
inline EthernetInterface operator|(EthernetInterface a,
|
||||
EthernetInterface b) {
|
||||
return EthernetInterface(static_cast<int32_t>(a) |
|
||||
static_cast<int32_t>(b));
|
||||
}
|
||||
|
||||
inline bool operator&(EthernetInterface a, EthernetInterface b) {
|
||||
return (static_cast<int32_t>(a) & static_cast<int32_t>(b));
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
/** scan structure */
|
||||
@ -508,8 +496,18 @@ typedef struct {
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
inline slsDetectorDefs::EthernetInterface
|
||||
operator|(const slsDetectorDefs::EthernetInterface &a,
|
||||
const slsDetectorDefs::EthernetInterface &b) {
|
||||
return slsDetectorDefs::EthernetInterface(static_cast<int32_t>(a) |
|
||||
static_cast<int32_t>(b));
|
||||
};
|
||||
|
||||
inline bool operator&(const slsDetectorDefs::EthernetInterface &a,
|
||||
const slsDetectorDefs::EthernetInterface &b) {
|
||||
return (static_cast<int32_t>(a) & static_cast<int32_t>(b));
|
||||
};
|
||||
#endif
|
||||
;
|
||||
|
||||
#ifdef __cplusplus
|
||||
struct detParameters {
|
||||
|
Reference in New Issue
Block a user