|
WSF
|
#include <WsfCommReservedAddressing.hpp>


Public Member Functions | |
| void | Initialize () override |
| Public Member Functions inherited from wsf::comm::ReservedAddressingImplementation | |
| ReservedAddressingImplementation ()=default | |
| virtual | ~ReservedAddressingImplementation ()=default |
| virtual bool | IsReserved (const Address &aAddress) const |
| Checks if the address/32 value is reserved. | |
| virtual Address | QueryAddressByType (const std::string &aReservedType) const |
Additional Inherited Members | |
| Protected Types inherited from wsf::comm::ReservedAddressingImplementation | |
| using | ReservedSet = std::unordered_set<Address> |
| using | ReservedPairSet = std::unordered_set<std::pair<Address, Address>, AddressPairHash> |
| using | ReservedTypeMap = std::unordered_map<std::string, Address> |
| Protected Member Functions inherited from wsf::comm::ReservedAddressingImplementation | |
| virtual bool | IsReservedSimple (const Address &aAddress) const |
| Checks the simple case of an address/32 collision. | |
| Protected Attributes inherited from wsf::comm::ReservedAddressingImplementation | |
| ReservedSet | mReservedAddressSet |
| ReservedPairSet | mReservedAddressRangeSet |
| ReservedTypeMap | mReservedTypeToAddressMap |
The default reserved addressing implementation used by AFSIM core, for usage with pre-defined protocols and basic capabilities.
|
overridevirtual |
It is expected that all reserved addresses are set by the conclusion of the Initialize call, however the user decides to get/define those reserved addresses.
Reserve the addresses used for multicasting.
Reserve the addresses used for the "DEFAULT" AFSIM network subnet, where all AFSIM comm objects get assigned to when not explicitly designated (legacy)
Reserve the "this network" broadcast address
Implements wsf::comm::ReservedAddressingImplementation.
References wsf::comm::reserved::cBROADCAST_LOCAL, wsf::comm::reserved::cDEFAULT_INITIAL, wsf::comm::reserved::cDEFAULT_LAST, wsf::comm::reserved::cMULTICAST_ALL_HOSTS, wsf::comm::reserved::cMULTICAST_ALL_ROUTERS, wsf::comm::reserved::cMULTICAST_INITIAL, wsf::comm::reserved::cMULTICAST_LAST, wsf::comm::reserved::cOSPF_MULTICAST_ALL, wsf::comm::reserved::cOSPF_MULTICAST_DRBR, wsf::comm::reserved::cRIPv2_MULTICAST, wsf::comm::ReservedAddressingImplementation::mReservedAddressRangeSet, wsf::comm::ReservedAddressingImplementation::mReservedAddressSet, and wsf::comm::ReservedAddressingImplementation::mReservedTypeToAddressMap.