|
| DeviceFamily (BaseLib::SharedObjects *bl, IFamilyEventSink *eventHandler, int32_t id, std::string name) |
|
virtual bool | init () |
|
virtual void | dispose () |
|
virtual bool | lifetick () |
|
virtual std::shared_ptr< DeviceDescription::Devices > | getRpcDevices () |
|
virtual void | load () |
|
virtual void | save (bool full) |
|
virtual std::shared_ptr< ICentral > | getCentral () |
|
virtual std::string | handleCliCommand (std::string &command) |
|
virtual bool | hasPhysicalInterface () |
|
virtual std::shared_ptr< PhysicalInterfaces > | physicalInterfaces () |
|
virtual void | homegearStarted () |
|
virtual void | homegearShuttingDown () |
|
virtual std::shared_ptr< Variable > | getPairingInfo ()=0 |
|
virtual std::shared_ptr< Variable > | getParamsetDescription (PRpcClientInfo clientInfo, int32_t deviceId, int32_t firmwareVersion, int32_t channel, ParameterGroup::Type::Enum type) |
|
virtual PVariable | listKnownDeviceTypes (PRpcClientInfo clientInfo, bool channels, std::set< std::string > &fields) |
|
| IDeviceFamily (BaseLib::SharedObjects *bl, IFamilyEventSink *eventHandler, int32_t id, std::string name, FamilyType type) |
|
virtual | ~IDeviceFamily () |
|
FamilyType | type () |
|
virtual bool | enabled () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
virtual bool | locked () |
|
virtual int32_t | getFamily () |
|
virtual FamilySettings::PFamilySetting | getFamilySetting (const std::string &name) |
|
virtual void | setFamilySetting (const std::string &name, const std::string &value) |
|
virtual void | setFamilySetting (const std::string &name, int32_t value) |
|
virtual void | setFamilySetting (const std::string &name, const std::vector< char > &value) |
|
virtual void | deleteFamilySettingFromDatabase (const std::string &name) |
|
virtual std::string | getName () |
|
virtual void | onRPCEvent (std::string &source, uint64_t id, int32_t channel, std::string &deviceAddress, std::shared_ptr< std::vector< std::string >> &valueKeys, std::shared_ptr< std::vector< PVariable >> &values)=0 |
|
virtual void | onRPCNewDevices (std::vector< uint64_t > &ids, PVariable deviceDescriptions)=0 |
|
virtual void | onRPCDeleteDevices (std::vector< uint64_t > &ids, PVariable deviceAddresses, PVariable deviceInfo)=0 |
|
virtual void | onEvent (std::string &source, uint64_t peerId, int32_t channel, std::shared_ptr< std::vector< std::string >> &variables, std::shared_ptr< std::vector< std::shared_ptr< BaseLib::Variable >>> &values)=0 |
|
| IEventSinkBase () |
|
virtual | ~IEventSinkBase () |
|
| IEvents () |
|
virtual | ~IEvents () |
|
virtual void | setEventHandler (IEventSinkBase *eventHandler) |
|
virtual void | resetEventHandler () |
|
virtual IEventSinkBase * | getEventHandler () |
|
|
virtual std::shared_ptr< ICentral > | initializeCentral (uint32_t deviceId, int32_t address, std::string serialNumber)=0 |
|
virtual void | createCentral ()=0 |
|
virtual void | raiseAddWebserverEventHandler (BaseLib::Rpc::IWebserverEventSink *eventHandler, std::map< int32_t, PEventHandler > &eventHandlers) |
|
virtual void | raiseRemoveWebserverEventHandler (std::map< int32_t, PEventHandler > &eventHandlers) |
|
virtual void | raiseRPCEvent (std::string &source, uint64_t id, int32_t channel, std::string &deviceAddress, std::shared_ptr< std::vector< std::string >> &valueKeys, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> &values) |
|
virtual void | raiseRPCUpdateDevice (uint64_t id, int32_t channel, std::string address, int32_t hint) |
|
virtual void | raiseRPCNewDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceDescriptions) |
|
virtual void | raiseRPCDeleteDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceAddresses, std::shared_ptr< Variable > deviceInfo) |
|
virtual void | raiseEvent (std::string &source, uint64_t peerID, int32_t channel, std::shared_ptr< std::vector< std::string >> &variables, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> &values) |
|
virtual void | raiseServiceMessageEvent (const PServiceMessage &serviceMessage) |
|
virtual void | raiseRunScript (ScriptEngine::PScriptInfo &scriptInfo, bool wait) |
|
virtual BaseLib::PVariable | raiseInvokeRpc (std::string &methodName, BaseLib::PArray ¶meters) |
|
virtual int32_t | raiseCheckLicense (int32_t moduleId, int32_t familyId, int32_t deviceId, const std::string &licenseKey) |
|
virtual uint64_t | raiseGetRoomIdByName (std::string &name) |
|
virtual void | raiseDecryptDeviceDescription (int32_t moduleId, const std::vector< char > &input, std::vector< char > &output) |
|
void | onAddWebserverEventHandler (BaseLib::Rpc::IWebserverEventSink *eventHandler, std::map< int32_t, PEventHandler > &eventHandlers) override |
|
void | onRemoveWebserverEventHandler (std::map< int32_t, PEventHandler > &eventHandlers) override |
|
void | onRPCEvent (std::string &source, uint64_t id, int32_t channel, std::string &deviceAddress, std::shared_ptr< std::vector< std::string >> &valueKeys, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> &values) override |
|
void | onRPCUpdateDevice (uint64_t id, int32_t channel, std::string address, int32_t hint) override |
|
void | onRPCNewDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceDescriptions) override |
|
void | onRPCDeleteDevices (std::vector< uint64_t > &ids, std::shared_ptr< Variable > deviceAddresses, std::shared_ptr< Variable > deviceInfo) override |
|
void | onEvent (std::string &source, uint64_t peerID, int32_t channel, std::shared_ptr< std::vector< std::string >> &variables, std::shared_ptr< std::vector< std::shared_ptr< Variable >>> &values) override |
|
void | onServiceMessageEvent (const PServiceMessage &serviceMessage) override |
|
void | onRunScript (ScriptEngine::PScriptInfo &scriptInfo, bool wait) override |
|
BaseLib::PVariable | onInvokeRpc (std::string &methodName, BaseLib::PArray ¶meters) override |
|
uint64_t | onGetRoomIdByName (std::string &name) override |
|
void | onDecryptDeviceDescription (int32_t moduleId, const std::vector< char > &input, std::vector< char > &output) override |
|