ZMIR
class description - source file - inheritance tree (.pdf)
private:
void _init()
public:
ZMIR(ID_t a = 0, ID_t b = 0, ID_t g = 0)
ZMIR(ZGlass* a, ZGlass* b = 0, ZGlass* g = 0)
ZMIR(TMessage*& m)
virtual ~ZMIR()
void AppendBuffer(TBuffer& b)
static TClass* Class()
void ClearRecipient()
void CopyToBuffer(TBuffer& b)
void Demangle(An_ID_Demangler* s)
void DemangleRecipient(An_ID_Demangler* s)
void DemangleResultRecipient(An_ID_Demangler* s)
Bool_t HasRecipient()
Bool_t HasResultReq()
Int_t HeaderLength()
virtual TClass* IsA() const
Bool_t IsBeam()
Bool_t IsDetachedExeMultix()
Bool_t IsFlare()
void ReadExecHeader()
void ReadRoutingHeader()
void RewindToData()
void RewindToExecHeader()
Int_t RoutingHeaderLength()
void SetCaller(ZMirEmittingEntity* caller)
void SetDetachedExe(bool multix = false)
void SetLCM_Ids(LID_t l, CID_t c, MID_t m)
void SetRecipient(SaturnInfo* recipient)
void SetResultReq(SaturnInfo* r_recipient, UInt_t r_handle)
Bool_t ShouldExeDetached()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void WriteHeader()
protected:
char* fTrueBuffer !
public:
static const ZMIR::Direction_e D_Unknown
static const ZMIR::Direction_e D_Up
static const ZMIR::Direction_e D_Down
static const ZMIR::MIR_Bits_e MB_HeaderWritten
static const ZMIR::MIR_Bits_e MB_HasRecipient
static const ZMIR::MIR_Bits_e MB_HasResultReq
static const ZMIR::MIR_Bits_e MB_DetachedExe
static const ZMIR::MIR_Bits_e MB_MultixDetachedExe
ZMIR::Direction_e Direction !
Bool_t SuppressFlareBroadcast !
Bool_t RequiresResult !
UChar_t MirBits
ID_t CallerID
ID_t RecipientID Must be set via SetRecipient(id)
ID_t ResultRecipientID \_ Must be set via
UInt_t ResultReqHandle / SetResultReq(id, handle)
ID_t AlphaID
ID_t BetaID
ID_t GammaID
LID_t Lid
CID_t Cid
MID_t Mid
ZMirEmittingEntity* Caller !
SaturnInfo* Recipient !
SaturnInfo* ResultRecipient !
ZGlass* Alpha !
ZGlass* Beta !
ZGlass* Gamma !
ZMIR
Covering structure for streaming/routing of MIRs.
Message type defaults to MT_Flare.
By calling SetRecipient the message type is transmuted to MT_Beam.
Direction is used for determination of routing/exec action in the Saturn.
SuppressFlareBroadcast can be set during MIR execution on the sun-saturn
to prevent broadcasting of the MIR to moons.
void _init()
Set demangled info to null
ZMIR(ID_t a, ID_t b, ID_t g) :
TMessage(GledNS::MT_Flare),
Direction(D_Unknown), SuppressFlareBroadcast(false),
MirBits(0), CallerID(0),
RecipientID(0), ResultRecipientID(0), ResultReqHandle(0),
AlphaID(a), BetaID(b), GammaID(g)
ZMIR(ZGlass* a, ZGlass* b, ZGlass* g) :
TMessage(GledNS::MT_Flare),
Direction(D_Unknown), SuppressFlareBroadcast(false),
MirBits(0), CallerID(0),
RecipientID(0), ResultRecipientID(0), ResultReqHandle(0),
Alpha(a), Beta(b), Gamma(g)
ZMIR(TMessage*& m) :
TMessage(m->Buffer(), m->BufferSize()),
Direction(D_Unknown),
SuppressFlareBroadcast(false), RequiresResult(false)
~ZMIR()
Int_t HeaderLength()
Int_t RoutingHeaderLength()
void WriteHeader()
Writes a complete MIR header, including the message type. If
Recipient and ResultReq fields are not used, the position of
fBuffer is displaced for the appropriate amount.
Also ... sets fBufSize to the current buffer position.
Do not add further data after this method has been called!
void ReadRoutingHeader()
void ReadExecHeader()
void RewindToData()
Sets Read mode and position to just after the Context header.
void RewindToExecHeader()
Sets Read mode and position to just after the Context header.
void Demangle(An_ID_Demangler* s) throw(string)
void DemangleRecipient(An_ID_Demangler* s) throw(string)
void DemangleResultRecipient(An_ID_Demangler* s) throw(string)
void SetCaller(ZMirEmittingEntity* caller)
void SetRecipient(SaturnInfo* recipient)
Can be called for MIR in write mode or for MIR in read mode
if it is already a Beam.
void ClearRecipient()
Can only be called for MIRs in read mode. MIR is transmuted into Flare,
but the HasRecipient flag stays on.
void SetResultReq(SaturnInfo* r_recipient, UInt_t r_handle)
Sets result request information of the MIR.
Beam results can also carry arbitrary streamed information.
void SetDetachedExe(bool multix)
void CopyToBuffer(TBuffer& b)
Copies contents of Message from current position until end.
void AppendBuffer(TBuffer& b)
Appends contents of b to the MIR.
Inline Functions
Bool_t HasRecipient()
Bool_t HasResultReq()
Bool_t IsFlare()
Bool_t IsBeam()
Bool_t ShouldExeDetached()
Bool_t IsDetachedExeMultix()
void SetLCM_Ids(LID_t l, CID_t c, MID_t m)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Last update: Thu Jun 9 15:56:18 2005
ROOT page - Home page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.