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;
void ioWaited(bool state)
Indicates whether processing had to sleep in kernel while checking data availability.
UInt32 Flags
Aliases integral type whose bits are used to indicate flag presence.
Designed to reflect various aspects of feed engine processing flow.
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
#define ONIXS_CMEMDH_LTWT
virtual NetFeedEngineProcessResult process()=0
Carries out pending actions like data retrieval and event dispatching.
Abstraction for the Feed Engine machinery.
bool process(NetFeedEngine &engine)
Carries out pending actions like data retrieval and event dispatching.
bool eventsDispatched() const
Indicates whether feed-related events like data reception or absence have been dispatched.
virtual ~NetFeedEngine()
Finalizes the instance.
NetFeedEngine()
Construction through the descendants.
Base attributes of market data feed.
Flags reserved() const
Reserved (unused) flags.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_EXPORTED_STRUCT_DECL(typeName)
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
Abstraction of a link used by the NetFeed instances to cover transportation layer.
void reserved(Flags flags)
Reserved (unused) flags.
void eventsDispatched(bool state)
Indicates whether feed-related events like data reception or absence have been dispatched.
NetFeedEngineProcessResult()
Initializes zero-state instance.
bool ioWaited() const
Indicates whether processing had to sleep in kernel while checking data availability.
#define ONIXS_CMEMDH_NAMESPACE_END