Options for creating an Instance.
More...
#include <instance.hpp>
Options for creating an Instance.
Definition at line 184 of file instance.hpp.
◆ CreateInstanceOptions()
| openpine::CreateInstanceOptions::CreateInstanceOptions |
( |
const std::string & | source, |
|
|
const std::string & | timeframe, |
|
|
const std::string & | symbol, |
|
|
const std::optional< std::string > & | path = std::nullopt ) |
|
inline |
◆ setBackgroundColor()
| void openpine::CreateInstanceOptions::setBackgroundColor |
( |
uint32_t | color | ) |
|
|
inline |
Sets the background color (0xAARRGGBB).
Definition at line 197 of file instance.hpp.
◆ setDataProvider()
| void openpine::CreateInstanceOptions::setDataProvider |
( |
DataProvider * | provider | ) |
|
|
inline |
◆ setLastInfo()
| void openpine::CreateInstanceOptions::setLastInfo |
( |
const LastInfo & | last_info | ) |
|
|
inline |
◆ setOutputMode()
| void openpine::CreateInstanceOptions::setOutputMode |
( |
ffi::COutputMode | mode | ) |
|
|
inline |
Sets the output mode.
- Parameters
-
| mode | ffi::COutputMode::Chart (default) or ffi::COutputMode::Stream. |
Definition at line 213 of file instance.hpp.
◆ Instance
The documentation for this class was generated from the following file: