UniSet 2.32.1
Открытые члены | Защищенные данные | Полный список членов класса
Класс uniset::SMInterface
Граф связей класса uniset::SMInterface:
Collaboration graph
[см. легенду]

Открытые члены

 SMInterface (uniset::ObjectId _shmID, const std::shared_ptr< UInterface > &ui, uniset::ObjectId myid, const std::shared_ptr< IONotifyController > ic=nullptr)
 
void setValue (uniset::ObjectId, long value)
 
void setUndefinedState (const IOController_i::SensorInfo &si, bool undefined, uniset::ObjectId supplier)
 
long getValue (uniset::ObjectId id)
 
void askSensor (uniset::ObjectId id, UniversalIO::UIOCommand cmd, uniset::ObjectId backid=uniset::DefaultObjectId)
 
void freezeValue (uniset::ObjectId id, bool set, long value, uniset::ObjectId supplier)
 
IOController_i::SensorInfoSeq * getSensorsMap ()
 
IONotifyController_i::ThresholdsListSeq * getThresholdsList ()
 
void localSetValue (IOController::IOStateList::iterator &it, uniset::ObjectId sid, CORBA::Long newvalue, uniset::ObjectId sup_id)
 
long localGetValue (IOController::IOStateList::iterator &it, uniset::ObjectId sid)
 
void localSetUndefinedState (IOController::IOStateList::iterator &it, bool undefined, uniset::ObjectId sid)
 
IOController::IOStateList::iterator ioEnd ()
 
void initIterator (IOController::IOStateList::iterator &it)
 
bool exist ()
 
bool waitSMready (int msec, int pause=5000)
 
bool waitSMworking (uniset::ObjectId, int msec, int pause=3000)
 
bool waitSMreadyWithCancellation (int msec, std::atomic_bool &cancelFlag, int pause=5000)
 
bool waitSMworkingWithCancellation (uniset::ObjectId sid, int ready_timeout, std::atomic_bool &cancelFlag, int pmsec)
 
bool isLocalwork () const noexcept
 
uniset::ObjectId ID () const noexcept
 
const std::shared_ptr< IONotifyControllerSM () noexcept
 
uniset::ObjectId getSMID () const noexcept
 
std::string apiRequest (const std::string &query)
 

Защищенные данные

const std::shared_ptr< IONotifyControlleric
 
const std::shared_ptr< UInterfaceui
 
CORBA::Object_var oref
 
uniset::ObjectId shmID
 
uniset::ObjectId myid
 
uniset::uniset_rwmutex shmMutex
 

Методы

◆ localSetUndefinedState()

void SMInterface::localSetUndefinedState ( IOController::IOStateList::iterator & it,
bool undefined,
uniset::ObjectId sid )

функция выставления признака неопределённого состояния для аналоговых датчиков для дискретных датчиков необходимости для подобной функции нет. см. логику выставления в функции localSaveState