AppEpochEvent Class Reference

An event subclass for when an application begins and ends. More...

#include <application_layer.hpp>

Inheritance diagram for AppEpochEvent:

Event List of all members.

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.

Detailed Description

An event subclass for when an application begins and ends.

This is the event that starts and ends an application at a node.

Definition at line 122 of file application_layer.hpp.


Member Enumeration Documentation

enum AppEpochEvent::Epochs

Epochs enum.

Specifies the type of epochs possible.

Enumerator:
Epochs_Start  enum value Epochs_Start.
Epochs_Stop  enum value Epochs_Stop.

Definition at line 131 of file application_layer.hpp.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Dec 12 17:04:39 2006 for rfidsim by  doxygen 1.4.7