CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Static Private Attributes
edm::messagedrop::StringProducerSinglet Class Reference
Inheritance diagram for edm::messagedrop::StringProducerSinglet:
edm::messagedrop::StringProducer

Public Member Functions

void set (const char *sing)
 
virtual void snapshot ()
 
 StringProducerSinglet ()
 
virtual std::string theContext () const
 
- Public Member Functions inherited from edm::messagedrop::StringProducer
virtual ~StringProducer ()
 

Private Attributes

const char * singlet_
 
char snapshot_singlet_ [SINGLET_MAX_LENGTH+1]
 

Static Private Attributes

static const int SINGLET_MAX_LENGTH = 32
 

Detailed Description

Definition at line 197 of file MessageDrop.cc.

Constructor & Destructor Documentation

edm::messagedrop::StringProducerSinglet::StringProducerSinglet ( )
inline

Definition at line 199 of file MessageDrop.cc.

200  : singlet_("(NoModuleName)")
201  , snapshot_singlet_() {
202  memset(snapshot_singlet_, '\0', sizeof(snapshot_singlet_));
203  }
char snapshot_singlet_[SINGLET_MAX_LENGTH+1]
Definition: MessageDrop.cc:219

Member Function Documentation

void edm::messagedrop::StringProducerSinglet::set ( const char *  sing)
inline
virtual void edm::messagedrop::StringProducerSinglet::snapshot ( )
inlinevirtual

Implements edm::messagedrop::StringProducer.

Definition at line 208 of file MessageDrop.cc.

209  {
210  if ( snapshot_singlet_ != singlet_ ) { // change log 6
212  }
215  }
char snapshot_singlet_[SINGLET_MAX_LENGTH+1]
Definition: MessageDrop.cc:219
virtual std::string edm::messagedrop::StringProducerSinglet::theContext ( ) const
inlinevirtual

Implements edm::messagedrop::StringProducer.

Definition at line 204 of file MessageDrop.cc.

204  {
205  return singlet_;
206  }

Member Data Documentation

const char* edm::messagedrop::StringProducerSinglet::singlet_
private

Definition at line 218 of file MessageDrop.cc.

const int edm::messagedrop::StringProducerSinglet::SINGLET_MAX_LENGTH = 32
staticprivate

Definition at line 217 of file MessageDrop.cc.

char edm::messagedrop::StringProducerSinglet::snapshot_singlet_[SINGLET_MAX_LENGTH+1]
private

Definition at line 219 of file MessageDrop.cc.