Content-Based Networking Simulation Library Documentation (v. 1.2.1)

Public Member Functions | Protected Member Functions

cbnsim::WorkloadEvent Class Reference

Abstract class representing a single workload event. More...

#include <WorkloadEvent.h>

Inheritance diagram for cbnsim::WorkloadEvent:
cbnsim::NodeEvent cbnsim::NodeFailEvent cbnsim::NodeRecoverEvent cbnsim::SendMessageEvent cbnsim::SetPredicateEvent

List of all members.

Public Member Functions

const std::string & event_name () const
 Returns the event name.
bool node_event () const
 Returns true if the event is a 'Node Event', false if it is a 'Link Event'.
ssim::Time timestep () const
 Returns the timestep at which the event is to be issued.

Protected Member Functions

 WorkloadEvent (const std::string &event_name, bool node_event, ssim::Time timestep)
 Derived classes must provide a name.

Detailed Description

Abstract class representing a single workload event.


The documentation for this class was generated from the following file: