AdsLib
Loading...
Searching...
No Matches
AdsDef.h
1// SPDX-License-Identifier: MIT
6#pragma once
7
8#if defined(USE_TWINCAT_ROUTER)
9#include "TwinCAT/AdsDef.h"
10#else
11#include "standalone/AdsDef.h"
12#endif
13
14#include <iosfwd>
15bool operator<(const AmsNetId& lhs, const AmsNetId& rhs);
16bool operator<(const AmsAddr& lhs, const AmsAddr& rhs);
17std::ostream& operator<<(std::ostream& os, const AmsNetId& netId);
18AmsNetId make_AmsNetId(const std::string& addr);
19
20namespace bhf
21{
22namespace ads
23{
24enum nSystemServiceOpenFile : uint32_t {
25 SYSTEMSERVICE_OPENGENERIC /*[[deprecated]]*/ = 1,
26};
27}
28}
Definition: AdsDef.h:21
The complete address of an ADS device can be stored in this structure.
Definition: AdsDef.h:237
The NetId of and ADS device can be represented in this structure.
Definition: AdsDef.h:224