Commit 0a0b2351 authored by Pavel Vainerman's avatar Pavel Vainerman

Млекие стилистические правки (удаление лишних пробелов и т.п.)

parent 82bbde0c
......@@ -25,3 +25,4 @@ Version 2.0
============
- написать документацию по ModbusSlave
- циклическое хранилище для аварийных следов на основе SQLite
- отказаться от alias-ов.. (не прижилось, а накладные расходы большие)
#!/bin/sh
START=uniset-start.sh
${START} -vcall ./.libs/lt-smemory-test --confile ./test.xml --dlog-add-levels level1 --localNode LocalhostNode $*
#--unideb-add-levels crit,warn,info
#system,level2,level8,level9
......@@ -291,7 +291,7 @@ class IONotifyController:
//----------------------
bool addConsumer(ConsumerList& lst, const UniSetTypes::ConsumerInfo& cons ); //!< добавить потребителя сообщения
bool removeConsumer(ConsumerList& lst, const UniSetTypes::ConsumerInfo& cons ); //!< удалить потребителя сообщения
bool removeConsumer(ConsumerList& lst, const UniSetTypes::ConsumerInfo& cons ); //!< удалить потребителя сообщения
//! обработка заказа
void ask(AskMap& askLst, const IOController_i::SensorInfo& si,
......
......@@ -220,7 +220,7 @@ class UniSetObject:
pid_t msgpid; // pid потока обработки сообщений
bool reg;
UniSetTypes::mutex_atomic_t active;
// UniSetTypes::uniset_rwmutex mutex_act;
bool threadcreate;
UniSetTimer* tmr;
UniSetTypes::ObjectId myid;
......
......@@ -14,9 +14,9 @@ class WDTInterface
WDTInterface(const std::string& dev);
~WDTInterface();
bool ping();
bool stop();
bool ping();
bool stop();
protected:
const std::string dev;
};
......
......@@ -63,7 +63,7 @@ UInterface::UInterface( const ObjectId backid, CORBA::ORB_var orb, ObjectIndex*
oind = uconf->oind;
init();
}
}
UInterface::~UInterface()
{
......@@ -717,7 +717,7 @@ ObjectType UInterface::getType(const ObjectId name, const ObjectId node) const
// uwarn << "UI(getType): CORBA::SystemException" << endl;
}
catch(UniSetTypes::TimeOut){}
rcache.erase(name, node);
throw UniSetTypes::TimeOut(set_err("UI(getType): Timeout",name, node));
}
......
......@@ -101,7 +101,7 @@ void ObjectRepository::registration(const string& name, const ObjectPtr oRef, co
err << " содержит недопустимый символ " << bad;
throw ( InvalidObjectName(err.str().c_str()) );
}
CosNaming::Name_var oName = omniURI::stringToName(name.c_str());
CosNaming::NamingContext_var ctx;
for( unsigned int i=0; i<2; i++ )
......@@ -110,7 +110,7 @@ void ObjectRepository::registration(const string& name, const ObjectPtr oRef, co
{
// Добавляем в репозиторий новую ссылку (заменяя если есть старую)
CORBA::ORB_var orb = uconf->getORB();
ctx = ORepHelpers::getContext(orb, section, nsName);
ctx = ORepHelpers::getContext(orb, section, nsName);
ctx->bind(oName, oRef);
return;
......
......@@ -444,13 +444,13 @@ const UniSetObject* UniSetManager::itemO(const ObjectId id)
int UniSetManager::objectsCount()
{
int res( olist.size()+mlist.size() );
for( UniSetManagerList::const_iterator it= beginMList();
it!= endMList(); ++it )
{
res+= (*it)->objectsCount();
}
}
return res;
}
......@@ -463,7 +463,7 @@ int UniSetManager::getObjectsInfo( UniSetManager* mngr, SimpleInfoSeq* seq,
// получаем у самого менджера
SimpleInfo_var msi=mngr->getInfo();
(*seq)[ind] = msi;
ind++;
if( ind > uplimit )
return ind;
......
......@@ -39,7 +39,8 @@ c_filterField(""),
c_filterValue(""),
t_filterField(""),
t_filterValue(""),
fname(fname)
fname(fname),
uxml(0)
{
init(fname);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment