A class which encapsulates CAN node guarding when it runs. More...
#include <NodeGuard.hpp>
Public Member Functions | |
| NodeGuard (CANBus *_bus, unsigned int nodeId) | |
| Create a NodeGuard for a node on a bus. | |
| unsigned int | getStatus () |
| Returns the status bits of the Remote Transmission Request. | |
| bool | isPreOperational () |
| Returns true if the node is preoperational. | |
| bool | isOperational () |
| Returns true if the node is operational. | |
| bool | isStopped () |
| Returns true if the node is stopped. | |
| bool | validToggle () |
| Returns true if the toggle flag switching is valid (indicates that no messages were lost. | |
| bool | configure () |
| bool | initialize () |
| void | step () |
| void | finalize () |
| void | process (const CANMessage *msg) |
| This method instructs the CANDeviceInterface instance to process a certain CANMessage. | |
A class which encapsulates CAN node guarding when it runs.
Definition at line 53 of file NodeGuard.hpp.
Create a NodeGuard for a node on a bus.
| _bus | The bus the node is on. | |
| node | The node number on that bus. |
Definition at line 72 of file NodeGuard.hpp.
| void process | ( | const CANMessage * | msg | ) | [inline, virtual] |
This method instructs the CANDeviceInterface instance to process a certain CANMessage.
You are not the owner of msg.
| msg | The message to be processed by this instance. |
Implements CANListenerInterface.
Definition at line 179 of file NodeGuard.hpp.
References CANMessage::getData(), and CANMessage::isRemote().
1.6.3