Abstract base class defining the interface of all Combiner classes.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/lumberjack/Combiner.hpp>
Abstract base class defining the interface of all Combiner classes.
Concrete instances need to inherit from this class and implement these functions. You will need to add your Combiner using Lumberjack::addCombiner
- See also
- MessageEqualityCombiner Lumberjack
◆ ~Combiner()
| virtual axom::lumberjack::Combiner::~Combiner |
( |
| ) |
|
|
inlinevirtual |
◆ id()
| virtual const std::string axom::lumberjack::Combiner::id |
( |
| ) |
|
|
pure virtual |
◆ isMessageCandidateForCombiner()
| virtual bool axom::lumberjack::Combiner::isMessageCandidateForCombiner |
( |
const Message & |
| ) |
|
|
inlinevirtual |
Function used by Lumberjack to indicate whether a Message class should be considered for this combiner. Default is true in the base class.
- Parameters
-
| [in] | The | Message to be considered. Unused in the base class but likely used in derived classes.
|
◆ shouldMessagesBeCombined()
| virtual bool axom::lumberjack::Combiner::shouldMessagesBeCombined |
( |
const Message & |
leftMessage, |
|
|
const Message & |
rightMessage |
|
) |
| |
|
pure virtual |
◆ combine()
| virtual void axom::lumberjack::Combiner::combine |
( |
Message & |
combined, |
|
|
const Message & |
combinee, |
|
|
const int |
ranksLimit |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/lumberjack/Combiner.hpp