UniSet  1.4.0
Классы | Пространства имен | Макросы | Определения типов | Перечисления | Функции | Переменные
Файл UniSetTypes.h

базовые типы и вспомогательные функции библиотеки UniSet. Подробнее...

#include <unistd.h>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <list>
#include <limits>
#include <ostream>
#include <omniORB4/CORBA.h>
#include "UniSetTypes_i.hh"
#include "IOController_i.hh"
#include "Mutex.h"
#include "UniXML.h"

См. исходные тексты.

Классы

class  UniSetTypes::IDList
struct  UniSetTypes::MessageInfo
struct  UniSetTypes::ObjectInfo
struct  UniSetTypes::ParamSInfo

Пространства имен

namespace  UniSetTypes

Макросы

#define atoi   atoi##_Do_not_use_atoi_function_directly_Use_getIntProp90,_getArgInt_or_uni_atoi

Определения типов

typedef std::list< std::string > UniSetTypes::ListObjectName
typedef ObjectId UniSetTypes::SysId
typedef CORBA::Object_ptr UniSetTypes::ObjectPtr
typedef CORBA::Object_var UniSetTypes::ObjectVar
typedef std::list< NodeInfo > UniSetTypes::ListOfNode
typedef long UniSetTypes::KeyType

Перечисления

enum  UniSetTypes::LampCommand {
  UniSetTypes::lmpOFF = 0, UniSetTypes::lmpON = 1, UniSetTypes::lmpBLINK = 2, UniSetTypes::lmpBLINK2 = 3,
  UniSetTypes::lmpBLINK3 = 4
}

Функции

void msleep (unsigned int m)
static UniSetTypes::ObjectType UniSetTypes::getObjectType (const char *name)
UniversalIO::IOTypes UniSetTypes::getIOType (const std::string s)
std::ostream & UniSetTypes::operator<< (std::ostream &os, const UniversalIO::IOTypes t)
std::ostream & UniSetTypes::operator<< (std::ostream &os, const IOController_i::CalibrateInfo c)
int UniSetTypes::uni_atoi (const char *str)
 Преобразование строки в число (воспринимает префикс 0, как 8-ное, префикс 0x, как 16-ное, минус для отриц. чисел)
int UniSetTypes::uni_atoi (const std::string str)
static KeyType UniSetTypes::key (UniSetTypes::ObjectId id, UniSetTypes::ObjectId node)
std::string UniSetTypes::getArgParam (const std::string name, int _argc, const char *const *_argv, const std::string defval="")
int UniSetTypes::getArgInt (const std::string name, int _argc, const char *const *_argv, const std::string defval="")
int UniSetTypes::findArgParam (const std::string name, int _argc, const char *const *_argv)
template<typename InputIterator , typename OutputIterator , typename Predicate >
OutputIterator UniSetTypes::copy_if (InputIterator begin, InputIterator end, OutputIterator destBegin, Predicate p)
float UniSetTypes::fcalibrate (float raw, float rawMin, float rawMax, float calMin, float calMax, bool limit=true)
long UniSetTypes::lcalibrate (long raw, long rawMin, long rawMax, long calMin, long calMax, bool limit=true)
long UniSetTypes::setinregion (long raw, long rawMin, long rawMax)
long UniSetTypes::setoutregion (long raw, long rawMin, long rawMax)
bool UniSetTypes::file_exist (const std::string filename)
IDList UniSetTypes::explode (const std::string str, char sep=',')
std::list< std::string > UniSetTypes::explode_str (const std::string str, char sep=',')
std::list< ParamSInfo > UniSetTypes::getSInfoList (std::string s, Configuration *conf=UniSetTypes::conf)
bool UniSetTypes::is_digit (const std::string s)
bool UniSetTypes::check_filter (UniXML_iterator &it, const std::string f_prop, const std::string f_val="")

Переменные

static const long UniSetTypes::ChannelBreakValue = std::numeric_limits<long>::max()
const ObjectId UniSetTypes::DefaultObjectId = -1
const MessageCode UniSetTypes::DefaultMessageCode = 0
const ThresholdId UniSetTypes::DefaultThresholdId = -1
const ThresholdId UniSetTypes::DefaultTimerId = -1
const char UniSetTypes::BadSymbols [] = {'.','/'}

Подробное описание

базовые типы и вспомогательные функции библиотеки UniSet.

Автор:
Pavel Vainerman

Функции

void msleep ( unsigned int  m) [inline]