libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::Systems::ICentral Class Referenceabstract

#include <ICentral.h>

Inheritance diagram for BaseLib::Systems::ICentral:
BaseLib::Systems::Peer::IPeerEventSink BaseLib::Systems::IPhysicalInterface::IPhysicalInterfaceEventSink BaseLib::IEvents BaseLib::IEventSinkBase BaseLib::IEventSinkBase

Classes

class  ICentralEventSink
 
struct  PairingMessage
 
struct  PairingState
 

Public Types

typedef std::shared_ptr< PairingStatePPairingState
 
typedef std::shared_ptr< PairingMessagePPairingMessage
 

Public Member Functions

 ICentral (int32_t deviceFamily, BaseLib::SharedObjects *baseLib, ICentralEventSink *eventHandler)
 
 ICentral (int32_t deviceFamily, BaseLib::SharedObjects *baseLib, uint32_t deviceId, std::string serialNumber, int32_t address, ICentralEventSink *eventHandler)
 
virtual ~ICentral ()
 
virtual void dispose (bool wait=true)
 
virtual void load ()
 
virtual void save (bool full)
 
virtual void homegearStarted ()
 
virtual void homegearShuttingDown ()
 
virtual int32_t deviceFamily ()
 
std::shared_ptr< DeviceTranslationsgetTranslations ()
 
virtual int32_t getAddress ()
 
virtual uint64_t getId ()
 
virtual std::string getSerialNumber ()
 
virtual std::string handleCliCommand (std::string command)
 
std::vector< std::shared_ptr< Peer > > getPeers ()
 
std::shared_ptr< PeergetPeer (int32_t address)
 
std::shared_ptr< PeergetPeer (uint64_t id)
 
std::shared_ptr< PeergetPeer (std::string serialNumber)
 
virtual bool peerExists (int32_t address)
 
virtual bool peerExists (std::string serialNumber)
 
virtual bool peerExists (uint64_t id)
 
virtual uint64_t getPeerIdFromSerial (std::string &serialNumber)
 
virtual PVariable activateLinkParamset (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, std::string remoteSerialNumber, int32_t remoteChannel, bool longPress)
 
virtual PVariable activateLinkParamset (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t remoteId, int32_t remoteChannel, bool longPress)
 
virtual PVariable addCategoryToChannel (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t categoryId)
 
virtual PVariable addDevice (PRpcClientInfo clientInfo, std::string serialNumber)
 
virtual PVariable addChannelToBuildingPart (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t buildingPartId)
 
virtual PVariable addChannelToRoom (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t roomId)
 
virtual PVariable addLink (PRpcClientInfo clientInfo, std::string senderSerialNumber, int32_t senderChannel, std::string receiverSerialNumber, int32_t receiverChannel, std::string name, std::string description)
 
virtual PVariable addLink (PRpcClientInfo clientInfo, uint64_t senderId, int32_t senderChannel, uint64_t receiverId, int32_t receiverChannel, std::string name, std::string description)
 
virtual PVariable createDevice (PRpcClientInfo clientInfo, int32_t deviceType, std::string serialNumber, int32_t address, int32_t firmwareVersion, std::string interfaceId)
 
virtual PVariable createDevice (PRpcClientInfo clientInfo, const std::string &code)
 
virtual PVariable deleteDevice (PRpcClientInfo clientInfo, std::string serialNumber, int32_t flags)
 
virtual PVariable deleteDevice (PRpcClientInfo clientInfo, uint64_t peerId, int32_t flags)
 
virtual PVariable getAllConfig (PRpcClientInfo clientInfo, uint64_t peerId, bool checkAcls)
 
virtual PVariable getAllValues (PRpcClientInfo clientInfo, BaseLib::PArray peerIds, bool returnWriteOnly, bool checkAcls)
 
virtual PVariable getChannelsInBuildingPart (PRpcClientInfo clientInfo, uint64_t buildingPartId, bool checkAcls)
 
virtual PVariable getChannelsInCategory (PRpcClientInfo clientInfo, uint64_t categoryId, bool checkAcls)
 
virtual PVariable getChannelsInRoom (PRpcClientInfo clientInfo, uint64_t roomId, bool checkAcls)
 
virtual PVariable getConfigParameter (PRpcClientInfo clientInfo, std::string serialNumber, uint32_t channel, std::string name)
 
virtual PVariable getConfigParameter (PRpcClientInfo clientInfo, uint64_t peerId, uint32_t channel, std::string name)
 
virtual PVariable getDeviceDescription (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, std::map< std::string, bool > fields)
 
virtual PVariable getDeviceDescription (PRpcClientInfo clientInfo, uint64_t id, int32_t channel, std::map< std::string, bool > fields)
 
virtual PVariable getDeviceInfo (PRpcClientInfo clientInfo, uint64_t id, std::map< std::string, bool > fields, bool checkAcls)
 
virtual PVariable getDevicesInBuildingPart (PRpcClientInfo clientInfo, uint64_t buildingPartId, bool checkAcls)
 
virtual PVariable getDevicesInCategory (PRpcClientInfo clientInfo, uint64_t categoryId, bool checkAcls)
 
virtual PVariable getDevicesInRoom (PRpcClientInfo clientInfo, uint64_t roomId, bool checkAcls)
 
virtual PVariable getPeerId (PRpcClientInfo clientInfo, int32_t filterType, std::string filterValue, bool checkAcls)
 
virtual PVariable getPeerId (PRpcClientInfo clientInfo, int32_t address)
 
virtual PVariable getPeerId (PRpcClientInfo clientInfo, std::string serialNumber)
 
virtual PVariable getInstallMode (PRpcClientInfo clientInfo)
 
virtual PVariable getLinkInfo (PRpcClientInfo clientInfo, std::string senderSerialNumber, int32_t senderChannel, std::string receiverSerialNumber, int32_t receiverChannel)
 
