31 #ifndef DEVICEFAMILY_H_ 32 #define DEVICEFAMILY_H_ 48 virtual std::shared_ptr<DeviceDescription::Devices>
getRpcDevices();
50 virtual void save(
bool full);
51 virtual std::shared_ptr<ICentral>
getCentral();
77 virtual std::shared_ptr<ICentral>
initializeCentral(uint32_t deviceId, int32_t address, std::string serialNumber) = 0;
Definition: IDeviceFamily.h:58
virtual bool init()
Definition: DeviceFamily.cpp:45
int32_t deviceId
Definition: Licensing.h:381
This is the base library main class.
Definition: BaseLib.h:95
virtual std::string handleCliCommand(std::string &command)
Definition: DeviceFamily.cpp:135
virtual void dispose()
Definition: DeviceFamily.cpp:95
virtual std::shared_ptr< ICentral > initializeCentral(uint32_t deviceId, int32_t address, std::string serialNumber)=0
virtual std::shared_ptr< Variable > getPairingInfo()=0
std::shared_ptr< PhysicalInterfaces > _physicalInterfaces
Definition: DeviceFamily.h:73
Definition: BaseLib.cpp:34
virtual void homegearShuttingDown()
Definition: DeviceFamily.cpp:126
std::shared_ptr< RpcClientInfo > PRpcClientInfo
Definition: ScriptInfo.h:47
FamilyType type()
Definition: IDeviceFamily.cpp:35
std::shared_ptr< ICentral > _central
Definition: DeviceFamily.h:72
Definition: IDeviceFamily.h:79
virtual void save(bool full)
Definition: DeviceFamily.cpp:82
std::shared_ptr< Variable > PVariable
Definition: PhysicalInterfaceSettings.h:41
int32_t channel
Definition: UiElements.h:215
virtual PVariable listKnownDeviceTypes(PRpcClientInfo clientInfo, bool channels, std::set< std::string > &fields)
Definition: DeviceFamily.cpp:158
virtual std::shared_ptr< ICentral > getCentral()
Definition: DeviceFamily.cpp:36
Enum
Definition: ParameterGroup.h:63
std::shared_ptr< DeviceDescription::Devices > _rpcDevices
Definition: DeviceFamily.h:75
virtual bool lifetick()
Definition: DeviceFamily.cpp:52
virtual void createCentral()=0
virtual void load()
Definition: DeviceFamily.cpp:57
std::string name
Definition: UiElements.h:216
virtual void homegearStarted()
Definition: DeviceFamily.cpp:117
virtual std::shared_ptr< Variable > getParamsetDescription(PRpcClientInfo clientInfo, int32_t deviceId, int32_t firmwareVersion, int32_t channel, ParameterGroup::Type::Enum type)
Definition: DeviceFamily.cpp:148
DeviceFamily(BaseLib::SharedObjects *bl, IFamilyEventSink *eventHandler, int32_t id, std::string name)
Definition: DeviceFamily.cpp:40
Definition: DeviceFamily.h:39
virtual std::shared_ptr< PhysicalInterfaces > physicalInterfaces()
Definition: DeviceFamily.cpp:38
virtual std::shared_ptr< DeviceDescription::Devices > getRpcDevices()
Definition: DeviceFamily.cpp:35
virtual bool hasPhysicalInterface()
Definition: DeviceFamily.cpp:37