Trading System API  3.0
Library for Simulating and Deploying Trading and Investment Strategies
tsa::time_point_stream__platform Class Reference

A platform time point stream. More...

#include <TSAIntraday.h>

Inheritance diagram for tsa::time_point_stream__platform:
tsa::time_point_stream tsa::object

Public Member Functions

virtual date_time next_timestamp (const date_time &currentTimestamp) override
 Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes. More...
 
- Public Member Functions inherited from tsa::object
 object (void)
 Constructor.
 
virtual ~object (void)
 Destructor.
 
const char * class_name (void) const
 Returns the class name as returned by the 'Real Time Type Information' (RTTI) mechanism. More...
 
bool has_same_class_as (const object &other) const
 Returns true if self has the same type as other object. More...
 

Detailed Description

A platform time point stream.

Member Function Documentation

date_time tsa::time_point_stream__platform::next_timestamp ( const date_time current_timestamp)
overridevirtual

Returns the next timestamp when given the current_timestamp. To be overriden by a derived classes.

Parameters
current_timestampThe current timestamp.
Returns
A date_time.

Implements tsa::time_point_stream.