59 const std::shared_ptr<SharedMemory>& ic =
nullptr,
const std::string& prefix =
"unet" );
60 virtual ~UniExchange();
64 static std::shared_ptr<UniExchange> init_exchange(
int argc,
const char*
const* argv,
66 const std::string& prefix =
"unet" );
69 static void help_print(
int argc,
const char** argv );
71 virtual IOController_i::ShortMapSeq* getSensors(
const uniset::ObjectId consumer_id )
override;
76 virtual void askSensors( UniversalIO::UIOCommand cmd );
79 xmlNode* cnode = { 0 };
80 std::string s_field = {
"" };
81 std::string s_fvalue = {
"" };
82 std::shared_ptr<SMInterface> shm;
88 SInfo(
const SInfo& r ) =
delete;
89 SInfo& operator=(
const SInfo& r) =
delete;
90 SInfo( SInfo&& r ) =
default;
91 SInfo& operator=(SInfo&& r) =
default;
96 type(UniversalIO::UnknownIOType)
99 IOController::IOStateList::iterator ioit;
102 UniversalIO::IOType type;
106 typedef std::vector<SInfo> SList;
112 NetNodeInfo(
const NetNodeInfo& r ) =
delete;
113 NetNodeInfo& operator=(
const NetNodeInfo& r) =
delete;
114 NetNodeInfo( NetNodeInfo&& r ) =
default;
115 NetNodeInfo& operator=(NetNodeInfo&& r) =
default;
119 CORBA::Object_var oref;
120 IOController_i_var shm;
124 IOController::IOStateList::iterator conn_it;
127 void update(IOController_i::ShortMapSeq_var& map,
const std::shared_ptr<SMInterface>& shm );
130 typedef std::list<NetNodeInfo> NetNodeList;
133 void readConfiguration();
134 bool readItem(
const std::shared_ptr<UniXML>& xml, UniXML::iterator& it, xmlNode* sec );
135 bool initItem( UniXML::iterator& it );
136 void updateLocalData();
137 void initIterators();
139 timeout_t polltime = { 200 };
141 bool init_ok = {
false };
144 size_t maxIndex = { 0 };
145 timeout_t smReadyTimeout = { 60000 };
147 std::atomic_bool cancelled = {
false };