Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
slick::trader::SimControlLink Class Reference

#include <slick-trader/web/sim_control.hpp>

Collaboration diagram for slick::trader::SimControlLink:

Classes

struct  Impl

Public Member Functions

 SimControlLink (const SimControlConfig &config)
 ~SimControlLink ()
bool due (uint64_t now_ns) const noexcept
void service (uint64_t now_ns)
void disconnect ()
SimControl & control () noexcept
const SimControl & control () const noexcept
const std::string & address () const noexcept

Detailed Description

Definition at line 200 of file sim_control.hpp.

Constructor & Destructor Documentation

◆ SimControlLink()

slick::trader::SimControlLink::SimControlLink ( const SimControlConfig & config)
explicit

Definition at line 420 of file sim_control.cpp.

◆ ~SimControlLink()

slick::trader::SimControlLink::~SimControlLink ( )
default

Member Function Documentation

◆ address()

const std::string & slick::trader::SimControlLink::address ( ) const
inlinenoexcept

Definition at line 213 of file sim_control.hpp.

References address().

Referenced by address().

◆ control() [1/2]

const SimControl & slick::trader::SimControlLink::control ( ) const
noexcept

Definition at line 448 of file sim_control.cpp.

◆ control() [2/2]

SimControl & slick::trader::SimControlLink::control ( )
noexcept

Definition at line 447 of file sim_control.cpp.

Referenced by service().

◆ disconnect()

void slick::trader::SimControlLink::disconnect ( )

Definition at line 441 of file sim_control.cpp.

◆ due()

bool slick::trader::SimControlLink::due ( uint64_t now_ns) const
inlinenoexcept

Definition at line 206 of file sim_control.hpp.

◆ service()

void slick::trader::SimControlLink::service ( uint64_t now_ns)

Definition at line 427 of file sim_control.cpp.

References control().


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