(UNKNOWN PRODUCT) » EXPCONF » TMrbModuleChannel

class TMrbModuleChannel: public TNamed

__________________________________________________[C++ CLASS IMPLEMENTATION]

 Name:           expconf/src/TMrbModuleChannel.cxx
 Purpose:        MARaBOU configuration: single channel
 Description:    Implements class methods to describe a single channel
                 of a CAMAC/VME module
 Keywords:
 Author:         R. Lutter
 Mailto:         <a href=mailto:rudi.lutter@physik.uni-muenchen.de>R. Lutter</a>
 Revision:       $Id: TMrbModuleChannel.cxx,v 1.5 2008/12/12 13:09:58 Rudolf.Lutter Exp $
 Date:

Function Members (Methods)

public:
TMrbModuleChannel()
TMrbModuleChannel(TMrbModule* Module, Int_t Addr)
virtual~TMrbModuleChannel()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
TMrbModuleChannel*ArrayHead() const
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tGet(const Char_t* RegName) const
Int_tGet(Int_t RegIndex) const
Int_tGetAddr() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
const Char_t*GetHeadName() const
TMrbModuleChannel::EMrbHistoModeGetHistoMode() const
virtual const char*TObject::GetIconName() const
Int_tGetIndex() const
Int_tGetIndexRange() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
Int_tGetOffset() const
virtual Option_t*TObject::GetOption() const
TMrbConfig::EMrbChannelStatusGetStatus() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
Bool_tHasRegisters() const
voidHelp()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tIsUsed() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
Bool_tMarkIndexed(TMrbModuleChannel* Param0)
Bool_tMarkUsed(TMrbSubevent* Sevt)
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
TMrbModule*Parent() const
virtual voidTObject::Pop()
voidPrint()
virtual voidPrint(Option_t* Option) const
virtual voidPrint(ostream& OutStrm, Bool_t ArrayFlag, Bool_t SevtFlag, const Char_t* Prefix = "")
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
Bool_tSet(const Char_t* RegName, Int_t Value)
Bool_tSet(Int_t RegIndex, Int_t Value)
Bool_tSet(const Char_t* RegName, const Char_t* Value)
Bool_tSet(Int_t RegIndex, const Char_t* Value)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tSetHeadName(const Char_t* HeadName)
voidSetHistoMode(TMrbModuleChannel::EMrbHistoMode HistoMode)
voidSetIndexRange(Int_t Range)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOffset(Int_t Offset)
voidSetStatus(TMrbConfig::EMrbChannelStatus Status)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
TMrbSubevent*UsedBy() const
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum EMrbHistoMode { kMrbHasHistogramDefault
kMrbHasHistogramFalse
kMrbHasHistogramTrue
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfAddrchannel address
TMrbModuleChannel*fArrayHeadaddress of channel with index 0
TStringfHeadNamename of param array if any
TMrbModuleChannel::EMrbHistoModefHistoModehistogram to be booked for this param?
Int_tfIndexRangenumber of subsequent channels indexed from this one
Bool_tfIsUsedkTRUE if used
TStringTNamed::fNameobject identifier
Int_tfOffsetchannel offset
TMrbModule*fParentparent module
TObjArrayfRegSpecinternal registers
TMrbConfig::EMrbChannelStatusfStatusstatus bits
TStringTNamed::fTitleobject title
TMrbSubevent*fUsedByaddress of subevent

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TMrbModuleChannel(TMrbModule* Module, Int_t Addr)
__________________________________________________________________[C++ CTOR]

 Name:           TMrbModuleChannel
 Purpose:        Create a single camac channel
 Arguments:      TMrbModule * Module        -- addr of parent module
                 Int_t Addr                 -- address / channel number
 Results:        --
 Exceptions:
 Description:    Defines a single channel
 Keywords:

Bool_t Set(const Char_t* RegName, Int_t Value)
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Set
 Purpose:        Set register values for single channel
 Arguments:      Char_t * RegName  -- register name
                 Int_t Value       -- register value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Sets register values for given module channel
 Keywords:

Bool_t Set(Int_t RegIndex, Int_t Value)
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Set
 Purpose:        Set register values for single channel
 Arguments:      Int_t RegIndex       -- register index
                 Int_t Value          -- register value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Sets register values for a given module channel
 Keywords:

Bool_t Set(const Char_t* RegName, const Char_t* Value)
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Set
 Purpose:        Set register values for single channel
 Arguments:      Char_t * RegName  -- register name
                 Char_t * Value    -- register value (mnemonic)
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Sets register values for given module channel
 Keywords:

Bool_t Set(Int_t RegIndex, const Char_t* Value)
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Set
 Purpose:        Set register values for single channel
 Arguments:      Int_t RegIndex       -- register index
                 Char_t * Value       -- register value (mnemonic)
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Sets register values for a given module channel
 Keywords:

Int_t Get(const Char_t* RegName) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Get
 Purpose:        Get register values of single channel
 Arguments:      Char_t * RegName  -- register name
 Results:        Int_t Value       -- register value
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Gets register values of a single module channel
 Keywords:

Int_t Get(Int_t RegIndex) const
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::Get
 Purpose:        Get register values for single channel
 Arguments:      Int_t RegIndex     -- register index
 Results:        Int_t Value        -- register value
 Exceptions:
 Description:    Gets register values of a given module channel
 Keywords:

Int_t GetIndex() const
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::GetIndex
 Purpose:        Get index with respect to array head
 Arguments:
 Results:        Int_t Value    -- index
 Exceptions:
 Description:    Calculates offset from array head.
 Keywords:

Bool_t SetHeadName(const Char_t* HeadName)
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::SetHeadName
 Purpose:        Store head name for indexed params
 Arguments:      Char_t * HeadName   -- name of param head
 Results:        kTRUE/kFALSE
 Exceptions:
 Description:    Stores "param head" in case of indexed params
 Keywords:

const Char_t * GetHeadName() const
________________________________________________________________[C++ METHOD]

 Name:           TMrbModuleChannel::GetHeadName
 Purpose:        Return name of param head
 Arguments:      --
 Results:        Char_t * HeadName   -- name of param head
 Exceptions:
 Description:    Returns "param head" in case of indexed params
 Keywords:

TMrbModuleChannel()
{}
~TMrbModuleChannel()
Bool_t MarkUsed(TMrbSubevent* Sevt)
Bool_t MarkIndexed(TMrbModuleChannel* Param0)
Bool_t HasRegisters() const
{ return(fRegSpec.GetEntriesFast() > 0); }
Int_t GetAddr() const
{ return(fAddr); }
TMrbSubevent * UsedBy() const
{ return(fUsedBy); }
TMrbModule * Parent() const
{ return(fParent); }
TMrbModuleChannel * ArrayHead() const
{ return(fArrayHead); }
Int_t GetIndexRange() const
{ return(fIndexRange); }
void SetIndexRange(Int_t Range)
{ fIndexRange = Range; }
TMrbConfig::EMrbChannelStatus GetStatus() const
{ return(fStatus); }
void SetStatus(TMrbConfig::EMrbChannelStatus Status)
{ fStatus = Status; }
void SetOffset(Int_t Offset)
{ fOffset = Offset; }
Int_t GetOffset() const
{ return(fOffset); }
Bool_t IsUsed() const
{ return(fIsUsed); }
EMrbHistoMode GetHistoMode() const
{ return(fHistoMode); }
void SetHistoMode(TMrbModuleChannel::EMrbHistoMode HistoMode)
{ fHistoMode = HistoMode; }
void Print(Option_t* Option) const
{ TObject::Print(Option); }
void Print(ostream& OutStrm, Bool_t ArrayFlag, Bool_t SevtFlag, const Char_t* Prefix = "")
{}
void Print()
{ Print(cout, kFALSE, kFALSE, ""); }
void Help()
{ gSystem->Exec(Form("mrbHelp %s", this->ClassName())); }



Revision: $Id: TMrbModuleChannel.h,v 1.9 2010/09/01 08:52:50 Rudolf.Lutter Exp $

ROOT page - Home page - Class index - Top of the page

This page has been automatically generated by use of ROOT's THtml class. If you have any comments or suggestions about the page layout send a mail to Marabou Support.