#include <communication_layer.hpp>
Inheritance diagram for LayerRecvEvent:
Public Types | |
typedef boost::shared_ptr< LayerRecvEvent > | LayerRecvEventPtr |
Smart pointer that clients should use. | |
Public Member Functions | |
void | execute () |
The code that gets executed for the event. | |
Static Public Member Functions | |
static LayerRecvEventPtr | create (CommunicationLayer::Directions sendDirection, PacketPtr packet, CommunicationLayerPtr recvingLayer, CommunicationLayerPtr sendingLayer) |
A factory method to ensure that all objects are created via new since we are using smart pointers. | |
Protected Member Functions | |
LayerRecvEvent (CommunicationLayer::Directions sendDirection, PacketPtr packet, CommunicationLayerPtr recvingLayer, CommunicationLayerPtr sendingLayer) | |
A constructor. |
Definition at line 649 of file communication_layer.hpp.
void LayerRecvEvent::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 669 of file communication_layer.hpp.