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

Public Member Functions | Protected Member Functions

cbnsim::WorkloadEventParser Class Reference

Abstract class representing a generic workload event parser. More...

#include <WorkloadEventParser.h>

Inheritance diagram for cbnsim::WorkloadEventParser:
cbnsim::NodeFailParser cbnsim::NodeRecoverParser cbnsim::SendMessageParser cbnsim::SetPredicateParser

List of all members.

Public Member Functions

const std::string & event_name () const
 Returns the event name.
virtual WorkloadEventparse_event (WorkloadParser &parser)=0 throw ( parse_exception )
 Uses the methods of WorkloadParser to parse the next event.

Protected Member Functions

 WorkloadEventParser (const std::string &event_name)
 Derived classes must provide the name of the event they know how to parse.

Detailed Description

Abstract class representing a generic workload event parser.


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