#include <mac_protocol.hpp>
Inheritance diagram for SlottedMacSlotEvent:
Public Types | |
typedef boost::shared_ptr< SlottedMacSlotEvent > | SlottedMacSlotEventPtr |
Smart pointer that clients should use. | |
Public Member Functions | |
void | execute () |
The code that gets executed for the event. | |
Static Public Member Functions | |
static SlottedMacSlotEventPtr | create (SlottedMacPtr slottedMac) |
A factory method to ensure that all objects are created via new since we are using smart pointers. | |
Protected Member Functions | |
SlottedMacSlotEvent (SlottedMacPtr slottedMac) | |
A constructor. |
Definition at line 279 of file mac_protocol.hpp.
void SlottedMacSlotEvent::execute | ( | ) | [inline, virtual] |
The code that gets executed for the event.
Subclasses can override this to define their own actions.
Implements Event.
Definition at line 295 of file mac_protocol.hpp.