virtual PVariable getLinkInfo (PRpcClientInfo clientInfo, uint64_t senderId, int32_t senderChannel, uint64_t receiverId, int32_t receiverChannel)
 
virtual PVariable getLinkPeers (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel)
 
virtual PVariable getLinkPeers (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel)
 
virtual PVariable getLinks (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, int32_t flags)
 
virtual PVariable getLinks (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, int32_t flags, bool checkAcls)
 
virtual PVariable getName (PRpcClientInfo clientInfo, uint64_t id, int32_t channel)
 
virtual PVariable getPairingState (PRpcClientInfo clientInfo)
 
virtual PVariable getParamsetDescription (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, ParameterGroup::Type::Enum type, std::string remoteSerialNumber, int32_t remoteChannel)
 
virtual PVariable getParamsetDescription (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, ParameterGroup::Type::Enum type, uint64_t remoteId, int32_t remoteChannel, bool checkAcls)
 
virtual PVariable getParamsetId (PRpcClientInfo clientInfo, std::string serialNumber, uint32_t channel, ParameterGroup::Type::Enum type, std::string remoteSerialNumber, int32_t remoteChannel)
 
virtual PVariable getParamsetId (PRpcClientInfo clientInfo, uint64_t peerId, uint32_t channel, ParameterGroup::Type::Enum type, uint64_t remoteId, int32_t remoteChannel)
 
virtual PVariable getParamset (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, ParameterGroup::Type::Enum type, std::string remoteSerialNumber, int32_t remoteChannel)
 
virtual PVariable getParamset (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, ParameterGroup::Type::Enum type, uint64_t remoteId, int32_t remoteChannel, bool checkAcls)
 
virtual PVariable getRolesInRoom (PRpcClientInfo clientInfo, uint64_t roomId, bool checkDeviceAcls, bool checkVariableAcls)
 
virtual PVariable getServiceMessages (PRpcClientInfo clientInfo, bool returnId, const std::string &language, bool checkAcls)
 
virtual PVariable getSniffedDevices (PRpcClientInfo clientInfo)
 
virtual PVariable getValue (PRpcClientInfo clientInfo, std::string serialNumber, uint32_t channel, std::string valueKey, bool requestFromDevice, bool asynchronous)
 
virtual PVariable getValue (PRpcClientInfo clientInfo, uint64_t id, uint32_t channel, std::string valueKey, bool requestFromDevice, bool asynchronous)
 
virtual PVariable getVariableDescription (PRpcClientInfo clientInfo, uint64_t id, uint32_t channel, std::string valueKey, const std::unordered_set< std::string > &fields)
 
virtual PVariable getVariablesInBuildingPart (PRpcClientInfo clientInfo, uint64_t buildingPartId, bool returnDeviceAssigned, bool checkDeviceAcls, bool checkVariableAcls)
 
virtual PVariable getVariablesInCategory (PRpcClientInfo clientInfo, uint64_t categoryId, bool checkDeviceAcls, bool checkVariableAcls)
 
virtual PVariable getVariablesInRole (PRpcClientInfo clientInfo, uint64_t roleId, bool checkDeviceAcls, bool checkVariableAcls)
 
virtual PVariable getVariablesInRoom (PRpcClientInfo clientInfo, uint64_t roomId, bool returnDeviceAssigned, bool checkDeviceAcls, bool checkVariableAcls)
 
virtual PVariable invokeFamilyMethod (PRpcClientInfo clientInfo, std::string &methodName, PArray parameters)
 
virtual PVariable listDevices (PRpcClientInfo clientInfo, bool channels, std::map< std::string, bool > fields, bool checkAcls)
 
virtual PVariable listDevices (PRpcClientInfo clientInfo, bool channels, std::map< std::string, bool > fields, std::shared_ptr< std::set< uint64_t >> knownDevices, bool checkAcls)
 
virtual PVariable listTeams (BaseLib::PRpcClientInfo clientInfo, bool checkAcls)
 
virtual PVariable putParamset (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, ParameterGroup::Type::Enum type, std::string remoteSerialNumber, int32_t remoteChannel, PVariable paramset)
 
virtual PVariable putParamset (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, ParameterGroup::Type::Enum type, uint64_t remoteId, int32_t remoteChannel, PVariable paramset, bool checkAcls)
 
virtual PVariable reportValueUsage (PRpcClientInfo clientInfo, std::string serialNumber)
 
virtual PVariable removeCategoryFromChannel (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t categoryId)
 
virtual PVariable removeChannelFromBuildingPart (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t buildingPartId)
 
virtual PVariable removeChannelFromRoom (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t roomId)
 
virtual PVariable removeLink (PRpcClientInfo clientInfo, std::string senderSerialNumber, int32_t senderChannel, std::string receiverSerialNumber, int32_t receiverChannel)
 
virtual PVariable removeLink (PRpcClientInfo clientInfo, uint64_t senderId, int32_t senderChannel, uint64_t receiverId, int32_t receiverChannel)
 
virtual PVariable rssiInfo (PRpcClientInfo clientInfo, bool checkAcls)
 
virtual PVariable searchDevices (PRpcClientInfo clientInfo, const std::string &interfaceId)
 
virtual PVariable searchInterfaces (PRpcClientInfo clientInfo, PVariable metadata)
 
virtual std::shared_ptr< BaseLib::VariablesetId (PRpcClientInfo clientInfo, uint64_t oldPeerId, uint64_t newPeerId)
 RPC function to change the Id of the peer. More...
 
virtual std::shared_ptr< BaseLib::VariablesetSerialNumber (PRpcClientInfo clientInfo, uint64_t peer_id, const std::string &new_serial_number)
 
