CMS 3D CMS Logo

OtherMessageView Class Reference

#include <IOPool/Streamer/interface/OtherMessage.h>

List of all members.

Public Member Functions

uint32 bodySize () const
uint32 code () const
uint8msgBody () const
 OtherMessageView (void *buf)
uint32 size () const
uint8startAddress ()

Private Attributes

uint8buf_
Headerhead_
uint8msg_body_start_


Detailed Description

Definition at line 41 of file OtherMessage.h.


Constructor & Destructor Documentation

OtherMessageView::OtherMessageView ( void buf  )  [inline]

Definition at line 47 of file OtherMessage.h.

References buf_, and msg_body_start_.

00047                              : 
00048   buf_((uint8*)buf), 
00049   head_((Header*)buf) 
00050   { 
00051    msg_body_start_ = buf_ + sizeof(Header); 
00052   } 


Member Function Documentation

uint32 OtherMessageView::bodySize (  )  const [inline]

Definition at line 58 of file OtherMessage.h.

References buf_, convert32(), head_, msg_body_start_, and Header::size_.

Referenced by stor::StorageManager::eventdataWebPage(), and stor::DataProcessManager::getHeaderFromSM().

00058                           {
00059     return convert32(head_->size_) - (msg_body_start_ - buf_);
00060   }

uint32 OtherMessageView::code ( void   )  const [inline]

Definition at line 54 of file OtherMessage.h.

References Header::code_, and head_.

Referenced by stor::StorageManager::DQMeventdataWebPage(), stor::SMProxyServer::DQMeventdataWebPage(), stor::SMProxyServer::eventdataWebPage(), stor::StorageManager::eventdataWebPage(), stor::DataProcessManager::getOneDQMEventFromSM(), stor::DataProcessManager::getOneEventFromSM(), stor::StorageManager::headerdataWebPage(), and stor::SMProxyServer::headerdataWebPage().

00054 { return head_->code_; } 

uint8* OtherMessageView::msgBody (  )  const [inline]

Definition at line 56 of file OtherMessage.h.

References msg_body_start_.

Referenced by stor::StorageManager::DQMeventdataWebPage(), stor::SMProxyServer::DQMeventdataWebPage(), stor::SMProxyServer::eventdataWebPage(), stor::StorageManager::eventdataWebPage(), stor::DataProcessManager::getHeaderFromSM(), stor::StorageManager::headerdataWebPage(), and stor::SMProxyServer::headerdataWebPage().

00056 {return msg_body_start_; } 

uint32 OtherMessageView::size ( void   )  const [inline]

Definition at line 55 of file OtherMessage.h.

References convert32(), head_, and Header::size_.

00055 { return convert32(head_->size_); } 

uint8* OtherMessageView::startAddress (  )  [inline]

Definition at line 57 of file OtherMessage.h.

References buf_.

00057 { return buf_; }


Member Data Documentation

uint8* OtherMessageView::buf_ [private]

Definition at line 63 of file OtherMessage.h.

Referenced by bodySize(), OtherMessageView(), and startAddress().

Header* OtherMessageView::head_ [private]

Definition at line 65 of file OtherMessage.h.

Referenced by bodySize(), code(), and size().

uint8* OtherMessageView::msg_body_start_ [private]

Definition at line 64 of file OtherMessage.h.

Referenced by bodySize(), msgBody(), and OtherMessageView().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:29:25 2009 for CMSSW by  doxygen 1.5.4