#include "PSEvt/Source.h"
#include <vector>
#include <cassert>
#include <map>
#include <iostream>
#include <boost/algorithm/string/trim.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/lexical_cast.hpp>
#include "MsgLogger/MsgLogger.h"
#include "PSEvt/Exceptions.h"
#include "PSEvt/EventKey.h"
Go to the source code of this file.
Namespaces | |
namespace | PSEvt |
Functions | |
Pds::Src | parse (std::string spec) |
std::map< std::string, Pds::DetInfo::Detector > | initName2Det () |
std::map< std::string, Pds::DetInfo::Device > | initName2Dev () |
std::string | stripType (const std::string &spec, int typeLen) |
bool | parseBldInfo (std::string spec, Pds::Src *src) |
std::pair< std::string, unsigned > | splitDetId (const std::string &spec, char sep) |
bool | parseDetInfo (const std::string &spec, Pds::Src *src, char sep1, char sep2) |
bool | parseDetInfo (std::string spec, Pds::Src *src) |
bool | parseProcInfo (std::string spec, Pds::Src *src) |
Pds::Src | parse (std::string spec) |
std::map< std::string, Pds::DetInfo::Detector > | initName2Det () |
std::map< std::string, Pds::DetInfo::Device > | initName2Dev () |
Variables | |
const char * | logger = "PSEvt::Source" |
const std::map< std::string, Pds::DetInfo::Detector > | name2det = initName2Det() |
const std::map< std::string, Pds::DetInfo::Device > | name2dev = initName2Dev() |
std::map<std::string, Pds::DetInfo::Detector> @12::initName2Det | ( | ) | [static] |
std::map<std::string, Pds::DetInfo::Detector> @11::initName2Det | ( | ) | [static] |
std::map<std::string, Pds::DetInfo::Device> @12::initName2Dev | ( | ) | [static] |
std::map<std::string, Pds::DetInfo::Device> @11::initName2Dev | ( | ) | [static] |
Pds::Src @12::parse | ( | std::string | spec | ) | [static] |
Definition at line 476 of file Source.cpp.
References logger, MsgLog, parseBldInfo(), parseDetInfo(), parseProcInfo(), and stripType().
Pds::Src @11::parse | ( | std::string | spec | ) | [static] |
Referenced by PSEvt::Source::srcMatch().
bool @12::parseBldInfo | ( | std::string | spec, | |
Pds::Src * | src | |||
) | [static] |
bool @12::parseDetInfo | ( | std::string | spec, | |
Pds::Src * | src | |||
) | [static] |
Definition at line 424 of file Source.cpp.
References src::det_interface::Detector(), logger, MsgLog, and parseDetInfo().
bool @12::parseDetInfo | ( | const std::string & | spec, | |
Pds::Src * | src, | |||
char | sep1, | |||
char | sep2 | |||
) | [static] |
Definition at line 377 of file Source.cpp.
References src::det_interface::Detector(), name2det, name2dev, and splitDetId().
Referenced by parse(), and parseDetInfo().
bool @12::parseProcInfo | ( | std::string | spec, | |
Pds::Src * | src | |||
) | [static] |
std::pair<std::string, unsigned> @12::splitDetId | ( | const std::string & | spec, | |
char | sep | |||
) | [static] |
std::string @12::stripType | ( | const std::string & | spec, | |
int | typeLen | |||
) | [static] |
const char* logger = "PSEvt::Source" [static] |
Definition at line 43 of file Source.cpp.