namespace events class Factory Defines an event factory
| | NameRecord Name record |
| | ColumnList Fixed column list |
| | IfoTag Interferometer tag |
| | IfoTagList Interferometer tag list |
| | NameList Name list |
| | Get () Event factory |
| | RegisterType (const char* name, TypeInfo*& type) Register type |
| | GetType (const char* name) Get type |
| | MatchType (const Type& type, const char* pat) Match operator |
| | CheckTypeName (const char* name) Check type/subtype name |
| | RegisterName (const char* name, int& id) Register name |
| | GetNameId (const char* name) Get name id |
| | GetNameStr (int id) Get name |
| | MatchName (const Name& name, const char* pat) Match operator |
| | CheckNameName (const char* name) Check name |
| | InitBasicLayouts () Initializes the layout list |
| | RegisterLayout (const LayoutInfo& layout) Register layout |
| | LookupLayout (const Type& type) Lookup layout |
| | StandardLayout (const char* name) Standard layout |
| | GetLayoutAddColVers () Get layout add column modification version |
| | IncreaseLayoutAddColVers () Increase layout add column modification version |
| | AddFixedColumn (const ColumnInfo& desc) Add fixed column |
| | GetFixedColumn (const char* name) Check fixed column |
| | FixedColumns () Get list of fixed columns |
| | FixedColumnIndex () Get index list of fixed columns |
| | GetNextAvailableColumnOffset () Get first available offset |
| | GetNextAvailableColumnNumber () Get first available column number |
| | IfoString2Tag (const char* ifostring, IfoTag& tag) String to tag |
| | IfoString2Tags (const char* ifostring, IfoTagList& list) String to tag list |
| | IfoTag2String (IfoTag& tag, std::string& ifostring) Tag to string |
| | IfoRegister (const char* ifostring) Register the ifo |
| | IfoGetBit (const char* ifostring) Get the ifo bit |
| | IfoGetBits (const char* ifostring, IfoSet::ifoset_type& ifoset) Get the ifo bits |
| | IfoGetTag (int bit) Get the ifo tag |
| | IfoGetTags (const IfoSet::ifoset_type& ifoset, std::string& ifostring) Get the ifo bits |
| | DumpAllTypes (std::ostream& os) const Dump all registered types. |
| | DumpAllNames (std::ostream& os) const Dump all registered names. |
| | DumpAllLayouts (std::ostream& os) const Dump all registered layouts. |
Defines the event factory. Every program creates a global event factory which is used to manage event types and event layouts.
typedef std::pair <char, int> IfoTag
typedef std::vector <IfoTag> IfoTagList
class NameRecord
typedef IndexList <NameRecord> NameList
static Factory& Get()
bool RegisterType(const char* name, TypeInfo*& type)
type - Event type information (return)
subtype - Event subtype id (return)
TypeInfo* GetType(const char* name)
static bool MatchType(const Type& type, const char* pat)
pat - Pattern for event name
static bool CheckTypeName(const char* name)
bool RegisterName(const char* name, int& id)
id - Event name id information (return)
int GetNameId(const char* name)
const char* GetNameStr(int id)
static bool MatchName(const Name& name, const char* pat)
pat - Pattern for event name
static bool CheckNameName(const char* name)
void InitBasicLayouts()
const LayoutInfo* RegisterLayout(const LayoutInfo& layout)
const LayoutInfo* LookupLayout(const Type& type)
const LayoutInfo* StandardLayout(const char* name)
int GetLayoutAddColVers()
void IncreaseLayoutAddColVers()
bool AddFixedColumn(const ColumnInfo& desc)
const ColumnInfo* GetFixedColumn(const char* name)
const ColumnInfoList& FixedColumns()
const ColumnList& FixedColumnIndex()
int GetNextAvailableColumnOffset()
int GetNextAvailableColumnNumber()
static bool IfoString2Tag(const char* ifostring, IfoTag& tag)
tag - Interferometer tag (return)
static bool IfoString2Tags(const char* ifostring, IfoTagList& list)
tag - Interferometer tag list (return)
static bool IfoTag2String(IfoTag& tag, std::string& ifostring)
ifostring - Interferometer string (return)
int IfoRegister(const char* ifostring)
int IfoGetBit(const char* ifostring)
bool IfoGetBits(const char* ifostring, IfoSet::ifoset_type& ifoset)
ifoset - Bit encoded value (return)
std::string IfoGetTag(int bit)
bool IfoGetTags(const IfoSet::ifoset_type& ifoset, std::string& ifostring)
ifostring - Interferometer string (return)
void DumpAllTypes(std::ostream& os) const
void DumpAllNames(std::ostream& os) const
void DumpAllLayouts(std::ostream& os) const
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++