virtual PVariable setInstallMode (PRpcClientInfo clientInfo, bool on, uint32_t duration, BaseLib::PVariable metadata, bool debugOutput=true)
 
virtual PVariable setInterface (PRpcClientInfo clientInfo, uint64_t peerId, std::string interfaceId)
 
virtual PVariable setLinkInfo (PRpcClientInfo clientInfo, std::string senderSerialNumber, int32_t senderChannel, std::string receiverSerialNumber, int32_t receiverChannel, std::string name, std::string description)
 
virtual PVariable setLinkInfo (PRpcClientInfo clientInfo, uint64_t senderId, int32_t senderChannel, uint64_t receiverId, int32_t receiverChannel, std::string name, std::string description)
 
virtual PVariable setName (PRpcClientInfo clientInfo, uint64_t id, int32_t channel, std::string name)
 
virtual PVariable setTeam (PRpcClientInfo clientInfo, std::string serialNumber, int32_t channel, std::string teamSerialNumber, int32_t teamChannel, bool force=false, bool burst=true)
 
virtual PVariable setTeam (PRpcClientInfo clientInfo, uint64_t peerId, int32_t channel, uint64_t teamId, int32_t teamChannel, bool force=false, bool burst=true)
 
virtual PVariable setValue (PRpcClientInfo clientInfo, std::string serialNumber, uint32_t channel, std::string valueKey, PVariable value, bool wait)
 
virtual PVariable setValue (PRpcClientInfo clientInfo, uint64_t id, uint32_t channel, std::string valueKey, PVariable value, bool wait)
 
virtual PVariable startSniffing (PRpcClientInfo clientInfo)
 
virtual PVariable stopSniffing (PRpcClientInfo clientInfo)
 
virtual PVariable updateFirmware (PRpcClientInfo clientInfo, std::vector< uint64_t > ids, bool manual)
 
- Public Member Functions inherited from BaseLib::Systems::Peer::IPeerEventSink
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< PVariable >> &values)=0
 
- Public Member Functions inherited from BaseLib::IEventSinkBase
 IEventSinkBase ()
 
virtual ~IEventSinkBase ()
 
- Public Member Functions inherited from BaseLib::IEvents
 IEvents ()
 
virtual ~IEvents ()
 
virtual void setEventHandler (IEventSinkBase *eventHandler)
 
virtual void resetEventHandler ()
 
virtual IEventSinkBasegetEventHandler ()
 

Protected Member Functions

 ICentral (const ICentral &)
 
ICentraloperator= (const ICentral &)
 
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< PVariable >> &values)
 
virtual void raiseRPCUpdateDevice (uint64_t id, int32_t channel, std::string address, int32_t hint)
 
virtual void raiseRPCNewDevices (std::vector< uint64_t > &ids, PVariable deviceDescriptions)
 
virtual void raiseRPCDeleteDevices (std::vector< uint64_t > &ids, PVariable deviceAddresses, PVariable 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< BaseLib::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 &parameters)
 
virtual uint64_t raiseGetRoomIdByName (std::string &name)
 
bool onPacketReceived (std::string &senderID, std::shared_ptr< Packet > packet) override=0
 
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< PVariable >> &values) override
 
void onRPCUpdateDevice (uint64_t id, int32_t channel, std::string address, int32_t hint) 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< BaseLib::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 &parameters) override
 
virtual void setPeerId (uint64_t oldPeerId, uint64_t newPeerId)
 
virtual void setPeerSerialNumber (const std::string &old_serial_number, const std::string &new_serial_number)
 
virtual void deletePeersFromDatabase ()
 
virtual void loadVariables ()=0
 
virtual void loadPeers ()
 
virtual void savePeers (bool full)
 
virtual void saveVariables ()=0
 
virtual void saveVariable (uint32_t index, int64_t intValue)
 
virtual void saveVariable (uint32_t index, std::string &stringValue)
 
virtual void saveVariable (uint32_t index, std::vector< uint8_t > &binaryValue)
 

Protected Attributes

BaseLib::SharedObjects_bl = nullptr
 
int32_t _deviceFamily = -1
 
uint64_t _deviceId = 0
 
int32_t _address = 0
 
std::string _serialNumber
 
std::map< uint32_t, uint32_t > _variableDatabaseIds
 
std::atomic_bool _initialized
 
std::atomic_bool _disposing
 
std::shared_ptr< DeviceDescription::DeviceTranslations_translations
 
std::unordered_map< int32_t, std::shared_ptr< Peer > > _peers
 
std::unordered_map< std::string, std::shared_ptr< Peer > > _peersBySerial
 
std::map< uint64_t, std::shared_ptr< Peer > > _peersById
 
std::mutex _peersMutex
 
std::atomic_bool _pairing
 
std::atomic_int _timeLeftInPairingMode
 
std::mutex _newPeersMutex
 
std::map< int64_t, std::list< PPairingState > > _newPeers
 
std::list< PPairingMessage_pairingMessages
 
std::map< std::string, PEventHandler_physicalInterfaceEventhandlers
 
- Protected Attributes inherited from BaseLib::IEvents
IEventSinkBase_eventHandler = nullptr
 

Member Typedef Documentation

§ PPairingMessage

§ PPairingState

Constructor & Destructor Documentation

§ ICentral() [1/3]

BaseLib::Systems::ICentral::ICentral ( int32_t  deviceFamily,
BaseLib::SharedObjects baseLib,
ICentralEventSink eventHandler 
)

§ ICentral() [2/3]

BaseLib::Systems::ICentral::ICentral ( int32_t  deviceFamily,
BaseLib::SharedObjects baseLib,
uint32_t  deviceId,
std::string  serialNumber,
int32_t  address,
ICentralEventSink eventHandler 
)

§ ~ICentral()

BaseLib::Systems::ICentral::~ICentral ( )
virtual

§ ICentral() [3/3]

BaseLib::Systems::ICentral::ICentral ( const ICentral )
protected

Member Function Documentation

§ activateLinkParamset() [1/2]

virtual PVariable BaseLib::Systems::ICentral::activateLinkParamset ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
std::string  remoteSerialNumber,
int32_t  remoteChannel,
bool  longPress 
)
inlinevirtual

§ activateLinkParamset() [2/2]

virtual PVariable BaseLib::Systems::ICentral::activateLinkParamset ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  remoteId,
int32_t  remoteChannel,
bool  longPress 
)
inlinevirtual

§ addCategoryToChannel()

PVariable BaseLib::Systems::ICentral::addCategoryToChannel ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  categoryId 
)
virtual

§ addChannelToBuildingPart()

PVariable BaseLib::Systems::ICentral::addChannelToBuildingPart ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  buildingPartId 
)
virtual

§ addChannelToRoom()

PVariable BaseLib::Systems::ICentral::addChannelToRoom ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  roomId 
)
virtual

§ addDevice()

virtual PVariable BaseLib::Systems::ICentral::addDevice ( PRpcClientInfo  clientInfo,
std::string  serialNumber 
)
inlinevirtual

§ addLink() [1/2]

virtual PVariable BaseLib::Systems::ICentral::addLink ( PRpcClientInfo  clientInfo,
std::string  senderSerialNumber,
int32_t  senderChannel,
std::string  receiverSerialNumber,
int32_t  receiverChannel,
std::string  name,
std::string  description 
)
inlinevirtual

§ addLink() [2/2]

virtual PVariable BaseLib::Systems::ICentral::addLink ( PRpcClientInfo  clientInfo,
uint64_t  senderId,
int32_t  senderChannel,
uint64_t  receiverId,
int32_t  receiverChannel,
std::string  name,
std::string  description 
)
inlinevirtual

§ createDevice() [1/2]

virtual PVariable BaseLib::Systems::ICentral::createDevice ( PRpcClientInfo  clientInfo,
int32_t  deviceType,
std::string  serialNumber,
int32_t  address,
int32_t  firmwareVersion,
std::string  interfaceId 
)
inlinevirtual

§ createDevice() [2/2]

virtual PVariable BaseLib::Systems::ICentral::createDevice ( PRpcClientInfo  clientInfo,
const std::string &  code 
)
inlinevirtual

§ deleteDevice() [1/2]

virtual PVariable BaseLib::Systems::ICentral::deleteDevice ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  flags 
)
inlinevirtual

§ deleteDevice() [2/2]

virtual PVariable BaseLib::Systems::ICentral::deleteDevice ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  flags 
)
inlinevirtual

§ deletePeersFromDatabase()

void BaseLib::Systems::ICentral::deletePeersFromDatabase ( )
protectedvirtual

§ deviceFamily()

int32_t BaseLib::Systems::ICentral::deviceFamily ( )
virtual

§ dispose()

void BaseLib::Systems::ICentral::dispose ( bool  wait = true)
virtual

§ getAddress()

virtual int32_t BaseLib::Systems::ICentral::getAddress ( )
inlinevirtual

§ getAllConfig()

PVariable BaseLib::Systems::ICentral::getAllConfig ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
bool  checkAcls 
)
virtual

§ getAllValues()

PVariable BaseLib::Systems::ICentral::getAllValues ( PRpcClientInfo  clientInfo,
BaseLib::PArray  peerIds,
bool  returnWriteOnly,
bool  checkAcls 
)
virtual

§ getChannelsInBuildingPart()

PVariable BaseLib::Systems::ICentral::getChannelsInBuildingPart ( PRpcClientInfo  clientInfo,
uint64_t  buildingPartId,
bool  checkAcls 
)
virtual

§ getChannelsInCategory()

PVariable BaseLib::Systems::ICentral::getChannelsInCategory ( PRpcClientInfo  clientInfo,
uint64_t  categoryId,
bool  checkAcls 
)
virtual

§ getChannelsInRoom()

PVariable BaseLib::Systems::ICentral::getChannelsInRoom ( PRpcClientInfo  clientInfo,
uint64_t  roomId,
bool  checkAcls 
)
virtual

§ getConfigParameter() [1/2]

PVariable BaseLib::Systems::ICentral::getConfigParameter ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
uint32_t  channel,
std::string  name 
)
virtual

§ getConfigParameter() [2/2]

PVariable BaseLib::Systems::ICentral::getConfigParameter ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
uint32_t  channel,
std::string  name 
)
virtual

§ getDeviceDescription() [1/2]

PVariable BaseLib::Systems::ICentral::getDeviceDescription ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
std::map< std::string, bool >  fields 
)
virtual

§ getDeviceDescription() [2/2]

PVariable BaseLib::Systems::ICentral::getDeviceDescription ( PRpcClientInfo  clientInfo,
uint64_t  id,
int32_t  channel,
std::map< std::string, bool >  fields 
)
virtual

§ getDeviceInfo()

PVariable BaseLib::Systems::ICentral::getDeviceInfo ( PRpcClientInfo  clientInfo,
uint64_t  id,
std::map< std::string, bool >  fields,
bool  checkAcls 
)
virtual

§ getDevicesInBuildingPart()

PVariable BaseLib::Systems::ICentral::getDevicesInBuildingPart ( PRpcClientInfo  clientInfo,
uint64_t  buildingPartId,
bool  checkAcls 
)
virtual

§ getDevicesInCategory()

PVariable BaseLib::Systems::ICentral::getDevicesInCategory ( PRpcClientInfo  clientInfo,
uint64_t  categoryId,
bool  checkAcls 
)
virtual

§ getDevicesInRoom()

