30 #include "bacnetmstp.hpp" 93 virtual void initMaster(std::string port,
int baudRate,
94 int deviceInstanceNumber,
95 int macAddr,
int maxMaster=DEFAULT_MAX_MASTER,
362 m_checkReliability = enable;
493 virtual void updateMultiStateValueInfo(uint32_t objInstance);
495 virtual void deleteMultiStateValueInfo(uint32_t objInstance);
498 virtual void updateBinaryValueInfo(uint32_t objInstance);
500 virtual void deleteBinaryValueInfo(uint32_t objInstance);
503 virtual void updateBinaryInputInfo(uint32_t objInstance);
505 virtual void deleteBinaryInputInfo(uint32_t objInstance);
511 bool m_checkReliability;
514 uint32_t m_targetDeviceObjectID;
526 std::string inactiveText;
527 std::string activeText;
530 typedef std::map<uint32_t, binaryData_t> binaryInfo_t;
533 binaryInfo_t m_bvInfo;
534 binaryInfo_t m_biInfo;
540 unsigned int numStates;
541 std::vector<std::string>stateList;
545 typedef std::map<uint32_t, multiStateData_t> multiStateInfo_t;
547 multiStateInfo_t m_msvInfo;
550 typedef std::map<uint32_t, std::string> avCacheMap_t;
551 avCacheMap_t m_avUnitCache;
554 typedef std::map<uint32_t, std::string> aiCacheMap_t;
555 aiCacheMap_t m_aiUnitCache;
virtual ~BACNETUTIL()
Definition: bacnetutil.cxx:69
virtual bool getBinaryInput(uint32_t objInstance)
Definition: bacnetutil.cxx:236
UPM API for BACNETMSTP.
Definition: bacnetmstp.hpp:104
virtual void initMaster(std::string port, int baudRate, int deviceInstanceNumber, int macAddr, int maxMaster=DEFAULT_MAX_MASTER, int maxInfoFrames=1)
Definition: bacnetutil.cxx:73
virtual void setBinaryValue(uint32_t objInstance, bool value)
Definition: bacnetutil.cxx:336
virtual unsigned int getMultiStateValue(uint32_t objInstance)
Definition: bacnetutil.cxx:385
virtual std::string getUPMErrorString()
Definition: bacnetutil.cxx:800
virtual bool getBinaryValue(uint32_t objInstance)
Definition: bacnetutil.cxx:286
virtual void setMultiStateValue(uint32_t objInstance, unsigned int value)
Definition: bacnetutil.cxx:570
Definition: bacnetutil.hpp:525
virtual std::string getDeviceName()
Definition: bacnetutil.cxx:888
virtual std::string lookupBinaryInputText(uint32_t objInstance, bool value)
Definition: bacnetutil.cxx:729
virtual BACNETMSTP::BACERR_TYPE_T getErrorType()
Definition: bacnetutil.cxx:765
virtual uint8_t getRejectReason()
Definition: bacnetutil.cxx:770
virtual std::string getAllErrorString()
Definition: bacnetutil.cxx:810
virtual std::string getAnalogValueUnits(uint32_t objInstance)
Definition: bacnetutil.cxx:167
virtual std::string getBinaryValueText(uint32_t objInstance)
Definition: bacnetutil.cxx:758
virtual void checkReliability(bool enable)
Definition: bacnetutil.hpp:360
virtual uint8_t getAbortReason()
Definition: bacnetutil.cxx:780
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
virtual std::string lookupMultiStateValueText(uint32_t objInstance, unsigned int value)
Definition: bacnetutil.cxx:519
virtual std::string getMultiStateValueText(uint32_t objInstance)
Definition: bacnetutil.cxx:563
virtual std::string getErrorString()
Definition: bacnetutil.cxx:805
BACNETUTIL(uint32_t targetDeviceObjectID)
Definition: bacnetutil.cxx:38
virtual unsigned int getMultiStateValueMaxStates(uint32_t objInstance)
Definition: bacnetutil.cxx:555
virtual std::string getDeviceLocation()
Definition: bacnetutil.cxx:853
virtual bool setDeviceName(std::string name)
Definition: bacnetutil.cxx:903
virtual float getAnalogInput(uint32_t objInstance)
Definition: bacnetutil.cxx:192
virtual BACNET_ERROR_CODE getErrorCode()
Definition: bacnetutil.cxx:795
virtual std::string lookupBinaryValueText(uint32_t objInstance, bool value)
Definition: bacnetutil.cxx:747
Definition: bacnetutil.hpp:539
virtual bool setDeviceLocation(std::string location)
Definition: bacnetutil.cxx:868
virtual std::string getAbortString()
Definition: bacnetutil.cxx:785
virtual BACNET_ERROR_CLASS getErrorClass()
Definition: bacnetutil.cxx:790
UPM Utility API for BACnet.
Definition: bacnetutil.hpp:50
virtual std::string getRejectString()
Definition: bacnetutil.cxx:775
virtual float getAnalogValue(uint32_t objInstance)
Definition: bacnetutil.cxx:100
virtual std::string getBinaryInputText(uint32_t objInstance)
Definition: bacnetutil.cxx:740
virtual std::string getDeviceDescription()
Definition: bacnetutil.cxx:838
virtual void setDebug(bool enable)
Definition: bacnetutil.cxx:92
virtual void setAnalogValue(uint32_t objInstance, float value)
Definition: bacnetutil.cxx:145
virtual std::string getAnalogInputUnits(uint32_t objInstance)
Definition: bacnetutil.cxx:360