CatapultServer  v0.5.0.1 (Elephant)
InputSource.h File Reference
Include dependency graph for InputSource.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::disruptor
 

Macros

#define INPUT_SOURCE_LIST
 
#define ENUM_VALUE(LABEL, VALUE)   LABEL = VALUE,
 

Enumerations

enum  catapult::disruptor::InputSource : uint32_t { catapult::disruptor::InputSource::INPUT_SOURCE_LIST }
 Possible consumer input sources. More...
 

Functions

std::ostream & catapult::disruptor::operator<< (std::ostream &out, InputSource value)
 Insertion operator for outputting value to out. More...
 

Macro Definition Documentation

◆ ENUM_VALUE

#define ENUM_VALUE (   LABEL,
  VALUE 
)    LABEL = VALUE,

◆ INPUT_SOURCE_LIST

#define INPUT_SOURCE_LIST
Value:
/* Input source is unknown. */ \
ENUM_VALUE(Unknown, 0) \
\
/* Input was generated by a local node (e.g. harvested). */ \
ENUM_VALUE(Local, 1) \
\
/* Input was pulled from a remote node. */ \
ENUM_VALUE(Remote_Pull, 2) \
\
/* Input was pushed by a remote node. */ \
ENUM_VALUE(Remote_Push, 4)
Local
ionet::Node Local
Definition: tools/network/main.cpp:42