CatapultServer  v0.5.0.1 (Elephant)
InputSource.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include <iosfwd>
23 #include <stdint.h>
24 
25 namespace catapult { namespace disruptor {
26 
27 #define INPUT_SOURCE_LIST \
28  /* Input source is unknown. */ \
29  ENUM_VALUE(Unknown, 0) \
30  \
31  /* Input was generated by a local node (e.g. harvested). */ \
32  ENUM_VALUE(Local, 1) \
33  \
34  /* Input was pulled from a remote node. */ \
35  ENUM_VALUE(Remote_Pull, 2) \
36  \
37  /* Input was pushed by a remote node. */ \
38  ENUM_VALUE(Remote_Push, 4)
39 
40 #define ENUM_VALUE(LABEL, VALUE) LABEL = VALUE,
41  enum class InputSource : uint32_t {
44  };
45 #undef ENUM_VALUE
46 
48  std::ostream& operator<<(std::ostream& out, InputSource value);
49 }}
colorama.initialise.reset_all
def reset_all()
Definition: initialise.py:18
colorama.initialise.init
def init(autoreset=False, convert=None, strip=None, wrap=True)
Definition: initialise.py:23
colorama.ansitowin32.AnsiToWin32
Definition: ansitowin32.py:43
catapult::disruptor::InputSource
InputSource
Possible consumer input sources.
Definition: InputSource.h:42
MacroBasedEnum.h
InputSource.h
colorama.initialise.colorama_text
def colorama_text(*args, **kwargs)
Definition: initialise.py:59
catapult::disruptor::operator<<
std::ostream & operator<<(std::ostream &out, const ConsumerInput &input)
Definition: ConsumerInput.cpp:150
MacroBasedEnumIncludes.h
catapult::disruptor::InputSource::INPUT_SOURCE_LIST
colorama.initialise.deinit
def deinit()
Definition: initialise.py:51
catapult
Definition: AddressExtractionExtension.cpp:28
colorama.initialise.reinit
def reinit()
Definition: initialise.py:67
colorama.initialise.wrap_stream
def wrap_stream(stream, convert, strip, autoreset, wrap)
Definition: initialise.py:74