map/das-dn/third_party/AdsLib/AdsDef.h

29 lines
606 B
C
Raw Normal View History

2024-12-03 10:36:06 +08:00
// SPDX-License-Identifier: MIT
/**
Copyright (c) 2015 - 2022 Beckhoff Automation GmbH & Co. KG
*/
#pragma once
#if defined(USE_TWINCAT_ROUTER)
#include "TwinCAT/AdsDef.h"
#else
2024-12-05 11:28:59 +08:00
#include "Standalone/AdsDef.h"
2024-12-03 10:36:06 +08:00
#endif
2024-12-05 11:04:47 +08:00
#include <iosfwd>
2024-12-03 10:36:06 +08:00
bool operator<(const AmsNetId& lhs, const AmsNetId& rhs);
bool operator<(const AmsAddr& lhs, const AmsAddr& rhs);
std::ostream& operator<<(std::ostream& os, const AmsNetId& netId);
2024-12-05 11:04:47 +08:00
AmsNetId make_AmsNetId(const std::string& addr);
2024-12-03 10:36:06 +08:00
2024-12-05 11:04:47 +08:00
namespace bhf
{
namespace ads
{
2024-12-03 10:36:06 +08:00
enum nSystemServiceOpenFile : uint32_t {
SYSTEMSERVICE_OPENGENERIC /*[[deprecated]]*/ = 1,
};
}
2024-12-05 11:04:47 +08:00
}