38 typedef std::set<CpuIndex> CpuIndexes;
54 void copyTo(CpuIndexes&)
const;
69 std::string toString()
const;
85 UInt32 spinBeforeIdleTime_;
87 UInt32 socketBufferSize_;
107 return threadAffinity_;
119 return threadAffinity_;
133 threadCount_ = value;
147 return dataWaitTime_;
153 dataWaitTime_ = value;
166 return spinBeforeIdleTime_;
172 spinBeforeIdleTime_ = value;
180 return socketBufferSize_;
186 socketBufferSize_ = value;
190 std::string toString()
const;
251 class FeedEngineImpl;
271 friend class FeedEngineImpl;
273 FeedEngineImpl* impl_;
#define ONIXS_ESPEED_ITCH_NAMESPACE_END
#define ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN
UInt32 socketBufferSize() const
UInt32 spinBeforeIdleTime() const
virtual void onFeedEngineThreadBegin(const FeedEngine &)
UInt32 dataWaitTime() const
void dataWaitTime(UInt32 value)
Sets dataWaitTime.
Identifies reasons feed engine threads becomes idle.
void socketBufferSize(UInt32 value)
Sets udpSocketBufferSize.
UInt32 threadCount() const
Collection of settings affecting Feed Engine behavior.
virtual void onFeedEngineThreadIdle(const FeedEngine &, FeedEngineThreadIdle::Reason, UInt32 &)
ThreadAffinity & threadAffinity()
ONIXS_ESPEED_ITCH_API std::ostream & operator<<(std::ostream &stream, const FeedEngineSettings &settings)
void threadCount(UInt32 value)
Sets threadsCount.
const ThreadAffinity & threadAffinity() const
virtual void onFeedEngineThreadEnd(const FeedEngine &)
ONIXS_ESPEED_ITCH_NAMESPACE_BEGIN typedef size_t CpuIndex
Zero-based index of CPU.
Represents set of CPU indices.
Manages processing machinery for market data received from feeds.
ONIXS_ESPEED_ITCH_API_DECL(class, FeedEngine)
void spinBeforeIdleTime(UInt32 value)
Sets redundancySpinTime.