PVariable BaseLib::Systems::ICentral::getDevicesInRoom ( PRpcClientInfo  clientInfo,
uint64_t  roomId,
bool  checkAcls 
)
virtual

§ getId()

virtual uint64_t BaseLib::Systems::ICentral::getId ( )
inlinevirtual

§ getInstallMode()

PVariable BaseLib::Systems::ICentral::getInstallMode ( PRpcClientInfo  clientInfo)
virtual

§ getLinkInfo() [1/2]

PVariable BaseLib::Systems::ICentral::getLinkInfo ( PRpcClientInfo  clientInfo,
std::string  senderSerialNumber,
int32_t  senderChannel,
std::string  receiverSerialNumber,
int32_t  receiverChannel 
)
virtual

§ getLinkInfo() [2/2]

PVariable BaseLib::Systems::ICentral::getLinkInfo ( PRpcClientInfo  clientInfo,
uint64_t  senderId,
int32_t  senderChannel,
uint64_t  receiverId,
int32_t  receiverChannel 
)
virtual

§ getLinkPeers() [1/2]

PVariable BaseLib::Systems::ICentral::getLinkPeers ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel 
)
virtual

§ getLinkPeers() [2/2]

PVariable BaseLib::Systems::ICentral::getLinkPeers ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel 
)
virtual

§ getLinks() [1/2]

PVariable BaseLib::Systems::ICentral::getLinks ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
int32_t  flags 
)
virtual

§ getLinks() [2/2]

PVariable BaseLib::Systems::ICentral::getLinks ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
int32_t  flags,
bool  checkAcls 
)
virtual

§ getName()

PVariable BaseLib::Systems::ICentral::getName ( PRpcClientInfo  clientInfo,
uint64_t  id,
int32_t  channel 
)
virtual

§ getPairingState()

PVariable BaseLib::Systems::ICentral::getPairingState ( PRpcClientInfo  clientInfo)
virtual

§ getParamset() [1/2]

PVariable BaseLib::Systems::ICentral::getParamset ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
ParameterGroup::Type::Enum  type,
std::string  remoteSerialNumber,
int32_t  remoteChannel 
)
virtual

§ getParamset() [2/2]

PVariable BaseLib::Systems::ICentral::getParamset ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
ParameterGroup::Type::Enum  type,
uint64_t  remoteId,
int32_t  remoteChannel,
bool  checkAcls 
)
virtual

§ getParamsetDescription() [1/2]

PVariable BaseLib::Systems::ICentral::getParamsetDescription ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
ParameterGroup::Type::Enum  type,
std::string  remoteSerialNumber,
int32_t  remoteChannel 
)
virtual

§ getParamsetDescription() [2/2]

PVariable BaseLib::Systems::ICentral::getParamsetDescription ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
ParameterGroup::Type::Enum  type,
uint64_t  remoteId,
int32_t  remoteChannel,
bool  checkAcls 
)
virtual

§ getParamsetId() [1/2]

PVariable BaseLib::Systems::ICentral::getParamsetId ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
uint32_t  channel,
ParameterGroup::Type::Enum  type,
std::string  remoteSerialNumber,
int32_t  remoteChannel 
)
virtual

§ getParamsetId() [2/2]

PVariable BaseLib::Systems::ICentral::getParamsetId ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
uint32_t  channel,
ParameterGroup::Type::Enum  type,
uint64_t  remoteId,
int32_t  remoteChannel 
)
virtual

§ getPeer() [1/3]

std::shared_ptr< Peer > BaseLib::Systems::ICentral::getPeer ( int32_t  address)

§ getPeer() [2/3]

std::shared_ptr< Peer > BaseLib::Systems::ICentral::getPeer ( uint64_t  id)

§ getPeer() [3/3]

std::shared_ptr< Peer > BaseLib::Systems::ICentral::getPeer ( std::string  serialNumber)

§ getPeerId() [1/3]

PVariable BaseLib::Systems::ICentral::getPeerId ( PRpcClientInfo  clientInfo,
int32_t  filterType,
std::string  filterValue,
bool  checkAcls 
)
virtual

§ getPeerId() [2/3]

PVariable BaseLib::Systems::ICentral::getPeerId ( PRpcClientInfo  clientInfo,
int32_t  address 
)
virtual

§ getPeerId() [3/3]

PVariable BaseLib::Systems::ICentral::getPeerId ( PRpcClientInfo  clientInfo,
std::string  serialNumber 
)
virtual

§ getPeerIdFromSerial()

uint64_t BaseLib::Systems::ICentral::getPeerIdFromSerial ( std::string &  serialNumber)
virtual

§ getPeers()

std::vector< std::shared_ptr< Peer > > BaseLib::Systems::ICentral::getPeers ( )

§ getRolesInRoom()

PVariable BaseLib::Systems::ICentral::getRolesInRoom ( PRpcClientInfo  clientInfo,
uint64_t  roomId,
bool  checkDeviceAcls,
bool  checkVariableAcls 
)
virtual

§ getSerialNumber()

virtual std::string BaseLib::Systems::ICentral::getSerialNumber ( )
inlinevirtual

§ getServiceMessages()

PVariable BaseLib::Systems::ICentral::getServiceMessages ( PRpcClientInfo  clientInfo,
bool  returnId,
const std::string &  language,
bool  checkAcls 
)
virtual

§ getSniffedDevices()

virtual PVariable BaseLib::Systems::ICentral::getSniffedDevices ( PRpcClientInfo  clientInfo)
inlinevirtual

§ getTranslations()

std::shared_ptr<DeviceTranslations> BaseLib::Systems::ICentral::getTranslations ( )
inline

§ getValue() [1/2]

PVariable BaseLib::Systems::ICentral::getValue ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
uint32_t  channel,
std::string  valueKey,
bool  requestFromDevice,
bool  asynchronous 
)
virtual

§ getValue() [2/2]

PVariable BaseLib::Systems::ICentral::getValue ( PRpcClientInfo  clientInfo,
uint64_t  id,
uint32_t  channel,
std::string  valueKey,
bool  requestFromDevice,
bool  asynchronous 
)
virtual

§ getVariableDescription()

PVariable BaseLib::Systems::ICentral::getVariableDescription ( PRpcClientInfo  clientInfo,
uint64_t  id,
uint32_t  channel,
std::string  valueKey,
const std::unordered_set< std::string > &  fields 
)
virtual

§ getVariablesInBuildingPart()

PVariable BaseLib::Systems::ICentral::getVariablesInBuildingPart ( PRpcClientInfo  clientInfo,
uint64_t  buildingPartId,
bool  returnDeviceAssigned,
bool  checkDeviceAcls,
bool  checkVariableAcls 
)
virtual

§ getVariablesInCategory()

PVariable BaseLib::Systems::ICentral::getVariablesInCategory ( PRpcClientInfo  clientInfo,
uint64_t  categoryId,
bool  checkDeviceAcls,
bool  checkVariableAcls 
)
virtual

§ getVariablesInRole()

PVariable BaseLib::Systems::ICentral::getVariablesInRole ( PRpcClientInfo  clientInfo,
uint64_t  roleId,
bool  checkDeviceAcls,
bool  checkVariableAcls 
)
virtual

§ getVariablesInRoom()

PVariable BaseLib::Systems::ICentral::getVariablesInRoom ( PRpcClientInfo  clientInfo,
uint64_t  roomId,
bool  returnDeviceAssigned,
bool  checkDeviceAcls,
bool  checkVariableAcls 
)
virtual

§ handleCliCommand()

virtual std::string BaseLib::Systems::ICentral::handleCliCommand ( std::string  command)
inlinevirtual

§ homegearShuttingDown()

void BaseLib::Systems::ICentral::homegearShuttingDown ( )
virtual

§ homegearStarted()

void BaseLib::Systems::ICentral::homegearStarted ( )
virtual

§ invokeFamilyMethod()

virtual PVariable BaseLib::Systems::ICentral::invokeFamilyMethod ( PRpcClientInfo  clientInfo,
std::string &  methodName,
PArray  parameters 
)
inlinevirtual

§ listDevices() [1/2]

PVariable BaseLib::Systems::ICentral::listDevices ( PRpcClientInfo  clientInfo,
bool  channels,
std::map< std::string, bool >  fields,
bool  checkAcls 
)
virtual

§ listDevices() [2/2]

PVariable BaseLib::Systems::ICentral::listDevices ( PRpcClientInfo  clientInfo,
bool  channels,
std::map< std::string, bool >  fields,
std::shared_ptr< std::set< uint64_t >>  knownDevices,
bool  checkAcls 
)
virtual

§ listTeams()

PVariable BaseLib::Systems::ICentral::listTeams ( BaseLib::PRpcClientInfo  clientInfo,
bool  checkAcls 
)
virtual

§ load()

void BaseLib::Systems::ICentral::load ( )
virtual

§ loadPeers()

virtual void BaseLib::Systems::ICentral::loadPeers ( )
inlineprotectedvirtual

§ loadVariables()

virtual void BaseLib::Systems::ICentral::loadVariables ( )
protectedpure virtual

§ onAddWebserverEventHandler()

void BaseLib::Systems::ICentral::onAddWebserverEventHandler ( BaseLib::Rpc::IWebserverEventSink eventHandler,
std::map< int32_t, PEventHandler > &  eventHandlers 
)
overrideprotectedvirtual

§ onEvent()

void BaseLib::Systems::ICentral::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 
)
overrideprotected

§ onInvokeRpc()

BaseLib::PVariable BaseLib::Systems::ICentral::onInvokeRpc ( std::string &  methodName,
BaseLib::PArray parameters 
)
overrideprotectedvirtual

§ onPacketReceived()

bool BaseLib::Systems::ICentral::onPacketReceived ( std::string &  senderID,
std::shared_ptr< Packet packet 
)
overrideprotectedpure virtual

§ onRemoveWebserverEventHandler()

void BaseLib::Systems::ICentral::onRemoveWebserverEventHandler ( std::map< int32_t, PEventHandler > &  eventHandlers)
overrideprotectedvirtual

§ onRPCEvent()

void BaseLib::Systems::ICentral::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 
)
overrideprotectedvirtual

§ onRPCUpdateDevice()

void BaseLib::Systems::ICentral::onRPCUpdateDevice ( uint64_t  id,
int32_t  channel,
std::string  address,
int32_t  hint 
)
overrideprotectedvirtual

§ onRunScript()

void BaseLib::Systems::ICentral::onRunScript ( ScriptEngine::PScriptInfo scriptInfo,
bool  wait 
)
overrideprotectedvirtual

§ onServiceMessageEvent()

void BaseLib::Systems::ICentral::onServiceMessageEvent ( const PServiceMessage serviceMessage)
overrideprotectedvirtual

§ operator=()

ICentral& BaseLib::Systems::ICentral::operator= ( const ICentral )
protected

§ peerExists() [1/3]

bool BaseLib::Systems::ICentral::peerExists ( int32_t  address)
virtual

§ peerExists() [2/3]

bool BaseLib::Systems::ICentral::peerExists ( std::string  serialNumber)
virtual

§ peerExists() [3/3]

bool BaseLib::Systems::ICentral::peerExists ( uint64_t  id)
virtual

§ putParamset() [1/2]

PVariable BaseLib::Systems::ICentral::putParamset ( BaseLib::PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
ParameterGroup::Type::Enum  type,
std::string  remoteSerialNumber,
int32_t  remoteChannel,
PVariable  paramset 
)
virtual

§ putParamset() [2/2]

PVariable BaseLib::Systems::ICentral::putParamset ( BaseLib::PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
ParameterGroup::Type::Enum  type,
uint64_t  remoteId,
int32_t  remoteChannel,
PVariable  paramset,
bool  checkAcls 
)
virtual

§ raiseAddWebserverEventHandler()

void BaseLib::Systems::ICentral::raiseAddWebserverEventHandler ( BaseLib::Rpc::IWebserverEventSink eventHandler,
std::map< int32_t, PEventHandler > &  eventHandlers 
)
protectedvirtual

§ raiseEvent()

void BaseLib::Systems::ICentral::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< BaseLib::Variable >>> &  values 
)
protectedvirtual

§ raiseGetRoomIdByName()

uint64_t BaseLib::Systems::ICentral::raiseGetRoomIdByName ( std::string &  name)
protectedvirtual

§ raiseInvokeRpc()

BaseLib::PVariable BaseLib::Systems::ICentral::raiseInvokeRpc ( std::string &  methodName,
BaseLib::PArray parameters 
)
protectedvirtual

§ raiseRemoveWebserverEventHandler()

void BaseLib::Systems::ICentral::raiseRemoveWebserverEventHandler ( std::map< int32_t, PEventHandler > &  eventHandlers)
protectedvirtual

§ raiseRPCDeleteDevices()

void BaseLib::Systems::ICentral::raiseRPCDeleteDevices ( std::vector< uint64_t > &  ids,
PVariable  deviceAddresses,
PVariable  deviceInfo 
)
protectedvirtual

§ raiseRPCEvent()

void BaseLib::Systems::ICentral::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< PVariable >> &  values 
)
protectedvirtual

§ raiseRPCNewDevices()

void BaseLib::Systems::ICentral::raiseRPCNewDevices ( std::vector< uint64_t > &  ids,
PVariable  deviceDescriptions 
)
protectedvirtual

§ raiseRPCUpdateDevice()

void BaseLib::Systems::ICentral::raiseRPCUpdateDevice ( uint64_t  id,
int32_t  channel,
std::string  address,
int32_t  hint 
)
protectedvirtual

§ raiseRunScript()

void BaseLib::Systems::ICentral::raiseRunScript ( ScriptEngine::PScriptInfo scriptInfo,
bool  wait 
)
protectedvirtual

§ raiseServiceMessageEvent()

void BaseLib::Systems::ICentral::raiseServiceMessageEvent ( const PServiceMessage serviceMessage)
protectedvirtual

§ removeCategoryFromChannel()

PVariable BaseLib::Systems::ICentral::removeCategoryFromChannel ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  categoryId 
)
virtual

§ removeChannelFromBuildingPart()

PVariable BaseLib::Systems::ICentral::removeChannelFromBuildingPart ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  buildingPartId 
)
virtual

§ removeChannelFromRoom()

PVariable BaseLib::Systems::ICentral::removeChannelFromRoom ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  roomId 
)
virtual

§ removeLink() [1/2]

virtual PVariable BaseLib::Systems::ICentral::removeLink ( PRpcClientInfo  clientInfo,
std::string  senderSerialNumber,
int32_t  senderChannel,
std::string  receiverSerialNumber,
int32_t  receiverChannel 
)
inlinevirtual

§ removeLink() [2/2]

virtual PVariable BaseLib::Systems::ICentral::removeLink ( PRpcClientInfo  clientInfo,
uint64_t  senderId,
int32_t  senderChannel,
uint64_t  receiverId,
int32_t  receiverChannel 
)
inlinevirtual

§ reportValueUsage()

PVariable BaseLib::Systems::ICentral::reportValueUsage ( PRpcClientInfo  clientInfo,
std::string  serialNumber 
)
virtual

§ rssiInfo()

PVariable BaseLib::Systems::ICentral::rssiInfo ( PRpcClientInfo  clientInfo,
bool  checkAcls 
)
virtual

§ save()

void BaseLib::Systems::ICentral::save ( bool  full)
virtual

§ savePeers()

virtual void BaseLib::Systems::ICentral::savePeers ( bool  full)
inlineprotectedvirtual

§ saveVariable() [1/3]

void BaseLib::Systems::ICentral::saveVariable ( uint32_t  index,
int64_t  intValue 
)
protectedvirtual

§ saveVariable() [2/3]

void BaseLib::Systems::ICentral::saveVariable ( uint32_t  index,
std::string &  stringValue 
)
protectedvirtual

§ saveVariable() [3/3]

void BaseLib::Systems::ICentral::saveVariable ( uint32_t  index,
std::vector< uint8_t > &  binaryValue 
)
protectedvirtual

§ saveVariables()

virtual void BaseLib::Systems::ICentral::saveVariables ( )
protectedpure virtual

§ searchDevices()

virtual PVariable BaseLib::Systems::ICentral::searchDevices ( PRpcClientInfo  clientInfo,
const std::string &  interfaceId 
)
inlinevirtual

§ searchInterfaces()

virtual PVariable BaseLib::Systems::ICentral::searchInterfaces ( PRpcClientInfo  clientInfo,
PVariable  metadata 
)
inlinevirtual

§ setId()

PVariable BaseLib::Systems::ICentral::setId ( PRpcClientInfo  clientInfo,
uint64_t  oldPeerId,
uint64_t  newPeerId 
)
virtual

RPC function to change the Id of the peer.

Parameters
clientInfoInformation about the RPC client.
oldPeerIdThe current ID of the peer.
newPeerIdThe new ID of the peer.
Returns
Returns "RPC void" on success or RPC error "-100" when the new peer ID is invalid and error "-101" when the new peer ID is already in use.

§ setInstallMode()

virtual PVariable BaseLib::Systems::ICentral::setInstallMode ( PRpcClientInfo  clientInfo,
bool  on,
uint32_t  duration,
BaseLib::PVariable  metadata,
bool  debugOutput = true 
)
inlinevirtual

§ setInterface()

virtual PVariable BaseLib::Systems::ICentral::setInterface ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
std::string  interfaceId 
)
inlinevirtual

§ setLinkInfo() [1/2]

PVariable BaseLib::Systems::ICentral::setLinkInfo ( PRpcClientInfo  clientInfo,
std::string  senderSerialNumber,
int32_t  senderChannel,
std::string  receiverSerialNumber,
int32_t  receiverChannel,
std::string  name,
std::string  description 
)
virtual

§ setLinkInfo() [2/2]

PVariable BaseLib::Systems::ICentral::setLinkInfo ( PRpcClientInfo  clientInfo,
uint64_t  senderId,
int32_t  senderChannel,
uint64_t  receiverId,
int32_t  receiverChannel,
std::string  name,
std::string  description 
)
virtual

§ setName()

PVariable BaseLib::Systems::ICentral::setName ( PRpcClientInfo  clientInfo,
uint64_t  id,
int32_t  channel,
std::string  name 
)
virtual

§ setPeerId()

void BaseLib::Systems::ICentral::setPeerId ( uint64_t  oldPeerId,
uint64_t  newPeerId 
)
protectedvirtual

§ setPeerSerialNumber()

void BaseLib::Systems::ICentral::setPeerSerialNumber ( const std::string &  old_serial_number,
const std::string &  new_serial_number 
)
protectedvirtual

§ setSerialNumber()

std::shared_ptr< BaseLib::Variable > BaseLib::Systems::ICentral::setSerialNumber ( PRpcClientInfo  clientInfo,
uint64_t  peer_id,
const std::string &  new_serial_number 
)
virtual

§ setTeam() [1/2]

virtual PVariable BaseLib::Systems::ICentral::setTeam ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
int32_t  channel,
std::string  teamSerialNumber,
int32_t  teamChannel,
bool  force = false,
bool  burst = true 
)
inlinevirtual

§ setTeam() [2/2]

virtual PVariable BaseLib::Systems::ICentral::setTeam ( PRpcClientInfo  clientInfo,
uint64_t  peerId,
int32_t  channel,
uint64_t  teamId,
int32_t  teamChannel,
bool  force = false,
bool  burst = true 
)
inlinevirtual

§ setValue() [1/2]

PVariable BaseLib::Systems::ICentral::setValue ( PRpcClientInfo  clientInfo,
std::string  serialNumber,
uint32_t  channel,
std::string  valueKey,
PVariable  value,
bool  wait 
)
virtual

§ setValue() [2/2]

PVariable BaseLib::Systems::ICentral::setValue ( PRpcClientInfo  clientInfo,
uint64_t  id,
uint32_t  channel,
std::string  valueKey,
PVariable  value,
bool  wait 
)
virtual

§ startSniffing()

virtual PVariable BaseLib::Systems::ICentral::startSniffing ( PRpcClientInfo  clientInfo)
inlinevirtual

§ stopSniffing()

virtual PVariable BaseLib::Systems::ICentral::stopSniffing ( PRpcClientInfo  clientInfo)
inlinevirtual

§ updateFirmware()

virtual PVariable BaseLib::Systems::ICentral::updateFirmware ( PRpcClientInfo  clientInfo,
std::vector< uint64_t >  ids,
bool  manual 
)
inlinevirtual

Member Data Documentation

§ _address

int32_t BaseLib::Systems::ICentral::_address = 0
protected

§ _bl

BaseLib::SharedObjects* BaseLib::Systems::ICentral::_bl = nullptr
protected

§ _deviceFamily

int32_t BaseLib::Systems::ICentral::_deviceFamily = -1
protected

§ _deviceId

uint64_t BaseLib::Systems::ICentral::_deviceId = 0
protected

§ _disposing

std::atomic_bool BaseLib::Systems::ICentral::_disposing
protected

§ _initialized

std::atomic_bool BaseLib::Systems::ICentral::_initialized
protected

§ _newPeers

std::map<int64_t, std::list<PPairingState> > BaseLib::Systems::ICentral::_newPeers
protected

§ _newPeersMutex

std::mutex BaseLib::Systems::ICentral::_newPeersMutex
protected

§ _pairing

std::atomic_bool BaseLib::Systems::ICentral::_pairing
protected

§ _pairingMessages

std::list<PPairingMessage> BaseLib::Systems::ICentral::_pairingMessages
protected

§ _peers

std::unordered_map<int32_t, std::shared_ptr<Peer> > BaseLib::Systems::ICentral::_peers
protected

§ _peersById

std::map<uint64_t, std::shared_ptr<Peer> > BaseLib::Systems::ICentral::_peersById
protected

§ _peersBySerial

std::unordered_map<std::string, std::shared_ptr<Peer> > BaseLib::Systems::ICentral::_peersBySerial
protected

§ _peersMutex

std::mutex BaseLib::Systems::ICentral::_peersMutex
protected

§ _physicalInterfaceEventhandlers

std::map<std::string, PEventHandler> BaseLib::Systems::ICentral::_physicalInterfaceEventhandlers
protected

§ _serialNumber

std::string BaseLib::Systems::ICentral::_serialNumber
protected

§ _timeLeftInPairingMode

std::atomic_int BaseLib::Systems::ICentral::_timeLeftInPairingMode
protected

§ _translations

std::shared_ptr<DeviceDescription::DeviceTranslations> BaseLib::Systems::ICentral::_translations
protected

§ _variableDatabaseIds

std::map<uint32_t, uint32_t> BaseLib::Systems::ICentral::_variableDatabaseIds
protected

The documentation for this class was generated from the following files: