libuav original

Dependents:   UAVCAN UAVCAN_Subscriber

Embed: (wiki syntax)

« Back to documentation index

ITransferAcceptanceFilter Class Reference

ITransferAcceptanceFilter Class Reference

This class is used by transfer listener to decide if the frame should be accepted or ignored. More...

#include <transfer_listener.hpp>

Inherited by ServiceClientBase [protected].

Public Member Functions

virtual bool shouldAcceptFrame (const RxFrame &frame) const =0
 If it returns false, the frame will be ignored, otherwise accepted.

Detailed Description

This class is used by transfer listener to decide if the frame should be accepted or ignored.

Definition at line 159 of file transfer_listener.hpp.


Member Function Documentation

virtual bool shouldAcceptFrame ( const RxFrame &  frame ) const [pure virtual]

If it returns false, the frame will be ignored, otherwise accepted.