|
PROFINET IO Controller Stack 1.0.0
Modern C++ implementation of a PROFINET IO Controller stack
|
Classes | |
| class | DcpScanner |
| Production implementation of IDcpScanner using DCP over Ethernet. More... | |
| struct | DeviceInfo |
| Complete device information summary. More... | |
| class | DeviceInfoTests |
| class | DeviceTest |
| class | IDcpScanner |
| Interface for PROFINET DCP device discovery. More... | |
| class | MockDcpScanner |
| Mock implementation of IDcpScanner used to test ProfinetScanner without performing real DCP network discovery. More... | |
| class | MockMacAddressProvider |
| Mock implementation of IMacAddressProvider for unit tests. More... | |
| class | ParseMacTests |
| class | ProfinetDevice |
| High-level PROFINET device interface. More... | |
| class | ProfinetDeviceAlarmListenerTests |
| class | ProfinetDeviceAlarmTests |
| class | ProfinetDeviceConnectionLifecycleTests |
| class | ProfinetDeviceDiagnosisTests |
| class | ProfinetDeviceImTests |
| class | ProfinetDeviceInfoTests |
| class | ProfinetDeviceReadWriteTests |
| class | ProfinetDeviceStringTests |
| class | ProfinetScannerTest |
| Test fixture for ProfinetScanner. More... | |
| class | StartCyclicTests |
| struct | WriteItem |
| A single write operation for ProfinetDevice::WriteMultiple(). More... | |
Functions | |
| std::optional< MacAddress > | ParseMac (const std::string &macStr) |
| Parse a MAC address string in any common separator style. | |
| bool | IsMacAddress (const std::string &identifier) |
| Whether a string parses as a MAC address. | |
| std::vector< ProfinetDevice > | Scan (const std::string &interface="eth0", double timeoutSec=3.0, std::unique_ptr< IDcpScanner > dcpScanner=nullptr, std::unique_ptr< IMacAddressProvider > macAddressProvider=nullptr) |
| Scan the network for PROFINET devices via DCP Identify. | |
| std::map< std::string, DeviceInfo > | ScanDict (const std::string &interface="eth0", double timeoutSec=3.0, std::unique_ptr< IDcpScanner > dcpScanner=nullptr, std::unique_ptr< IMacAddressProvider > macAddressProvider=nullptr) |
| Scan the network and return a name -> DeviceInfo map. | |
| TEST_F (DeviceTest, ParseMacAcceptsColonDashAndDotSeparators) | |
| TEST_F (DeviceTest, ParseMacRejectsNonMacStrings) | |
| TEST_F (DeviceTest, IsMacAddressMatchesParseMac) | |
| TEST_F (DeviceTest, DeviceInfoHelpersReturnEmptyOrZeroWhenIm0Unset) | |
| TEST_F (DeviceTest, DeviceInfoHelpersExtractAndTrimIm0Fields) | |
| TEST_F (DeviceTest, FromDcpInfoConstructsWithoutDiscovery) | |
| TEST_F (DeviceTest, DiscoverWithUnknownMacThrowsDcpDeviceNotFoundError) | |
| TEST (DeviceMoveTests, MoveConstructionDisconnectsSource) | |
| TEST (DeviceMoveTests, MoveAssignmentReleasesDestinationFirst) | |
| TEST (DeviceMoveTests, MovedFromDeviceCanBeDestroyedSafely) | |
| TEST_F (ProfinetScannerTest, ScanPreservesZeroTimeout) | |
| TEST_F (ProfinetScannerTest, ScanPreservesShortTimeout) | |
| TEST_F (ProfinetScannerTest, ScanPreservesLongTimeout) | |
| TEST_F (ProfinetScannerTest, ScanCreatesDeviceForEveryResponse) | |
| TEST_F (ProfinetScannerTest, ScanDictKeepsDuplicateStationNames) | |
| TEST_F (ProfinetScannerTest, ScanDictKeepsEmptyStationNames) | |
| TEST_F (StartCyclicTests, ConnectsWithAlarmCrAndIocrSetup) | |
| TEST_F (StartCyclicTests, StartsRtAfterPrmEndAndApplicationReady) | |
| TEST_F (StartCyclicTests, MissingCyclicResultFailsStartup) | |
| TEST_F (StartCyclicTests, ApplicationReadyFailurePropagates) | |
| TEST_F (StartCyclicTests, ApplicationReadyFailureDoesNotStartRt) | |
| TEST (StartCyclicOrderingTests, StartsRtAfterApplicationReadyWhenDisabled) | |
| TEST (StartCyclicOrderingTests, ApplicationReadyCanBeSkipped) | |
| TEST_F (StartCyclicTests, CommitsConnectedDeviceState) | |
| TEST_F (StartCyclicTests, RequestsAlarmCrConnection) | |
| TEST (StartCyclicArHandlingTests, ReleasesExistingArBeforeNewConnect) | |
| TEST (StartCyclicArHandlingTests, StopsAlarmListenerBeforeReplacingAr) | |
| TEST (StartCyclicRollbackTests, PrmEndFailureRollsBack) | |
| TEST (StartCyclicRollbackTests, MissingCyclicResultRollsBack) | |
| TEST (StartCyclicRollbackTests, ApplicationReadyFailureStopsStartedRt) | |
| TEST (StartCyclicRollbackTests, ReleaseFailureDoesNotMaskOriginalError) | |
| TEST_F (ParseMacTests, ParsesColonSeparatedMac) | |
| TEST_F (ParseMacTests, ParsesDashSeparatedMac) | |
| TEST_F (ParseMacTests, ParsesDotSeparatedMac) | |
| TEST_F (ParseMacTests, RejectsInvalidMac) | |
| TEST_F (ParseMacTests, IsMacAddressAcceptsValidMac) | |
| TEST_F (ParseMacTests, IsMacAddressRejectsInvalidIdentifier) | |
| TEST_F (DeviceInfoTests, SerialNumberReturnsEmptyWhenIm0Missing) | |
| TEST_F (DeviceInfoTests, OrderIdReturnsEmptyWhenIm0Missing) | |
| TEST_F (DeviceInfoTests, HardwareRevisionReturnsZeroWhenIm0Missing) | |
| TEST_F (DeviceInfoTests, SoftwareRevisionReturnsEmptyWhenIm0Missing) | |
| TEST_F (ProfinetDeviceReadWriteTests, ReadReturnsRpcPayload) | |
| TEST_F (ProfinetDeviceReadWriteTests, WriteDelegatesArguments) | |
| TEST_F (ProfinetDeviceReadWriteTests, WriteMultipleMapsItems) | |
| TEST_F (ProfinetDeviceImTests, ReadIm0Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadIm1Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadIm2Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadIm3Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadIm4Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadIm5Delegates) | |
| TEST_F (ProfinetDeviceImTests, ReadAllImDelegates) | |
| TEST_F (ProfinetDeviceImTests, WriteIm1BuildsPaddedBlock) | |
| TEST_F (ProfinetDeviceImTests, WriteIm1RejectsFunctionLongerThan32Characters) | |
| TEST_F (ProfinetDeviceImTests, WriteIm1RejectsLocationLongerThan22Characters) | |
| TEST_F (ProfinetDeviceImTests, WriteIm2BuildsPaddedBlock) | |
| TEST_F (ProfinetDeviceImTests, WriteIm2RejectsDateLongerThan16Characters) | |
| TEST_F (ProfinetDeviceImTests, WriteIm3BuildsPaddedBlock) | |
| TEST_F (ProfinetDeviceImTests, WriteIm3RejectsDescriptorLongerThan54Characters) | |
| TEST_F (ProfinetDeviceDiagnosisTests, ReadModuleDiffDelegates) | |
| TEST_F (ProfinetDeviceDiagnosisTests, ReadDiagnosisDelegatesArguments) | |
| TEST_F (ProfinetDeviceDiagnosisTests, ReadAllDiagnosisDelegates) | |
| TEST_F (ProfinetDeviceDiagnosisTests, DiscoverSlotsDelegates) | |
| TEST_F (ProfinetDeviceDiagnosisTests, ReadTopologyDelegates) | |
| TEST_F (ProfinetDeviceAlarmTests, ReturnsNoneOnRpcError) | |
| TEST_F (ProfinetDeviceAlarmTests, ReturnsNoneOnShortPayload) | |
| TEST_F (ProfinetDeviceAlarmTests, ParsesAlarmPayload) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, ConnectSuccess) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, ConnectFailureIsWrapped) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, ConnectIsNoOpWhenAlreadyConnected) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, DisconnectClearsConnectionState) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, CloseClosesRpc) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, DISABLED_CloseStopsAlarmListener) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, ReleaseArClearsOnlyCurrentRpc) | |
| TEST_F (ProfinetDeviceConnectionLifecycleTests, ReleaseArSuppressesDisconnectErrors) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, RequiresConnection) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, RequiresAlarmCr) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, StartAndRunningProperty) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, OnAlarmForwardsToRunningListener) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, StopRemovesListener) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, RepeatedStartDoesNotDuplicateCallbackRegistration) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, CallbackAddedBeforeStartIsRegisteredOnce) | |
| TEST_F (ProfinetDeviceAlarmListenerTests, CallbackAddedWhileRunningIsForwardedOnce) | |
| TEST_F (ProfinetDeviceInfoTests, CollectsIm0) | |
| TEST_F (ProfinetDeviceInfoTests, Im0FailureIsTolerated) | |
| TEST_F (ProfinetDeviceInfoTests, IncludesTopologyWhenRequested) | |
| TEST_F (ProfinetDeviceInfoTests, DoesNotReadTopologyByDefault) | |
| TEST_F (ProfinetDeviceStringTests, ToStringShowsDisconnectedState) | |
| bool profinet::device::IsMacAddress | ( | const std::string & | identifier | ) |
Whether a string parses as a MAC address.
| identifier | String to test. |
Definition at line 173 of file device.cpp.
References ParseMac().
Referenced by TEST_F(), TEST_F(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:| std::optional< MacAddress > profinet::device::ParseMac | ( | const std::string & | macStr | ) |
Parse a MAC address string in any common separator style.
| macStr | MAC address as "aa:bb:cc:dd:ee:ff", "aa-bb-cc-dd-ee-ff", or "aa.bb.cc.dd.ee.ff". |
Definition at line 57 of file device.cpp.
References profinet::macAddressLength.
Referenced by profinet::device::ProfinetDevice::Discover(), IsMacAddress(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Here is the caller graph for this function:| std::vector< ProfinetDevice > profinet::device::Scan | ( | const std::string & | interface = "eth0", |
| double | timeoutSec = 3.0, |
||
| std::unique_ptr< IDcpScanner > | dcpScanner = nullptr, |
||
| std::unique_ptr< IMacAddressProvider > | macAddressProvider = nullptr |
||
| ) |
Scan the network for PROFINET devices via DCP Identify.
| interface | Network interface name to use, e.g. "eth0". |
| timeoutSec | How long to listen for responses. |
| dcpScanner | DCP discovery implementation. |
| macAddressProvider | Provider used to obtain the controller MAC address. |
Throws PermissionDeniedError if raw-socket privileges are insufficient.
Definition at line 799 of file device.cpp.
References profinet::Mac.
Referenced by profinet::device::ProfinetScannerTest::ConfigureScanResults(), ScanDict(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
Here is the caller graph for this function:| std::map< std::string, DeviceInfo > profinet::device::ScanDict | ( | const std::string & | interface = "eth0", |
| double | timeoutSec = 3.0, |
||
| std::unique_ptr< IDcpScanner > | dcpScanner = nullptr, |
||
| std::unique_ptr< IMacAddressProvider > | macAddressProvider = nullptr |
||
| ) |
Scan the network and return a name -> DeviceInfo map.
| interface | Network interface name to use, e.g. "eth0". |
| timeoutSec | How long to listen for responses. |
| dcpScanner | DCP discovery implementation. |
| macAddressProvider | Provider used to obtain the controller MAC address. |
Definition at line 837 of file device.cpp.
References profinet::device::DeviceInfo::ip, profinet::device::DeviceInfo::mac, profinet::device::DeviceInfo::name, and Scan().
Referenced by TEST_F(), and TEST_F().
Here is the call graph for this function:
Here is the caller graph for this function:| profinet::device::TEST | ( | DeviceMoveTests | , |
| MoveAssignmentReleasesDestinationFirst | |||
| ) |
Definition at line 164 of file test_device.cpp.
References profinet::device::ProfinetDevice::Connect(), profinet::device::ProfinetDevice::IsConnected(), profinet::dcp::DCPDeviceDescription::name, profinet::Stop, and profinet::String2Mac().
Here is the call graph for this function:| profinet::device::TEST | ( | DeviceMoveTests | , |
| MoveConstructionDisconnectsSource | |||
| ) |
Definition at line 134 of file test_device.cpp.
References profinet::device::ProfinetDevice::Connect(), profinet::device::ProfinetDevice::IsConnected(), profinet::device::ProfinetDevice::Mac(), profinet::dcp::DCPDeviceDescription::name, profinet::device::ProfinetDevice::Name(), and profinet::String2Mac().
Here is the call graph for this function:| profinet::device::TEST | ( | DeviceMoveTests | , |
| MovedFromDeviceCanBeDestroyedSafely | |||
| ) |
Definition at line 211 of file test_device.cpp.
References profinet::dcp::DCPDeviceDescription::name, and profinet::String2Mac().
Here is the call graph for this function:| profinet::device::TEST | ( | StartCyclicArHandlingTests | , |
| ReleasesExistingArBeforeNewConnect | |||
| ) |
Definition at line 296 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicArHandlingTests | , |
| StopsAlarmListenerBeforeReplacingAr | |||
| ) |
Definition at line 303 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicOrderingTests | , |
| ApplicationReadyCanBeSkipped | |||
| ) |
Definition at line 212 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicOrderingTests | , |
| StartsRtAfterApplicationReadyWhenDisabled | |||
| ) |
Definition at line 206 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicRollbackTests | , |
| ApplicationReadyFailureStopsStartedRt | |||
| ) |
Definition at line 324 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicRollbackTests | , |
| MissingCyclicResultRollsBack | |||
| ) |
Definition at line 317 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicRollbackTests | , |
| PrmEndFailureRollsBack | |||
| ) |
Definition at line 310 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST | ( | StartCyclicRollbackTests | , |
| ReleaseFailureDoesNotMaskOriginalError | |||
| ) |
Definition at line 331 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST_F | ( | DeviceInfoTests | , |
| HardwareRevisionReturnsZeroWhenIm0Missing | |||
| ) |
Definition at line 143 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::HardwareRevision().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceInfoTests | , |
| OrderIdReturnsEmptyWhenIm0Missing | |||
| ) |
Definition at line 135 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::OrderId().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceInfoTests | , |
| SerialNumberReturnsEmptyWhenIm0Missing | |||
| ) |
Definition at line 127 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::SerialNumber().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceInfoTests | , |
| SoftwareRevisionReturnsEmptyWhenIm0Missing | |||
| ) |
Definition at line 151 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::SoftwareRevision().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| DeviceInfoHelpersExtractAndTrimIm0Fields | |||
| ) |
Definition at line 76 of file test_device.cpp.
References profinet::device::DeviceInfo::HardwareRevision(), profinet::device::DeviceInfo::im0, profinet::PNInM0::imHardwareRevision, profinet::PNInM0::imSerialNumber, profinet::PNInM0::imSwRevisionBugFix, profinet::PNInM0::imSwRevisionFunctionalEnhancement, profinet::PNInM0::imSwRevisionInternalChange, profinet::device::DeviceInfo::OrderId(), profinet::PNInM0::orderId, profinet::device::DeviceInfo::SerialNumber(), profinet::device::DeviceInfo::SoftwareRevision(), and profinet::PNInM0::swRevisionPrefix.
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| DeviceInfoHelpersReturnEmptyOrZeroWhenIm0Unset | |||
| ) |
Definition at line 65 of file test_device.cpp.
References profinet::device::DeviceInfo::HardwareRevision(), profinet::device::DeviceInfo::OrderId(), profinet::device::DeviceInfo::SerialNumber(), and profinet::device::DeviceInfo::SoftwareRevision().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| DiscoverWithUnknownMacThrowsDcpDeviceNotFoundError | |||
| ) |
Definition at line 120 of file test_device.cpp.
References profinet::device::ProfinetDevice::Discover().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| FromDcpInfoConstructsWithoutDiscovery | |||
| ) |
Definition at line 98 of file test_device.cpp.
References profinet::device::ProfinetDevice::FromDcpInfo(), profinet::device::ProfinetDevice::Ip(), profinet::device::ProfinetDevice::IsConnected(), profinet::dcp::DCPDeviceDescription::name, profinet::device::ProfinetDevice::Name(), profinet::String2Mac(), and profinet::device::ProfinetDevice::ToString().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| IsMacAddressMatchesParseMac | |||
| ) |
Definition at line 58 of file test_device.cpp.
References IsMacAddress().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| ParseMacAcceptsColonDashAndDotSeparators | |||
| ) |
Definition at line 31 of file test_device.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | DeviceTest | , |
| ParseMacRejectsNonMacStrings | |||
| ) |
Definition at line 48 of file test_device.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| IsMacAddressAcceptsValidMac | |||
| ) |
Definition at line 107 of file test_deviceWrappers.cpp.
References IsMacAddress().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| IsMacAddressRejectsInvalidIdentifier | |||
| ) |
Definition at line 113 of file test_deviceWrappers.cpp.
References IsMacAddress().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| ParsesColonSeparatedMac | |||
| ) |
Definition at line 74 of file test_deviceWrappers.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| ParsesDashSeparatedMac | |||
| ) |
Definition at line 83 of file test_deviceWrappers.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| ParsesDotSeparatedMac | |||
| ) |
Definition at line 92 of file test_deviceWrappers.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ParseMacTests | , |
| RejectsInvalidMac | |||
| ) |
Definition at line 101 of file test_deviceWrappers.cpp.
References ParseMac().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| CallbackAddedBeforeStartIsRegisteredOnce | |||
| ) |
Definition at line 854 of file test_deviceWrappers.cpp.
References profinet::Start.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| CallbackAddedWhileRunningIsForwardedOnce | |||
| ) |
Definition at line 883 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| OnAlarmForwardsToRunningListener | |||
| ) |
Definition at line 800 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| RepeatedStartDoesNotDuplicateCallbackRegistration | |||
| ) |
Definition at line 820 of file test_deviceWrappers.cpp.
References profinet::Start.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| RequiresAlarmCr | |||
| ) |
Definition at line 769 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| RequiresConnection | |||
| ) |
Definition at line 763 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| StartAndRunningProperty | |||
| ) |
Definition at line 777 of file test_deviceWrappers.cpp.
References profinet::Start.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmListenerTests | , |
| StopRemovesListener | |||
| ) |
Definition at line 813 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmTests | , |
| ParsesAlarmPayload | |||
| ) |
Definition at line 599 of file test_deviceWrappers.cpp.
References profinet::PNIODHeader::payload.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmTests | , |
| ReturnsNoneOnRpcError | |||
| ) |
Definition at line 578 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceAlarmTests | , |
| ReturnsNoneOnShortPayload | |||
| ) |
Definition at line 587 of file test_deviceWrappers.cpp.
References profinet::PNIODHeader::payload.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| CloseClosesRpc | |||
| ) |
Definition at line 698 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| ConnectFailureIsWrapped | |||
| ) |
Definition at line 664 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| ConnectIsNoOpWhenAlreadyConnected | |||
| ) |
Definition at line 674 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| ConnectSuccess | |||
| ) |
Definition at line 654 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| DISABLED_CloseStopsAlarmListener | |||
| ) |
Definition at line 708 of file test_deviceWrappers.cpp.
References profinet::Stop.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| DisconnectClearsConnectionState | |||
| ) |
Definition at line 688 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| ReleaseArClearsOnlyCurrentRpc | |||
| ) |
Definition at line 718 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceConnectionLifecycleTests | , |
| ReleaseArSuppressesDisconnectErrors | |||
| ) |
Definition at line 731 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceDiagnosisTests | , |
| DiscoverSlotsDelegates | |||
| ) |
Definition at line 543 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceDiagnosisTests | , |
| ReadAllDiagnosisDelegates | |||
| ) |
Definition at line 535 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceDiagnosisTests | , |
| ReadDiagnosisDelegatesArguments | |||
| ) |
Definition at line 525 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceDiagnosisTests | , |
| ReadModuleDiffDelegates | |||
| ) |
Definition at line 510 of file test_deviceWrappers.cpp.
References profinet::MODULE_STATE_PROPER_MODULE, profinet::blocks::ParseModuleDiffBlock(), and profinet::SUBMODULE_STATE_OK.
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetDeviceDiagnosisTests | , |
| ReadTopologyDelegates | |||
| ) |
Definition at line 551 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadAllImDelegates | |||
| ) |
Definition at line 320 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm0Delegates | |||
| ) |
Definition at line 259 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm1Delegates | |||
| ) |
Definition at line 269 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm2Delegates | |||
| ) |
Definition at line 279 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm3Delegates | |||
| ) |
Definition at line 290 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm4Delegates | |||
| ) |
Definition at line 300 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| ReadIm5Delegates | |||
| ) |
Definition at line 310 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm1BuildsPaddedBlock | |||
| ) |
Definition at line 330 of file test_deviceWrappers.cpp.
References profinet::IM1, and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm1RejectsFunctionLongerThan32Characters | |||
| ) |
Definition at line 360 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm1RejectsLocationLongerThan22Characters | |||
| ) |
Definition at line 368 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm2BuildsPaddedBlock | |||
| ) |
Definition at line 376 of file test_deviceWrappers.cpp.
References profinet::IM2, and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm2RejectsDateLongerThan16Characters | |||
| ) |
Definition at line 407 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm3BuildsPaddedBlock | |||
| ) |
Definition at line 415 of file test_deviceWrappers.cpp.
References profinet::IM3, and profinet::wire::Reader::U16().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetDeviceImTests | , |
| WriteIm3RejectsDescriptorLongerThan54Characters | |||
| ) |
Definition at line 443 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceInfoTests | , |
| CollectsIm0 | |||
| ) |
Definition at line 915 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::im0.
| profinet::device::TEST_F | ( | ProfinetDeviceInfoTests | , |
| DoesNotReadTopologyByDefault | |||
| ) |
Definition at line 953 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::topology.
| profinet::device::TEST_F | ( | ProfinetDeviceInfoTests | , |
| Im0FailureIsTolerated | |||
| ) |
Definition at line 927 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::im0.
| profinet::device::TEST_F | ( | ProfinetDeviceInfoTests | , |
| IncludesTopologyWhenRequested | |||
| ) |
Definition at line 938 of file test_deviceWrappers.cpp.
References profinet::device::DeviceInfo::topology.
| profinet::device::TEST_F | ( | ProfinetDeviceReadWriteTests | , |
| ReadReturnsRpcPayload | |||
| ) |
Definition at line 181 of file test_deviceWrappers.cpp.
References profinet::PNIODHeader::payload.
| profinet::device::TEST_F | ( | ProfinetDeviceReadWriteTests | , |
| WriteDelegatesArguments | |||
| ) |
Definition at line 195 of file test_deviceWrappers.cpp.
| profinet::device::TEST_F | ( | ProfinetDeviceReadWriteTests | , |
| WriteMultipleMapsItems | |||
| ) |
Definition at line 205 of file test_deviceWrappers.cpp.
References profinet::device::WriteItem::slot.
| profinet::device::TEST_F | ( | ProfinetDeviceStringTests | , |
| ToStringShowsDisconnectedState | |||
| ) |
Definition at line 971 of file test_deviceWrappers.cpp.
References profinet::device::ProfinetDevice::ToString().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanCreatesDeviceForEveryResponse | |||
| ) |
Definition at line 433 of file test_device.cpp.
References Scan().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanDictKeepsDuplicateStationNames | |||
| ) |
Definition at line 457 of file test_device.cpp.
References ScanDict().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanDictKeepsEmptyStationNames | |||
| ) |
Definition at line 485 of file test_device.cpp.
References ScanDict().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanPreservesLongTimeout | |||
| ) |
Definition at line 397 of file test_device.cpp.
References Scan().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanPreservesShortTimeout | |||
| ) |
Definition at line 361 of file test_device.cpp.
References Scan().
Here is the call graph for this function:| profinet::device::TEST_F | ( | ProfinetScannerTest | , |
| ScanPreservesZeroTimeout | |||
| ) |
Definition at line 329 of file test_device.cpp.
References Scan().
Here is the call graph for this function:| profinet::device::TEST_F | ( | StartCyclicTests | , |
| ApplicationReadyFailureDoesNotStartRt | |||
| ) |
Definition at line 177 of file test_deviceStartCyclic.cpp.
References profinet::ApplicationReady, profinet::rpc::ConnectResult::inputFrameId, profinet::PrmEnd, and profinet::Start.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| ApplicationReadyFailurePropagates | |||
| ) |
Definition at line 146 of file test_deviceStartCyclic.cpp.
References profinet::ApplicationReady, profinet::rpc::ConnectResult::inputFrameId, profinet::PrmEnd, and profinet::Start.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| CommitsConnectedDeviceState | |||
| ) |
Definition at line 219 of file test_deviceStartCyclic.cpp.
References profinet::ApplicationReady, profinet::rpc::ConnectResult::inputFrameId, profinet::PrmEnd, and profinet::Start.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| ConnectsWithAlarmCrAndIocrSetup | |||
| ) |
Definition at line 82 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| MissingCyclicResultFailsStartup | |||
| ) |
Definition at line 131 of file test_deviceStartCyclic.cpp.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| RequestsAlarmCrConnection | |||
| ) |
Definition at line 253 of file test_deviceStartCyclic.cpp.
References profinet::ApplicationReady, profinet::rpc::ConnectResult::inputFrameId, profinet::PrmEnd, and profinet::Start.
| profinet::device::TEST_F | ( | StartCyclicTests | , |
| StartsRtAfterPrmEndAndApplicationReady | |||
| ) |
Definition at line 99 of file test_deviceStartCyclic.cpp.
References profinet::ApplicationReady, controller, profinet::rpc::ConnectResult::inputFrameId, profinet::PrmEnd, and profinet::Start.