This is the documentation about PixelMaskBase... More...
#include <PixelMaskBase.h>
Public Member Functions | |
virtual const PixelROCMaskBits & | getMaskBits (int ROCId) const =0 |
virtual PixelROCMaskBits * | getMaskBits (PixelROCName name)=0 |
PixelMaskBase (std::string description, std::string creator, std::string date) | |
void | setOverride (PixelMaskOverrideBase *) |
virtual void | writeASCII (std::string filename) const =0 |
virtual void | writeBinary (std::string filename) const =0 |
virtual void | writeXML (pos::PixelConfigKey key, int version, std::string path) const |
virtual void | writeXML (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual void | writeXMLTrailer (std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const |
virtual | ~PixelMaskBase () |
Private Attributes | |
PixelMaskOverrideBase * | maskOverride_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const PixelMaskBase &mask) |
This is the documentation about PixelMaskBase...
" "
This class provide a base class for the pixel mask data for the pixel FEC configuration This is a pure interface (abstract class) that needs to have an implementation.
All applications should just use this interface and not care about the specific implementation
Definition at line 36 of file PixelMaskBase.h.
PixelMaskBase::PixelMaskBase | ( | std::string | description, |
std::string | creator, | ||
std::string | date | ||
) |
Definition at line 17 of file PixelMaskBase.cc.
PixelMaskBase::~PixelMaskBase | ( | ) | [virtual] |
Definition at line 24 of file PixelMaskBase.cc.
{}
virtual const PixelROCMaskBits& pos::PixelMaskBase::getMaskBits | ( | int | ROCId | ) | const [pure virtual] |
Implemented in pos::PixelMaskAllPixels.
Referenced by pos::PixelTrimAllPixels::generateConfiguration(), pos::PixelTrimCommon::generateConfiguration(), and operator<<().
virtual PixelROCMaskBits* pos::PixelMaskBase::getMaskBits | ( | PixelROCName | name | ) | [pure virtual] |
Implemented in pos::PixelMaskAllPixels.
void PixelMaskBase::setOverride | ( | PixelMaskOverrideBase * | override | ) |
Definition at line 26 of file PixelMaskBase.cc.
References maskOverride_.
{ maskOverride_=override; }
virtual void pos::PixelMaskBase::writeASCII | ( | std::string | filename | ) | const [pure virtual] |
Implements pos::PixelConfigBase.
Implemented in pos::PixelMaskAllPixels, and pos::PixelMaskAllPixels.
virtual void pos::PixelMaskBase::writeBinary | ( | std::string | filename | ) | const [pure virtual] |
Implemented in pos::PixelMaskAllPixels, and pos::PixelMaskAllPixels.
virtual void pos::PixelMaskBase::writeXML | ( | std::ofstream * | out, |
std::ofstream * | out1 = NULL , |
||
std::ofstream * | out2 = NULL |
||
) | const [inline, virtual] |
Reimplemented from pos::PixelConfigBase.
Reimplemented in pos::PixelMaskAllPixels.
Definition at line 64 of file PixelMaskBase.h.
{;}
virtual void pos::PixelMaskBase::writeXML | ( | pos::PixelConfigKey | key, |
int | version, | ||
std::string | path | ||
) | const [inline, virtual] |
Reimplemented from pos::PixelConfigBase.
Reimplemented in pos::PixelMaskAllPixels, and pos::PixelMaskAllPixels.
Definition at line 56 of file PixelMaskBase.h.
{;}
virtual void pos::PixelMaskBase::writeXMLHeader | ( | pos::PixelConfigKey | key, |
int | version, | ||
std::string | path, | ||
std::ofstream * | out, | ||
std::ofstream * | out1 = NULL , |
||
std::ofstream * | out2 = NULL |
||
) | const [inline, virtual] |
Reimplemented from pos::PixelConfigBase.
Reimplemented in pos::PixelMaskAllPixels.
Definition at line 57 of file PixelMaskBase.h.
{;}
virtual void pos::PixelMaskBase::writeXMLTrailer | ( | std::ofstream * | out, |
std::ofstream * | out1 = NULL , |
||
std::ofstream * | out2 = NULL |
||
) | const [inline, virtual] |
Reimplemented from pos::PixelConfigBase.
Reimplemented in pos::PixelMaskAllPixels.
Definition at line 67 of file PixelMaskBase.h.
{;}
std::ostream& operator<< | ( | std::ostream & | s, |
const PixelMaskBase & | mask | ||
) | [friend] |
Definition at line 30 of file PixelMaskBase.cc.
{ s << mask.getMaskBits(0) <<std::endl; return s; }
Definition at line 77 of file PixelMaskBase.h.
Referenced by setOverride().