|
| UInterface (const uniset::ObjectId backid, CORBA::ORB_var orb=NULL, const std::shared_ptr< uniset::ObjectIndex > oind=nullptr) |
|
| UInterface (const std::shared_ptr< uniset::Configuration > &uconf=uniset::uniset_conf()) |
|
long | getValue (const uniset::ObjectId id, const uniset::ObjectId node) const |
| Получение состояния датчика
|
|
long | getValue (const uniset::ObjectId id) const |
|
long | getRawValue (const IOController_i::SensorInfo &si) |
|
void | setValue (const uniset::ObjectId id, long value, const uniset::ObjectId node, uniset::ObjectId sup_id=uniset::DefaultObjectId) const |
| Выставление состояния датчика
|
|
void | setValue (const uniset::ObjectId id, long value) const |
|
void | setValue (const IOController_i::SensorInfo &si, long value, const uniset::ObjectId supplier) const |
|
void | fastSetValue (const IOController_i::SensorInfo &si, long value, uniset::ObjectId supplier) const |
|
IOController_i::SensorInfoSeq_var | getSensorSeq (const uniset::IDList &lst) |
| Получение состояния для списка указанных датчиков
|
|
IOController_i::SensorIOInfo | getSensorIOInfo (const IOController_i::SensorInfo &si) |
| Получение состояния информации о датчике
|
|
uniset::IDSeq_var | setOutputSeq (const IOController_i::OutSeq &lst, uniset::ObjectId sup_id) |
|
void | askSensor (const uniset::ObjectId id, UniversalIO::UIOCommand cmd, uniset::ObjectId backid=uniset::DefaultObjectId) const |
| Универсальный заказ информации об изменении датчика
|
|
void | askRemoteSensor (const uniset::ObjectId id, UniversalIO::UIOCommand cmd, const uniset::ObjectId node, uniset::ObjectId backid=uniset::DefaultObjectId) const |
|
uniset::IDSeq_var | askSensorsSeq (const uniset::IDList &lst, UniversalIO::UIOCommand cmd, uniset::ObjectId backid=uniset::DefaultObjectId) |
| Заказ по списку
|
|
void | setUndefinedState (const IOController_i::SensorInfo &si, bool undefined, uniset::ObjectId supplier) |
|
void | freezeValue (const IOController_i::SensorInfo &si, bool set, long value, uniset::ObjectId supplier=uniset::DefaultObjectId) |
|
void | calibrate (const IOController_i::SensorInfo &si, const IOController_i::CalibrateInfo &ci, uniset::ObjectId adminId=uniset::DefaultObjectId) |
| калибровка
|
|
IOController_i::CalibrateInfo | getCalibrateInfo (const IOController_i::SensorInfo &si) |
|
void | askThreshold (const uniset::ObjectId sensorId, const uniset::ThresholdId tid, UniversalIO::UIOCommand cmd, long lowLimit, long hiLimit, bool invert=false, uniset::ObjectId backid=uniset::DefaultObjectId) const |
| Заказ информации об изменении порога
|
|
void | askRemoteThreshold (const uniset::ObjectId sensorId, const uniset::ObjectId node, const uniset::ThresholdId thresholdId, UniversalIO::UIOCommand cmd, long lowLimit, long hiLimit, bool invert=false, uniset::ObjectId backid=uniset::DefaultObjectId) const |
|
IONotifyController_i::ThresholdInfo | getThresholdInfo (const IOController_i::SensorInfo &si, const uniset::ThresholdId tid) const |
|
IONotifyController_i::ThresholdInfo | getThresholdInfo (const uniset::ObjectId sid, const uniset::ThresholdId tid) const |
|
UniversalIO::IOType | getIOType (const uniset::ObjectId id, uniset::ObjectId node) const |
|
UniversalIO::IOType | getIOType (const uniset::ObjectId id) const |
|
UniversalIO::IOType | getConfIOType (const uniset::ObjectId id) const noexcept |
|
uniset::ObjectType | getType (const uniset::ObjectId id, const uniset::ObjectId node) const |
|
uniset::ObjectType | getType (const uniset::ObjectId id) const |
|
IOController_i::ShortIOInfo | getTimeChange (const uniset::ObjectId id, const uniset::ObjectId node) const |
| Время последнего изменения датчика
|
|
std::string | getObjectInfo (const uniset::ObjectId id, const std::string ¶ms, const uniset::ObjectId node) const |
| Информация об объекте
|
|
std::string | apiRequest (const uniset::ObjectId id, const std::string &query, const uniset::ObjectId node) const |
|
IOController_i::ShortMapSeq * | getSensors (const uniset::ObjectId id, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) |
| Получить список датчиков
|
|
IOController_i::SensorInfoSeq * | getSensorsMap (const uniset::ObjectId id, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) |
|
IONotifyController_i::ThresholdsListSeq * | getThresholdsList (const uniset::ObjectId id, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) |
|
void | registered (const uniset::ObjectId id, const uniset::ObjectPtr oRef, bool force=false) const |
|
void | unregister (const uniset::ObjectId id) |
|
uniset::ObjectPtr | resolve (const std::string &name) const |
|
uniset::ObjectPtr | resolve (const uniset::ObjectId id) const |
|
uniset::ObjectPtr | resolve (const uniset::ObjectId id, const uniset::ObjectId nodeName) const |
|
bool | isExist (const uniset::ObjectId id) const noexcept |
|
bool | isExist (const uniset::ObjectId id, const uniset::ObjectId node) const noexcept |
|
bool | waitReady (const uniset::ObjectId id, int msec, int pause=5000, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) noexcept |
| used for check 'isExist'
|
|
bool | waitWorking (const uniset::ObjectId id, int msec, int pause=3000, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) noexcept |
| used for check 'getValue'
|
|
bool | waitReadyWithCancellation (const uniset::ObjectId id, int msec, std::atomic_bool &cancelFlag, int pause=5000, const uniset::ObjectId node=uniset::uniset_conf() ->getLocalNode()) noexcept |
|
uniset::ObjectId | getIdByName (const std::string &name) const noexcept |
|
std::string | getNameById (const uniset::ObjectId id) const noexcept |
|
uniset::ObjectId | getNodeId (const std::string &fullname) const noexcept |
|
std::string | getTextName (const uniset::ObjectId id) const noexcept |
|
const std::shared_ptr< uniset::ObjectIndex > | getObjectIndex () noexcept |
|
const std::shared_ptr< uniset::Configuration > | getConf () noexcept |
|
void | send (const uniset::ObjectId name, const uniset::TransportMessage &msg, uniset::ObjectId node) |
|
void | send (const uniset::ObjectId name, const uniset::TransportMessage &msg) |
|
void | sendText (const uniset::ObjectId name, const std::string &text, int mtype, const uniset::ObjectId node=uniset::DefaultObjectId) |
|
void | sendText (const uniset::ObjectId name, const uniset::TextMessage &msg, const uniset::ObjectId node=uniset::DefaultObjectId) |
|
void | setCacheMaxSize (size_t newsize) noexcept |
|
void | initBackId (uniset::ObjectId backid) |
|
Универсальный интерфейс для взаимодействия между объектами (процессами). По сути является "фасадом" к реализации механизма взаимодействия в libuniset (основанном на CORBA) Хотя до конца скрыть CORBA-у пока не удалось. Для увеличения производительности в функции встроен cache обращений...
См. также UniversalIOControllerPage