InscoperAPI/API/Base/Config/AdvancedConnectionConfig.h¶
Namespaces¶
| Name |
|---|
| Inscoper Inscoper namespace. |
Classes¶
| Name | |
|---|---|
| class | Inscoper::AdvancedConnectionConfig AdvancedConnectionConfig class provides required information for most connections: Analog, TTL, PWM, RS232/UART. |
Source code¶
#ifndef ADVANCEDCONNECTIONCONFIG_H
#define ADVANCEDCONNECTIONCONFIG_H
#include <Base/Box/EConnectorType.h>
#include <Base/Config/ConnectionConfig.h>
namespace Inscoper {
class INSCOPER_EXPORT AdvancedConnectionConfig : public Inscoper::ConnectionConfig {
public:
#ifndef SWIG
AdvancedConnectionConfig(AdvancedConnectionConfig const &) = delete;
AdvancedConnectionConfig(AdvancedConnectionConfig &&) = delete;
AdvancedConnectionConfig &operator=(AdvancedConnectionConfig const &) = delete;
AdvancedConnectionConfig &operator=(AdvancedConnectionConfig &&) = delete;
#endif
AdvancedConnectionConfig();
void fromXML(Inscoper::XMLNode &connectionNode) INSCOPER_EXCEPTION override;
void toXML(Inscoper::XMLNode &xmlParent) INSCOPER_EXCEPTION override;
Inscoper::EConnectionType getType() override;
Inscoper::EConnectorType getTypeProvided() const;
void setTypeProvided(Inscoper::EConnectorType typeProvided);
unsigned char getConnectionId() const;
void setConnectionId(unsigned char connectionId);
private:
Inscoper::EConnectorType _typeProvided;
unsigned char _connectionId;
};
typedef std::shared_ptr<AdvancedConnectionConfig> AdvancedConnectionConfigPtr;
} // namespace Inscoper
#endif // ADVANCEDCONNECTIONCONFIG_H
Updated on 2026-09-03 at 12:14:17 +0200