Design Pattern Examples
Overview of object-oriented design patterns
HandlerChain_Class.h File Reference

Implementation of the HandlerChain class and declaration of the IMessageHandler interface used in the HandlerChain Pattern. More...

#include <algorithm>
#include <list>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include "helpers/formatstring.h"
Include dependency graph for HandlerChain_Class.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IMessageHandler
 Represents a handler in a chain of handlers. All objects that participate in the HandlerChain class must implement this interface. More...
 
class  HandlerChain
 Represents a list of handlers that all implement the IMessageHandler interface. This list can be dynamically updated and each element in the list is passed messages for processing. More...
 

Namespaces

namespace  DesignPatternExamples_cpp
 The namespace containing all Design Pattern Examples implemented in C++.
 

Macros

#define __HANDLERCHAIN_CLASS_H__
 

Detailed Description

Implementation of the HandlerChain class and declaration of the IMessageHandler interface used in the HandlerChain Pattern.

Definition in file HandlerChain_Class.h.

Macro Definition Documentation

◆ __HANDLERCHAIN_CLASS_H__

#define __HANDLERCHAIN_CLASS_H__

Definition at line 9 of file HandlerChain_Class.h.