|
dxFeed Graal CXX API v5.0.0
|
The listener for receiving time series events with the specified type from the TimeSeriesTxModel. More...
#include <TxModelListener.hpp>
Inheritance diagram for TimeSeriesTxModelListener< E >:Public Member Functions | |
| std::string | toString () const override |
| Returns a string representation of the current object. | |
Public Member Functions inherited from SharedEntity | |
| template<typename T> | |
| bool | is () const noexcept |
| Checks that the pointer to the current type could be converted to type T* In other words: whether type T belongs to the type hierarchy in which the current type resides. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T. | |
| template<typename T> | |
| std::shared_ptr< T > | sharedAs () const noexcept |
| Returns a pointer to the current object wrapped in a smart pointer to type T. | |
Public Member Functions inherited from Entity | |
| virtual | ~Entity () noexcept=default |
| The default virtual d-tor. | |
Static Public Member Functions | |
| static std::shared_ptr< TimeSeriesTxModelListener< E > > | create (std::function< void(const std::vector< std::shared_ptr< E > > &, bool)> onEventsReceived) |
Creates a listener for receiving time series events (with instantiation by event type E and verification) | |
Static Public Member Functions inherited from RequireMakeShared< TimeSeriesTxModelListener< E > > | |
| static auto | createShared (Args &&...args) |
| Creates a smart pointer to an object. | |
Additional Inherited Members | |
Public Types inherited from SharedEntity | |
| using | Ptr = std::shared_ptr<SharedEntity> |
| The alias to a type of shared pointer to the SharedEntity object. | |
The listener for receiving time series events with the specified type from the TimeSeriesTxModel.
|
inlinestatic |
Creates a listener for receiving time series events (with instantiation by event type E and verification)
| E | The event type. |
| onEventsReceived | A functional object, lambda, or function to which indexed event data will be passed. |
References create().
Referenced by create(), and toString().
|
inlineoverridevirtual |
Returns a string representation of the current object.
Reimplemented from SharedEntity.
References create().