OMNeT++ Simulation Library
6.0.3
|
16 #ifndef __OMNETPP_CMESSAGEPRINTER_H
17 #define __OMNETPP_CMESSAGEPRINTER_H
21 #include "cownedobject.h"
55 std::set<std::string> enabledTags;
77 virtual int getScoreFor(
cMessage *msg)
const = 0;
110 virtual void printMessage(std::ostream& os,
cMessage *msg,
const Options *options)
const = 0;
125 virtual int getScoreFor(
cMessage *msg)
const override;
127 virtual std::set<std::string> getSupportedTags()
const override;
128 virtual std::set<std::string> getDefaultEnabledTags()
const override;
129 virtual std::vector<std::string> getColumnNames(
const Options *options)
const override;
131 virtual void printMessage(std::ostream& os,
cMessage *msg,
const Options *options)
const override;
virtual std::set< std::string > getDefaultEnabledTags() const
Definition: cmessageprinter.h:93
cMessagePrinter()
Definition: cmessageprinter.h:62
A default message printer that displays the ID, kind, and length (for packets) of the message.
Definition: cmessageprinter.h:120
Base class for message printers.
Definition: cmessageprinter.h:48
virtual std::vector< std::string > getColumnNames(const Options *options) const
Definition: cmessageprinter.h:101
Definition: cmessageprinter.h:54
virtual std::set< std::string > getSupportedTags() const
Definition: cmessageprinter.h:87
The message class in OMNeT++. cMessage objects may represent events, messages, jobs or other entities...
Definition: cmessage.h:95
Base class for cOwnedObject-based classes that do not wish to support assignment and duplication.
Definition: cownedobject.h:242
virtual ~cMessagePrinter()
Definition: cmessageprinter.h:67