|
Open Model Railroad Network (OpenMRN)
|
Abstract class that gets scheduled for polling and when the master decides to take it, gets a buffer to fill in with a packet. More...
#include <BusMaster.hxx>
Public Types | |
| using | Packet = Bus::Packet |
| using | PacketPtr = Bus::PacketPtr |
Public Member Functions | |
| virtual void | fill_packet (Packet *packet)=0 |
| Complete a packet to send to the bus. | |
Public Member Functions inherited from QMember | |
| void | init () |
| Initiailize a QMember, in place of a public placement construction. | |
Additional Inherited Members | |
Protected Member Functions inherited from QMember | |
| QMember () | |
| Constructor. | |
| ~QMember () | |
| Destructor. | |
Protected Attributes inherited from QMember | |
| QMember * | next |
| pointer to the next member in the queue | |
Abstract class that gets scheduled for polling and when the master decides to take it, gets a buffer to fill in with a packet.
Definition at line 60 of file BusMaster.hxx.
| using Bus< MessageType >::Activity::Packet = Bus::Packet |
Definition at line 63 of file BusMaster.hxx.
| using Bus< MessageType >::Activity::PacketPtr = Bus::PacketPtr |
Definition at line 64 of file BusMaster.hxx.
|
pure virtual |
Complete a packet to send to the bus.
| packet | must be filled in the by callee. Ownership is retained by the caller. |