CDPBaseCom Class
The CDPBaseCom class is not a widget, but a base class for communication with CDP. More...
Header: | #include <CDPBaseWidgets/CDPBaseCom.h> |
Inherited By: | CDPBaseBar, CDPBaseButtonMsg, CDPBaseCheckBox, CDPBaseComboBox, CDPBaseComObj, CDPBaseLabel, CDPBaseLineEdit, CDPBaseLoadingIndicator, CDPBaseMeter, CDPBasePictureSequence, CDPBaseSlider, CDPBaseSpinBox, CDPBaseStackedWidget, CDPBaseToggleButton, and CDPComWidget |
Public Functions
CDPBaseCom(void) | |
virtual | ~CDPBaseCom(void) |
void | Connect(std::string strRemoteObjectName) override |
std::string | GetRemoteName() override |
virtual double | GetValueDouble() |
virtual void | SetValueDouble(double newValue) |
QString | cdpPropertyName() |
virtual void | emitValueChanged(double value) |
virtual const QString & | noConnectionText() const |
double | offlineValue() const |
bool | offlineValueEnabled() |
QString | offlineValueString() const |
double | scalingFactor() |
virtual void | setOfflineValue(double value) |
virtual void | setOfflineValueEnabled(bool enabled) |
virtual void | setOfflineValueString(const QString &value) |
virtual void | setScalingFactor(double value) |
virtual bool | setValue(QString value, bool bScale) |
virtual void | setValue(double value) |
Static Public Members
QString | FindFullTargetRouting(QWidget *parentIterator) |
const char * | FullTargetPropertyName() |
Protected Functions
virtual void | ConnectionChanged(bool bConnected) |
virtual void | OnValueChanged(double dNewValue) |
virtual void | PropertyChanged(std::string strPropertyName, std::string strNewPropertyValue) |
void | setCdpPropertyName(QString prop) |
Detailed Description
The CDPBaseCom class is not a widget, but a base class for communication with CDP.
Member Function Documentation
CDPBaseCom::CDPBaseCom(void)
Default constructs an instance of CDPBaseCom.
[virtual]
CDPBaseCom::~CDPBaseCom(void)
Destroys the instance of CDPBaseCom. The destructor is virtual.
void CDPBaseCom::Connect(std::string strRemoteObjectName)
[virtual protected]
void CDPBaseCom::ConnectionChanged(bool bConnected)
[static]
QString CDPBaseCom::FindFullTargetRouting(QWidget *parentIterator)
[static]
const char *CDPBaseCom::FullTargetPropertyName()
std::string CDPBaseCom::GetRemoteName()
[virtual]
double CDPBaseCom::GetValueDouble()
[virtual protected]
void CDPBaseCom::OnValueChanged(double dNewValue)
[virtual protected]
void CDPBaseCom::PropertyChanged(std::string strPropertyName, std::string strNewPropertyValue)
[virtual]
void CDPBaseCom::SetValueDouble(double newValue)
QString CDPBaseCom::cdpPropertyName()
See also setCdpPropertyName().
[virtual]
void CDPBaseCom::emitValueChanged(double value)
[virtual]
const QString &CDPBaseCom::noConnectionText() const
double CDPBaseCom::offlineValue() const
See also setOfflineValue().
bool CDPBaseCom::offlineValueEnabled()
See also setOfflineValueEnabled().
QString CDPBaseCom::offlineValueString() const
See also setOfflineValueString().
double CDPBaseCom::scalingFactor()
See also setScalingFactor().
[protected]
void CDPBaseCom::setCdpPropertyName(QString prop)
See also cdpPropertyName().
[virtual]
void CDPBaseCom::setOfflineValue(double value)
See also offlineValue().
[virtual]
void CDPBaseCom::setOfflineValueEnabled(bool enabled)
See also offlineValueEnabled().
[virtual]
void CDPBaseCom::setOfflineValueString(const QString &value)
See also offlineValueString().
[virtual]
void CDPBaseCom::setScalingFactor(double value)
See also scalingFactor().
[virtual]
bool CDPBaseCom::setValue(QString value, bool bScale)
[virtual]
void CDPBaseCom::setValue(double value)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.