17 #ifndef SMInterface_H_
18 #define SMInterface_H_
22 #include "UniSetTypes.h"
24 #include "IONotifyController.h"
25 #include "UInterface.h"
35 uniset::ObjectId myid,
const std::shared_ptr<IONotifyController> ic =
nullptr );
46 IOController_i::SensorInfoSeq* getSensorsMap();
47 IONotifyController_i::ThresholdsListSeq* getThresholdsList();
49 void localSetValue( IOController::IOStateList::iterator& it,
53 long localGetValue( IOController::IOStateList::iterator& it,
64 IOController::IOStateList::iterator ioEnd();
65 void initIterator( IOController::IOStateList::iterator& it );
68 bool waitSMready(
int msec,
int pause = 5000 );
71 inline bool isLocalwork()
const noexcept
79 inline const std::shared_ptr<IONotifyController> SM() noexcept
88 #ifndef DISABLE_REST_API
89 std::string apiRequest(
const std::string& query );
93 const std::shared_ptr<IONotifyController> ic;
94 const std::shared_ptr<UInterface> ui;
95 CORBA::Object_var oref;
Definition: SMInterface.h:30
Definition: CallbackTimer.h:29
const ObjectId DefaultObjectId
Definition: UniSetTypes.h:56
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