#include <processor.h>
Public Member Functions | |
Processor () | |
virtual | ~Processor () |
void | init () |
virtual string | toString () const |
virtual void | process_event (IrisEvent *e)=0 |
virtual void | setup (uint n, uint v, uint time)=0 |
virtual void | set_output_path (string outpath_name)=0 |
virtual string | print_stats () const =0 |
Public Attributes | |
vector< Interface * > | interface_connections |
bool | ni_recv |
Definition at line 32 of file processor.h.
Processor::Processor | ( | ) |
Definition at line 22 of file processor.cc.
References NetworkComponent::processor, and NetworkComponent::type.
Processor::~Processor | ( | ) | [virtual] |
Definition at line 27 of file processor.cc.
void Processor::init | ( | ) |
virtual string Processor::print_stats | ( | ) | const [pure virtual] |
Implemented in GenericFlatMc, GenericPktGen, GenericSink, GenericTracePktGen, and McFrontEnd.
virtual void Processor::process_event | ( | IrisEvent * | e | ) | [pure virtual] |
Implements NetworkComponent.
Implemented in GenericFlatMc, GenericPktGen, GenericRPG, GenericSink, GenericTracePktGen, and McFrontEnd.
virtual void Processor::set_output_path | ( | string | outpath_name | ) | [pure virtual] |
Implemented in GenericFlatMc, GenericPktGen, GenericSink, GenericTracePktGen, and McFrontEnd.
Implemented in GenericFlatMc, GenericPktGen, GenericRPG, GenericSink, GenericTracePktGen, and McFrontEnd.
string Processor::toString | ( | ) | const [virtual] |
Reimplemented from NetworkComponent.
Reimplemented in GenericFlatMc, GenericPktGen, GenericRPG, GenericSink, GenericTracePktGen, and McFrontEnd.
Definition at line 31 of file processor.cc.
vector< Interface* > Processor::interface_connections |
Definition at line 37 of file processor.h.
Referenced by GenericRPG::GenericRPG(), McFrontEnd::handle_new_packet_event(), GenericTracePktGen::handle_new_packet_event(), GenericSink::handle_new_packet_event(), GenericRPG::handle_new_packet_event(), GenericPktGen::handle_new_packet_event(), GenericFlatMc::handle_new_packet_event(), McFrontEnd::handle_out_pull_event(), GenericTracePktGen::handle_out_pull_event(), GenericRPG::handle_out_pull_event(), GenericPktGen::handle_out_pull_event(), GenericFlatMc::handle_out_pull_event(), and McFrontEnd::toString().
bool Processor::ni_recv |
Definition at line 44 of file processor.h.
Referenced by GenericFlatMc::GenericFlatMc(), GenericPktGen::GenericPktGen(), GenericTracePktGen::GenericTracePktGen(), McFrontEnd::handle_new_packet_event(), GenericTracePktGen::handle_new_packet_event(), GenericSink::handle_new_packet_event(), GenericPktGen::handle_new_packet_event(), GenericFlatMc::handle_new_packet_event(), and McFrontEnd::McFrontEnd().