UniSet  1.4.0
Открытые члены | Защищенные данные
Класс SMInterface

Полный список членов класса

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

 SMInterface (UniSetTypes::ObjectId _shmID, UniversalInterface *ui, UniSetTypes::ObjectId myid, IONotifyController *ic=0)
void setState (UniSetTypes::ObjectId, bool state)
void setValue (UniSetTypes::ObjectId, long value)
bool saveState (IOController_i::SensorInfo &si, bool state, UniversalIO::IOTypes type, UniSetTypes::ObjectId supplier)
bool saveValue (IOController_i::SensorInfo &si, long value, UniversalIO::IOTypes type, UniSetTypes::ObjectId supplier)
bool saveLocalState (UniSetTypes::ObjectId id, bool state, UniversalIO::IOTypes type=UniversalIO::DigitalInput)
bool saveLocalValue (UniSetTypes::ObjectId id, long value, UniversalIO::IOTypes type=UniversalIO::AnalogInput)
void setUndefinedState (IOController_i::SensorInfo &si, bool undefined, UniSetTypes::ObjectId supplier)
long getValue (UniSetTypes::ObjectId id)
bool getState (UniSetTypes::ObjectId id)
void askSensor (UniSetTypes::ObjectId id, UniversalIO::UIOCommand cmd, UniSetTypes::ObjectId backid=UniSetTypes::DefaultObjectId)
bool alarm (UniSetTypes::AlarmMessage &msg, UniSetTypes::ObjectId messenger)
IOController_i::DSensorInfoSeq * getDigitalSensorsMap ()
IOController_i::ASensorInfoSeq * getAnalogSensorsMap ()
IONotifyController_i::ThresholdsListSeq * getThresholdsList ()
void localSaveValue (IOController::AIOStateList::iterator &it, UniSetTypes::ObjectId sid, CORBA::Long newvalue, UniSetTypes::ObjectId sup_id)
void localSaveState (IOController::DIOStateList::iterator &it, UniSetTypes::ObjectId sid, CORBA::Boolean newstate, UniSetTypes::ObjectId sup_id)
void localSetState (IOController::DIOStateList::iterator &it, UniSetTypes::ObjectId sid, CORBA::Boolean newstate, UniSetTypes::ObjectId sup_id)
void localSetValue (IOController::AIOStateList::iterator &it, UniSetTypes::ObjectId sid, CORBA::Long value, UniSetTypes::ObjectId sup_id)
bool localGetState (IOController::DIOStateList::iterator &it, UniSetTypes::ObjectId sid)
long localGetValue (IOController::AIOStateList::iterator &it, UniSetTypes::ObjectId sid)
void localSetUndefinedState (IOController::AIOStateList::iterator &it, bool undefined, UniSetTypes::ObjectId sid)
IOController::DIOStateList::iterator dioEnd ()
IOController::AIOStateList::iterator aioEnd ()
void initAIterator (IOController::AIOStateList::iterator &it)
void initDIterator (IOController::DIOStateList::iterator &it)
bool exist ()
bool waitSMready (int msec, int pause=5000)
bool waitSMworking (UniSetTypes::ObjectId, int msec, int pause=3000)
bool isLocalwork ()
UniSetTypes::ObjectId ID ()
IONotifyControllerSM ()
UniSetTypes::ObjectId getSMID ()

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

IONotifyControlleric
UniversalInterfaceui
CORBA::Object_var oref
UniSetTypes::ObjectId shmID
UniSetTypes::ObjectId myid
UniSetTypes::uniset_mutex shmMutex

Методы

void SMInterface::localSetUndefinedState ( IOController::AIOStateList::iterator &  it,
bool  undefined,
UniSetTypes::ObjectId  sid 
)

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

Перекрестные ссылки UniSetTypes::conf, UniSetTypes::Configuration::getLocalNode(), IOController_i::SensorInfo::id, IOController::localSetUndefinedState() и IOController_i::SensorInfo::node.


Объявления и описания членов классов находятся в файлах: