fix8
version 1.4.0
Open Source C++ FIX Framework
|
#include <session.hpp>
Public Member Functions | |
Schedule () | |
Schedule (Tickval start, Tickval end, Tickval duration=Tickval(), int utc_offset=0, int start_day=-1, int end_day=-1) | |
Schedule (const Schedule &from) | |
Schedule & | operator= (const Schedule &that) |
bool | is_valid () const |
bool | test (bool prev=false) const |
Public Attributes | |
Tickval | _start |
Tickval | _end |
Tickval | _duration |
int | _utc_offset |
int | _start_day |
int | _end_day |
Tickval::ticks | _toffset |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Schedule &what) |
Definition at line 200 of file session.hpp.
|
inline |
Definition at line 206 of file session.hpp.
|
inline |
Definition at line 209 of file session.hpp.
|
inline |
Definition at line 217 of file session.hpp.
|
inline |
Determine if this schdule is valid
Definition at line 242 of file session.hpp.
References FIX8::Tickval::is_errorval().
Referenced by FIX8::Session::handle_logon().
Definition at line 224 of file session.hpp.
References _duration, _end, _end_day, _start, _start_day, _toffset, and _utc_offset.
|
inline |
Take the current local time and test if it is within the range of this schedule
prev | current bool state that we will toggle |
Definition at line 247 of file session.hpp.
References _end, FIX8::Tickval::adjust(), FIX8::Tickval::day, FIX8::Tickval::get_ticks(), FIX8::Tickval::get_tm(), and FIX8::Tickval::in_range().
Referenced by FIX8::Session::activation_service(), and FIX8::Session::handle_logon().
|
friend |
Inserter friend.
os | stream to send to |
what | Session_Schedule reference |
Definition at line 292 of file session.hpp.
Tickval FIX8::Schedule::_duration |
Definition at line 202 of file session.hpp.
Referenced by operator=().
Tickval FIX8::Schedule::_end |
Definition at line 202 of file session.hpp.
Referenced by operator=(), and test().
int FIX8::Schedule::_end_day |
Definition at line 203 of file session.hpp.
Referenced by operator=().
Tickval FIX8::Schedule::_start |
Definition at line 202 of file session.hpp.
Referenced by operator=().
int FIX8::Schedule::_start_day |
Definition at line 203 of file session.hpp.
Referenced by operator=().
Tickval::ticks FIX8::Schedule::_toffset |
Definition at line 204 of file session.hpp.
Referenced by operator=().
int FIX8::Schedule::_utc_offset |
Definition at line 203 of file session.hpp.
Referenced by operator=().