26#ifndef ABSTRACT_CHAIN_ELEMENT_INCLUDED
27#define ABSTRACT_CHAIN_ELEMENT_INCLUDED
73 template <
typename TType,
typename TClass>
77 TType *casted_object =
79 if (casted_object !=
nullptr)
80 (((TClass *)
this)->*processing_func)(casted_object, item_to_process);
81 return casted_object !=
nullptr;
88 template <
typename TType,
typename TClass>
90 void (TClass::*processing_func)(TType *)) {
91 TType *casted_object =
93 if (casted_object !=
nullptr)
94 (((TClass *)
this)->*processing_func)(casted_object);
95 return casted_object !=
nullptr;
Some integer typedefs for easier portability.
uint64_t uint64
Definition: my_inttypes.h:69
Definition: abstract_connection_program.h:38