44 : eventsDispatched_(0)
54 return 0 != eventsDispatched_;
61 eventsDispatched_ = state ? 1 : 0;
68 return 0 != ioWaited_;
75 ioWaited_ = state ? 1 : 0;
91 Flags eventsDispatched_ : 1;
109 virtual void info(std::string&) = 0;
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED_STRUCT_DECL(typeName)
#define ONIXS_CMEMDH_EXPORTED
Designed to reflect various aspects of feed engine processing flow.
void ioWaited(bool state)
Indicates whether processing had to sleep in kernel while checking data availability.
bool eventsDispatched() const
Indicates whether feed-related events like data reception or absence have been dispatched.
bool ioWaited() const
Indicates whether processing had to sleep in kernel while checking data availability.
Flags reserved() const
Reserved (unused) flags.
NetFeedEngineProcessResult()
Initializes zero-state instance.
void eventsDispatched(bool state)
Indicates whether feed-related events like data reception or absence have been dispatched.
void reserved(Flags flags)
Reserved (unused) flags.
UInt32 Flags
Aliases integral type whose bits are used to indicate flag presence.
Abstraction for the Feed Engine machinery.
virtual void info(std::string &)=0
Provides information about the actual implementation of the feed engine.
virtual NetFeedLink & allocate(const NetFeed &)=0
Constructs a link for the given feed.
virtual NetFeedEngineProcessResult process()=0
Carries out pending actions like data retrieval and event dispatching.
NetFeedEngine()
Construction through the descendants.
virtual ~NetFeedEngine()
Finalizes the instance.
virtual WatchService & watch()=0
A watch service used by the Feed Engine to assign timestamps for received packets and to track heartb...
Abstraction of a link used by the NetFeed instances to cover transportation layer.
Base attributes of market data feed.
bool process(NetFeedEngine &engine)
Carries out pending actions like data retrieval and event dispatching.