|
Robot Raconteur Core C++ Library
|
Base class for PipeSubscription. More...
#include <Subscription.h>
Public Member Functions | |
| size_t | Available () |
| Get the number of packets available to receive. | |
| size_t | GetActivePipeEndpointCount () |
| Get the number of pipe endpoints currently connected. | |
| bool | GetIgnoreReceived () |
| Get if incoming packets are currently being ignored. | |
| void | SetIgnoreReceived (bool ignore) |
| Set if incoming packets should be ignored. | |
| void | Close () |
| Closes the pipe subscription. | |
Base class for PipeSubscription.
Base class for templated PipeSubscription
| size_t RobotRaconteur::PipeSubscriptionBase::Available | ( | ) |
Get the number of packets available to receive.
Use ReceivePacket(), TryReceivePacket(), or TryReceivePacketWait() to receive the packet
| void RobotRaconteur::PipeSubscriptionBase::Close | ( | ) |
Closes the pipe subscription.
Pipe subscriptions are automatically closed when the parent ServiceSubscription is closed or when the node is shut down.
| size_t RobotRaconteur::PipeSubscriptionBase::GetActivePipeEndpointCount | ( | ) |
Get the number of pipe endpoints currently connected.
| bool RobotRaconteur::PipeSubscriptionBase::GetIgnoreReceived | ( | ) |
Get if incoming packets are currently being ignored.
| void RobotRaconteur::PipeSubscriptionBase::SetIgnoreReceived | ( | bool | ignore | ) |
Set if incoming packets should be ignored.
See PipeEndpoint::SetIgnoreReceived();
If true, receivedpackets will be ignored for all connected pipe endpoints
| ignore |