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

Classes | Functions | Variables

cbnsim Namespace Reference

Namespace containing classes and procedures provided by the cbnsim library. More...

Classes

class  argument_exception
 Generic argument exception. More...
class  CBNSimulation
 Main entry point for running a CBN simulation. More...
class  DataCollector
class  DeliveryOracle
 Class used to compute and report false-positive and false-negative message receipts. More...
class  Driver
 Simulation process that pulls the workload events and issues them to nodes, thereby driving the simulation. More...
class  io_exception
 Generic IO exception. More...
class  KillerProcess
 Simple simulation process that kills the simulation after a specified number of virtual time units. More...
class  MatchHandler
 Concrete implementation of siena::MatchHandler. More...
class  Node
 Abstract class representing a node in the network. More...
class  NodeEvent
 Abstract base class for workload events that pertain to nodes. More...
class  NodeFactory
 Interface of a node factory needed by CBNSimulation. More...
class  NodeFailEvent
 An event that single a node has failed. More...
class  NodeFailPacket
 packet used by the driver to signal a node_fail workload event to a Node. More...
class  NodeFailParser
 Workload event parser for the node_fail event. More...
class  NodeFailWNP
 Workload node process used to generate node_fail events. More...
class  NodeFailWNPF
 Node process that generates node_fail workload events. More...
class  NodeRecoverEvent
 An event that single a node has recovered. More...
class  NodeRecoverPacket
 packet used by the driver to signal a node_fail workload event to a Node. More...
class  NodeRecoverParser
 Workload event parser for the node_fail event. More...
class  Packet
 Abstract base classe for messages exchanged between nodes. More...
class  parse_exception
 Exception used by WorkloadParser. More...
class  SendMessageEvent
 Abstract base class for workload events that pertain to nodes. More...
class  SendMessagePacket
 packet used by the driver to signal a send_message event to a Node. More...
class  SendMessageParser
 Workload event parser for the send_message event. More...
class  SendMessageWNP
 Workload node process for the send_message event. More...
class  SendMessageWNPF
 Node process that generates set_predicate workload events. More...
class  SetPredicateEvent
 Abstract base class for workload events that pertain to nodes. More...
class  SetPredicatePacket
 packet used by the driver to signal a set_predicate workload event to a Node. More...
class  SetPredicateParser
 Workload event parser for the set_predicate event. More...
class  SetPredicateWNP
 Workload node process for generating the set_predicate event. More...
class  SetPredicateWNPF
 Node process that generates set_predicate workload events. More...
class  WorkloadEvent
 Abstract class representing a single workload event. More...
class  WorkloadEventParser
 Abstract class representing a generic workload event parser. More...
class  WorkloadGenerator
 Main workload generator class. The workload events that are generated by this class can be customized by adding WorkloadNodeProcessFactory instances as required. More...
class  WorkloadNodeProcess
 Abstract class defines the interface for all workload generation processes that are associated with a node. More...
class  WorkloadNodeProcessFactory
 Factory class for WorkloadNodeProcess instances. More...
class  WorkloadParser
 Class to parse a workload created by cbnwlgen. More...

Functions

void sff_print (const SimplifyingPredicate &pred, siena::if_t id=0)
 Function to print a predicate in the format expected by the sff program.
void sff_print (const Message &msg)
 Function to print a message in the format expected by the sff program.

Variables

bool g_debug_on
bool g_info_on
bool g_error_on

Detailed Description

Namespace containing classes and procedures provided by the cbnsim library.