Sct::UniqueRodIdentifier Class Reference

No two rods within the SCT have the same UniqueRodIdentifier. More...

#include <Addressing.h>

Collaboration diagram for Sct::UniqueRodIdentifier:

Collaboration graph
[legend]

Public Member Functions

 UniqueRodIdentifier (const Sct::Corba::URID &other)
 UniqueRodIdentifier (const UniqueCrateIdentifier c, const RodIdentifier r)
 UniqueRodIdentifier (const PartitionIdentifier p, const CrateIdentifier c, const RodIdentifier r)
 UniqueRodIdentifier (const std::string &s)
 Constructs from a string encoded URID.
 UniqueRodIdentifier ()
UniquePartitionIdentifier upid () const
 gets upid (="unique partition id")
UniqueCrateIdentifier ucid () const
 gets ucid (="unique crate id")
PartitionIdentifier partition () const
 gets pid (="parition id")
RodIdentifier crate () const
 gets cid (="crate id")
RodIdentifier rod () const
 gets rid (="rod id")
bool operator== (const UniqueRodIdentifier &other) const
 We can safely rely here on default "operator==", "operator!=" and "operator=" functionality, so no need to define them here.
bool operator!= (const UniqueRodIdentifier &other) const
bool operator< (const UniqueRodIdentifier &other) const
 operator std::string () const

Private Member Functions

std::string tag () const

Private Attributes

UniqueCrateIdentifier m_ucid
RodIdentifier m_rid

Detailed Description

No two rods within the SCT have the same UniqueRodIdentifier.

Definition at line 211 of file Addressing.h.


Constructor & Destructor Documentation

Sct::UniqueRodIdentifier::UniqueRodIdentifier const std::string &  s  )  [explicit]
 

Constructs from a string encoded URID.

throws InvalidArgumentError if the format of URID is not correct


Member Function Documentation

RodIdentifier Sct::UniqueRodIdentifier::crate  )  const [inline]
 

gets cid (="crate id")

Definition at line 249 of file Addressing.h.

References Sct::UniqueCrateLevelIdentifierBase::crate(), and m_ucid.

Referenced by Sct::copyURIDToCorba(), and operator std::string().

Here is the call graph for this function:

bool Sct::UniqueRodIdentifier::operator== const UniqueRodIdentifier other  )  const [inline]
 

We can safely rely here on default "operator==", "operator!=" and "operator=" functionality, so no need to define them here.

Definition at line 256 of file Addressing.h.

References m_rid, and m_ucid.

PartitionIdentifier Sct::UniqueRodIdentifier::partition  )  const [inline]
 

gets pid (="parition id")

Definition at line 246 of file Addressing.h.

References m_ucid, and Sct::UniqueCrateLevelIdentifierBase::partition().

Referenced by Sct::copyURIDToCorba(), and operator std::string().

Here is the call graph for this function:

RodIdentifier Sct::UniqueRodIdentifier::rod  )  const [inline]
 

gets rid (="rod id")

Definition at line 252 of file Addressing.h.

References m_rid.

Referenced by Sct::copyURIDToCorba(), and operator std::string().

UniqueCrateIdentifier Sct::UniqueRodIdentifier::ucid  )  const [inline]
 

gets ucid (="unique crate id")

Definition at line 242 of file Addressing.h.

References m_ucid.

UniquePartitionIdentifier Sct::UniqueRodIdentifier::upid  )  const [inline]
 

gets upid (="unique partition id")

Definition at line 239 of file Addressing.h.

References m_ucid, and Sct::UniqueCrateLevelIdentifierBase::upid().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:02:41 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6