CANdevStudio
Development tool for CAN bus simulation
|
This class is responsible for manage can raw sender window. More...
#include <canrawsender_p.h>
Public Member Functions | |
CanRawSenderPrivate (CanRawSender *q, CanRawSenderCtx &&ctx=CanRawSenderCtx(new CRSGui, new NLMFactory)) | |
constructor | |
virtual | ~CanRawSenderPrivate ()=default |
destructor | |
void | setSimulationState (bool state) |
This method propagates the system simulator state. | |
void | saveSettings (QJsonObject &json) const |
This method writes to json format actual can raw sender window properties. | |
int | getLineCount () const |
This method returns actual number of lines in table. | |
bool | restoreConfiguration (const QJsonObject &json) |
Used to restore rawsender configurations. | |
ComponentInterface::ComponentProperties | getSupportedProperties () const |
Used to get list of properties supported by component. | |
Public Attributes | |
CanRawSenderCtx | _ctx |
CRSGuiInterface & | _ui |
NLMFactoryInterface & | _nlmFactory |
bool | docked { true } |
std::map< QString, QVariant > | _props |
This class is responsible for manage can raw sender window.
|
inline |
constructor
Create new CanRawSenderPrivate class
[in] | q | Pointer to CanRawSender class |
[in] | ctx | CanRawSender context |
|
virtualdefault |
destructor
int CanRawSenderPrivate::getLineCount | ( | ) | const |
This method returns actual number of lines in table.
ComponentInterface::ComponentProperties CanRawSenderPrivate::getSupportedProperties | ( | ) | const |
Used to get list of properties supported by component.
bool CanRawSenderPrivate::restoreConfiguration | ( | const QJsonObject & | json | ) |
Used to restore rawsender configurations.
[in] | json | Constant reference to json object |
void CanRawSenderPrivate::saveSettings | ( | QJsonObject & | json | ) | const |
This method writes to json format actual can raw sender window properties.
[in] | json | Json object |
void CanRawSenderPrivate::setSimulationState | ( | bool | state | ) |
This method propagates the system simulator state.
[in] | state | Actual simulator state |
CanRawSenderCtx CanRawSenderPrivate::_ctx |
NLMFactoryInterface& CanRawSenderPrivate::_nlmFactory |
std::map<QString, QVariant> CanRawSenderPrivate::_props |
CRSGuiInterface& CanRawSenderPrivate::_ui |
bool CanRawSenderPrivate::docked { true } |