OnixS C++ CME MDP Conflated UDP Handler  1.0.2
API documentation
ReplaySpan Class Reference

#include <OnixS/CME/ConflatedUDP/Replay.h>

Public Member Functions

 ReplaySpan ()
 
 ReplaySpan (const Timestamp &begin, const Timestamp &end)
 
 ReplaySpan (const ReplaySpan &other)
 
bool empty () const
 
bool contain (const Timestamp &timestamp) const
 
const Timestampbegin () const
 
void begin (const Timestamp &value)
 
const Timestampend () const
 
void end (const Timestamp &value)
 
ReplaySpanoperator= (const ReplaySpan &other)
 

Detailed Description

Definition at line 128 of file Replay.h.

Constructor & Destructor Documentation

ReplaySpan ( )
inline

Initializes empty span.

Definition at line 135 of file Replay.h.

ReplaySpan ( const Timestamp begin,
const Timestamp end 
)
inline

Initializes the instance according to the given bounds.

Definition at line 143 of file Replay.h.

ReplaySpan ( const ReplaySpan other)
inline

Initializes the instance as a copy of the other one.

Definition at line 153 of file Replay.h.

Member Function Documentation

const Timestamp& begin ( ) const
inline

Indicates the beginning of the range.

Definition at line 178 of file Replay.h.

void begin ( const Timestamp value)
inline

Updates the beginning of the range.

Definition at line 185 of file Replay.h.

bool contain ( const Timestamp timestamp) const
inline

Indicates whether the given timestamp belongs to the given time span.

Definition at line 169 of file Replay.h.

bool empty ( ) const
inline

Indicates whether span is empty or not.

Definition at line 161 of file Replay.h.

const Timestamp& end ( ) const
inline

Indicates the end of the range.

Definition at line 192 of file Replay.h.

void end ( const Timestamp value)
inline

Indicates the end of the range.

Definition at line 199 of file Replay.h.

ReplaySpan& operator= ( const ReplaySpan other)
inline

Re-initializes as a copy of the other one.

Definition at line 207 of file Replay.h.


The documentation for this class was generated from the following file: