CMS 3D CMS Logo

Public Member Functions | Private Attributes

evf::RateStat Class Reference

#include <RateStat.h>

List of all members.

Public Member Functions

 RateStat (std::string iDieUrl)
void sendLegenda (const std::string &)
void sendStat (const unsigned char *, size_t, unsigned int)
 ~RateStat ()

Private Attributes

std::string iDieUrl_
CurlPosterposter_

Detailed Description

Definition at line 11 of file RateStat.h.


Constructor & Destructor Documentation

evf::RateStat::RateStat ( std::string  iDieUrl)

Definition at line 9 of file RateStat.cc.

References iDieUrl_, and poster_.

                                      : iDieUrl_(iDieUrl)
  {
  poster_ = new CurlPoster(iDieUrl_);
  }
evf::RateStat::~RateStat ( )

Definition at line 14 of file RateStat.cc.

References poster_.

  {
    delete poster_;
  }

Member Function Documentation

void evf::RateStat::sendLegenda ( const std::string &  message)
void evf::RateStat::sendStat ( const unsigned char *  buf,
size_t  len,
unsigned int  lsid 
)

Definition at line 19 of file RateStat.cc.

References evf::CurlPoster::postBinary(), and poster_.

Referenced by evf::FUEventProcessor::summarize().

  {
    poster_->postBinary(buf,len,lsid);
  }

Member Data Documentation

std::string evf::RateStat::iDieUrl_ [private]

Definition at line 18 of file RateStat.h.

Referenced by RateStat().

Definition at line 19 of file RateStat.h.

Referenced by RateStat(), sendLegenda(), sendStat(), and ~RateStat().