Value type for data for buffering and writing to OLDB. This subclass is used internally by CiiOldbDataPointAsync.
More...
|
| | OldbDataWithPromise (std::optional< T > value, std::optional< int64_t > timestamp, std::optional< elt::oldb::CiiOldbDpQuality > quality, boost::promise< OldbData > &&promise) |
| |
| virtual | ~OldbDataWithPromise ()=default |
| |
| | OldbDataWithPromise (const OldbDataWithPromise &)=delete |
| |
| OldbDataWithPromise & | operator= (const OldbDataWithPromise &)=delete |
| |
| | OldbDataWithPromise (OldbDataWithPromise &&other)=default |
| |
| OldbDataWithPromise & | operator= (OldbDataWithPromise &&other)=default |
| |
| boost::promise< CiiOldbDataPointAsync< T >::OldbData > * | GetPromise () |
| |
| | CiiOldbDataPointAsync (std::string name, std::shared_ptr< elt::oldb::CiiOldbDataPoint< T > > delegate, boost::asio::thread_pool &async_exec, const log4cplus::Logger &logger, std::size_t buffer_capacity=1) |
| | Constructor.
|
| |
| virtual | ~CiiOldbDataPointAsync () |
| |
| std::shared_ptr< elt::oldb::CiiOldbDpValue< T > > | ReadValue (bool check_bad_quality=true) |
| |
| boost::future< typename CiiOldbDataPointAsync< T >::OldbData > | WriteValue (const T &value, int64_t timestamp=elt::oldb::CiiOldbUtil::Now(), elt::oldb::CiiOldbDpQuality quality=elt::oldb::CiiOldbDpQuality::OK, bool is_disable_publishing=false) |
| |
| boost::future< typename CiiOldbDataPointAsync< T >::OldbData > | SetQuality (elt::oldb::CiiOldbDpQuality quality, bool is_disable_publishing=false) |
| |
| | OldbData (elt::oldb::CiiOldbDpQuality quality) |
| |
| | OldbData (std::optional< T > value, std::optional< int64_t > timestamp, std::optional< elt::oldb::CiiOldbDpQuality > quality) |
| |
| virtual | ~OldbData ()=default |
| | Destructor.
|
| |
| | OldbData (const OldbData &)=delete |
| |
| OldbData & | operator= (const OldbData &)=delete |
| |
| | OldbData (OldbData &&)=default |
| |
| OldbData & | operator= (OldbData &&)=default |
| |
| std::optional< T > | GetValue () const |
| |
| void | SetValue (T value) |
| |
| std::optional< int64_t > | GetTimestamp () const |
| |
| void | SetTimestamp (int64_t timestamp) |
| |
| std::optional< elt::oldb::CiiOldbDpQuality > | GetQuality () const |
| |
| | CiiOldbDataPointAsync (std::string name, std::shared_ptr< elt::oldb::CiiOldbDataPoint< T > > delegate, boost::asio::thread_pool &async_exec, const log4cplus::Logger &logger, std::size_t buffer_capacity=1) |
| | Constructor.
|
| |
| std::shared_ptr< elt::oldb::CiiOldbDpValue< T > > | ReadValue (bool check_bad_quality=true) |
| |
| boost::future< typename CiiOldbDataPointAsync< T >::OldbData > | WriteValue (const T &value, int64_t timestamp=elt::oldb::CiiOldbUtil::Now(), elt::oldb::CiiOldbDpQuality quality=elt::oldb::CiiOldbDpQuality::OK, bool is_disable_publishing=false) |
| |
| boost::future< typename CiiOldbDataPointAsync< T >::OldbData > | SetQuality (elt::oldb::CiiOldbDpQuality quality, bool is_disable_publishing=false) |
| |
template<typename T>
struct hlcc::oldbmux::CiiOldbDataPointAsync< T >::OldbDataWithPromise
Value type for data for buffering and writing to OLDB. This subclass is used internally by CiiOldbDataPointAsync.