#include <application_layer.hpp>
Inheritance diagram for AppEpochEvent:
Public Types | |
typedef boost::shared_ptr< AppEpochEvent > | AppEpochEventPtr |
Smart pointer that clients should use. | |
Epochs_Start | |
enum value Epochs_Start. | |
Epochs_Stop | |
enum value Epochs_Stop. | |
enum | Epochs { Epochs_Start, Epochs_Stop } |
Epochs enum. More... | |
Public Member Functions | |
void | execute () |
The code that gets executed for the event. | |
Static Public Member Functions | |
static AppEpochEventPtr | create (Epochs epochType, ApplicationLayerPtr appLayer) |
A factory method to ensure that all objects are created via new since we are using smart pointers. | |
Protected Member Functions | |
AppEpochEvent (Epochs epochType, ApplicationLayerPtr appLayer) | |
A constructor. |
This is the event that starts and ends an application at a node.
Definition at line 122 of file application_layer.hpp.
Epochs enum.
Specifies the type of epochs possible.
Definition at line 131 of file application_layer.hpp.
void AppEpochEvent::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 147 of file application_layer.hpp.
References Epochs_Start, and Epochs_Stop.