CiiOldbDataPointMux is a wrapper for multiple CiiOldbDataPoints, to allow writing changes (to value, quality, metadata) not only to its key ("main key"), but additionally also to other secondary ("mirror") keys.
More...
#include <ciiOldbDataPointMux.hpp>
|
| | CiiOldbDataPointMux (std::shared_ptr<::elt::oldb::CiiOldbDataPoint< T > > mainDp) |
| |
| void | AddSecondary (::elt::mal::Uri &uri) |
| |
| std::shared_ptr<::elt::oldb::CiiOldbDpValue< T > > | ReadValue (bool check_bad_quality=true) |
| |
| void | WriteValue (const T &value, int64_t timestamp=::elt::oldb::CiiOldbUtil::Now(), bool is_disable_publishing=false) |
| |
| void | WriteValue (const T &value, int64_t timestamp, ::elt::oldb::CiiOldbDpQuality quality, const bool is_disable_publish=false, const std::string *overridden_server_alias=nullptr, const std::size_t *overriden_value_size_limit_remotefs=nullptr) |
| |
| void | WriteValue (std::istream &value, std::uint64_t size, int64_t timestamp=::elt::oldb::CiiOldbUtil::Now()) |
| |
| void | WriteValue (std::istream &value, std::uint64_t size, int64_t timestamp, ::elt::oldb::CiiOldbDpQuality quality) |
| |
| void | Subscribe (const std::shared_ptr<::elt::oldb::CiiOldbDpSubscription< T > > &listener, bool answer_immediately=false) |
| |
| void | Unsubscribe (const std::shared_ptr<::elt::oldb::CiiOldbDpSubscription< T > > &listener) |
| |
| std::shared_ptr<::elt::config::classes::meta::MdOldb< T > > | GetMetadata () const |
| |
| void | SetMetadata (const std::string &meta_data_instance_name) |
| |
| void | SetQuality (::elt::oldb::CiiOldbDpQuality quality) |
| |
| ::elt::common::CiiBasicDataType | GetType () const |
| |
|
| std::shared_ptr<::elt::oldb::CiiOldbDataPoint< T > > | m_mainDp |
| |
| std::vector< std::shared_ptr<::elt::oldb::CiiOldbDataPoint< T > > > | m_secondaries |
| |
| const std::string | LOGGER_NAME = "hlcc.OldbMux" |
| |
| log4cplus::Logger | logger = elt::log::CiiLogManager::GetLogger(LOGGER_NAME) |
| |
template<typename T>
class hlcc::oldbmux::CiiOldbDataPointMux< T >
CiiOldbDataPointMux is a wrapper for multiple CiiOldbDataPoints, to allow writing changes (to value, quality, metadata) not only to its key ("main key"), but additionally also to other secondary ("mirror") keys.
◆ CiiOldbDataPointMux()
◆ AddSecondary()
◆ GetMetadata()
◆ GetType()
◆ ReadValue()
◆ SetMetadata()
◆ SetQuality()
◆ Subscribe()
◆ Unsubscribe()
◆ WriteValue() [1/4]
template<typename T >
| void hlcc::oldbmux::CiiOldbDataPointMux< T >::WriteValue |
( |
const T & | value, |
|
|
int64_t | timestamp, |
|
|
::elt::oldb::CiiOldbDpQuality | quality, |
|
|
const bool | is_disable_publish = false, |
|
|
const std::string * | overridden_server_alias = nullptr, |
|
|
const std::size_t * | overriden_value_size_limit_remotefs = nullptr ) |
◆ WriteValue() [2/4]
◆ WriteValue() [3/4]
◆ WriteValue() [4/4]
◆ logger
◆ LOGGER_NAME
◆ m_mainDp
◆ m_secondaries
The documentation for this class was generated from the following file: