|
std::shared_ptr< Configuration > | uniset_conf () noexcept |
|
std::shared_ptr< DebugStream > | ulog () noexcept |
|
std::shared_ptr< Configuration > | uniset_init (int argc, const char *const *argv, const std::string &xmlfile="configure.xml") |
|
std::shared_ptr< Configuration > | uniset_init (int argc, const char *const *argv, std::shared_ptr< UniXML > xml) |
|
std::string | strTypeOfMessage (int type) |
|
std::ostream & | operator<< (std::ostream &os, const Message::TypeOfMessage &t) |
|
std::ostream & | operator<< (std::ostream &os, const SystemMessage::Command &c) |
|
std::ostream & | operator<< (std::ostream &os, uniset_rwmutex &m) |
|
template<typename T , typename... _Args> |
std::shared_ptr< T > | make_object (const std::string &idname, const std::string &secname, _Args &&... __args) |
|
template<typename T , typename... _Args> |
std::shared_ptr< T > | make_object_x (xmlNode *root, const std::string &secname, _Args &&... __args) |
|
template<typename T , typename M , typename... _Args> |
std::shared_ptr< T > | make_child_object (M *m, const std::string &idname, const std::string &secname, _Args &&... __args) |
|
template<typename T , typename M , typename... _Args> |
std::shared_ptr< T > | make_child_object_x (M *m, xmlNode *root, const std::string &secname, _Args &&... __args) |
|
char | checkBadSymbols (const std::string &str) |
|
std::string | BadSymbolsToStr () |
|
KeyType | key (const uniset::ObjectId id, const uniset::ObjectId node) |
|
KeyType | key (const IOController_i::SensorInfo &si) |
|
uint64_t | hash64 (const std::string &str) noexcept |
|
uint64_t | hash64 (const char *buf, size_t sz) noexcept |
|
uint32_t | hash32 (const std::string &str) noexcept |
|
uint32_t | hash32 (const char *buf, size_t sz) noexcept |
|
UniversalIO::IOType | getIOType (const std::string &s) noexcept |
|
std::string | iotype2str (const UniversalIO::IOType &t) noexcept |
|
std::ostream & | operator<< (std::ostream &os, const UniversalIO::IOType t) |
|
std::ostream & | operator<< (std::ostream &os, const IONotifyController_i::ThresholdInfo &ti) |
|
std::ostream & | operator<< (std::ostream &os, const IOController_i::ShortIOInfo &s) |
|
std::ostream & | operator<< (std::ostream &os, const IONotifyController_i::ThresholdState &s) |
|
int | uni_atoi (const char *str) noexcept |
| Преобразование строки в число (воспринимает префикс 0, как 8-ное, префикс 0x, как 16-ное, минус для отриц. чисел) Подробнее...
|
|
int | uni_atoi (const std::string &str) noexcept |
|
char * | uni_strdup (const std::string &src) |
|
std::string | timeToString (time_t tm=time(0), const std::string &brk=":") noexcept |
|
std::string | dateToString (time_t tm=time(0), const std::string &brk="/") noexcept |
|
struct timeval | to_timeval (const std::chrono::system_clock::duration &d) |
|
struct timespec | to_timespec (const std::chrono::system_clock::duration &d) |
|
struct timespec | now_to_timespec () |
|
uniset::Timespec_var | to_uniset_timespec (const std::chrono::system_clock::duration &d) |
|
uniset::Timespec_var | now_to_uniset_timespec () |
|
IDList | explode (const std::string &str, char sep=',') |
|
std::vector< std::string > | explode_str (const std::string &str, char sep=',') |
|
std::list< ParamSInfo > | getSInfoList (const std::string &s, std::shared_ptr< uniset::Configuration > conf=nullptr) |
|
std::list< uniset::ConsumerInfo > | getObjectsList (const std::string &s, std::shared_ptr< uniset::Configuration > conf=nullptr) |
|
bool | is_digit (const std::string &s) noexcept |
|
std::string | replace_all (const std::string &src, const std::string &from, const std::string &to) |
|
std::string | getArgParam (const std::string &name, int _argc, const char *const *_argv, const std::string &defval="") noexcept |
|
std::string | getArg2Param (const std::string &name, int _argc, const char *const *_argv, const std::string &defval, const std::string &defval2="") noexcept |
|
int | getArgInt (const std::string &name, int _argc, const char *const *_argv, const std::string &defval="") noexcept |
|
int | getArgPInt (const std::string &name, int _argc, const char *const *_argv, const std::string &strdefval, int defval) noexcept |
|
int | findArgParam (const std::string &name, int _argc, const char *const *_argv) |
|
std::ostream & | operator<< (std::ostream &os, const IOController_i::CalibrateInfo &c) |
|
float | fcalibrate (float raw, float rawMin, float rawMax, float calMin, float calMax, bool limit=true) |
|
long | lcalibrate (long raw, long rawMin, long rawMax, long calMin, long calMax, bool limit=true) |
|
double | dcalibrate (double raw, double rawMin, double rawMax, double calMin, double calMax, bool limit=true) |
|
long | setinregion (long raw, long rawMin, long rawMax) |
|
long | setoutregion (long raw, long rawMin, long rawMax) |
|
bool | file_exist (const std::string &filename) |
|
bool | directory_exist (const std::string &path) |
|
bool | check_filter (UniXML::iterator &it, const std::string &f_prop, const std::string &f_val="") noexcept |
|
static int32_t | get_crc_16 (uint16_t crc, uint8_t *buf, size_t size) |
|
static std::string | makeSecName (const std::string &sec, const std::string &name) noexcept |
|
static void | activator_terminate (int signo) |
|
ostream & | operator<< (ostream &os, UniSetObject &obj) |
|
std::ostream & | operator<< (std::ostream &os, LogAgregator &la) |
|
std::ostream & | operator<< (std::ostream &os, std::shared_ptr< LogAgregator > la) |
|
static const std::string | checkArg (size_t i, const std::vector< std::string > &v) |
|
std::ostream & | operator<< (std::ostream &os, ObjectIndex_Array &oi) |
|
std::ostream & | operator<< (std::ostream &os, ObjectIndex_hashXML &oi) |
|
std::ostream & | operator<< (std::ostream &os, ObjectIndex_idXML &oi) |
|
std::ostream & | operator<< (std::ostream &os, ObjectIndex_XML &oi) |
|
std::ostream & | operator<< (std::ostream &os, VMonitor &m) |
|
std::ostream & | operator<< (std::ostream &os, const std::shared_ptr< IOControl::IOInfo > &inf) |
|
std::ostream & | operator<< (std::ostream &os, const IOControl::IOInfo &inf) |
|
static Calibration::PartsVec::iterator | find_range (const long raw, Calibration::PartsVec::iterator beg, Calibration::PartsVec::iterator end) |
|
std::ostream & | operator<< (std::ostream &os, Calibration &c) |
|
std::ostream & | operator<< (std::ostream &os, Calibration *c) |
|
std::ostream & | operator<< (std::ostream &os, const DigitalFilter &d) |
|
std::ostream & | operator<< (std::ostream &os, const DigitalFilter *d) |
|
std::ostream & | operator<< (std::ostream &os, IOBase &inf) |
|
std::ostream & | operator<< (std::ostream &os, const IOBase::FrontType &f) |
|
std::ostream & | operator<< (std::ostream &os, PID &p) |
|
ostream & | operator<< (ostream &os, const Element &el) |
|
ostream & | operator<< (ostream &os, const std::shared_ptr< Element > &el) |
|
std::ostream & | operator<< (std::ostream &os, MBConfig::RTUDeviceMap &m) |
|
std::ostream & | operator<< (std::ostream &os, MBConfig::RTUDevice &d) |
|
std::ostream & | operator<< (std::ostream &os, const MBConfig::RegInfo *r) |
|
std::ostream & | operator<< (std::ostream &os, const MBConfig::RegInfo &r) |
|
std::ostream & | operator<< (std::ostream &os, const MBConfig::DeviceType &dt) |
|
std::ostream & | operator<< (std::ostream &os, const MBConfig::RSProperty &p) |
|
std::ostream & | operator<< (std::ostream &os, const MBConfig::ExchangeMode &em) |
|
std::string | to_string (const MBConfig::SafeMode &m) |
|
ostream & | operator<< (ostream &os, const MBConfig::SafeMode &m) |
|
std::ostream & | operator<< (std::ostream &os, RTUStorage &m) |
|
std::ostream & | operator<< (std::ostream &os, RTUStorage *m) |
|
std::ostream & | operator<< (std::ostream &os, MBSlave::BitRegProperty *p) |
|
std::ostream & | operator<< (std::ostream &os, MBSlave::BitRegProperty &p) |
|
std::ostream & | operator<< (std::ostream &os, MBSlave::IOProperty &p) |
|
std::ostream & | operator<< (std::ostream &os, const SharedMemory::HistoryInfo &h) |
|
static int | get_crc_16 (uint16_t crc, unsigned char *buf, int size) noexcept |
|
std::ostream & | operator<< (std::ostream &os, UNetSender::UItem &p) |
|
Определения базовых типов библиотеки UniSet (вспомогательные типы данных, константы, полезные функции)