17 #ifndef SMInterface_H_ 18 #define SMInterface_H_ 23 #include "UniSetTypes.h" 25 #include "IONotifyController.h" 26 #include "UInterface.h" 36 uniset::ObjectId myid,
const std::shared_ptr<IONotifyController> ic =
nullptr );
47 IOController_i::SensorInfoSeq* getSensorsMap();
48 IONotifyController_i::ThresholdsListSeq* getThresholdsList();
50 void localSetValue( IOController::IOStateList::iterator& it,
54 long localGetValue( IOController::IOStateList::iterator& it,
65 IOController::IOStateList::iterator ioEnd();
66 void initIterator( IOController::IOStateList::iterator& it );
69 bool waitSMready(
int msec,
int pause = 5000 );
71 bool waitSMreadyWithCancellation(
int msec, std::atomic_bool& cancelFlag,
int pause = 5000 );
73 inline bool isLocalwork()
const noexcept
81 inline const std::shared_ptr<IONotifyController> SM() noexcept
90 #ifndef DISABLE_REST_API 91 std::string apiRequest(
const std::string& query );
95 const std::shared_ptr<IONotifyController> ic;
96 const std::shared_ptr<UInterface> ui;
97 CORBA::Object_var oref;
Definition: SMInterface.h:31
Definition: CallbackTimer.h:29
const ObjectId DefaultObjectId
Definition: UniSetTypes.h:69
void localSetUndefinedState(IOController::IOStateList::iterator &it, bool undefined, uniset::ObjectId sid)
Definition: SMInterface.cc:251
Definition: IOController_i.idl:56
long ObjectId
Definition: UniSetTypes_i.idl:30