Public Member Functions | |
void | set (const char *sing) |
virtual void | snapshot () |
StringProducerSinglet () | |
virtual std::string | theContext () const |
Private Attributes | |
const char * | singlet_ |
char | snapshot_singlet_ [SINGLET_MAX_LENGTH+1] |
Static Private Attributes | |
static const int | SINGLET_MAX_LENGTH = 32 |
Definition at line 186 of file MessageDrop.cc.
edm::messagedrop::StringProducerSinglet::StringProducerSinglet | ( | ) | [inline] |
Definition at line 188 of file MessageDrop.cc.
: singlet_("(NoModuleName)") {}
void edm::messagedrop::StringProducerSinglet::set | ( | const char * | sing | ) | [inline] |
Definition at line 192 of file MessageDrop.cc.
Referenced by edm::MessageDrop::setSinglet().
{singlet_ = sing; }
virtual void edm::messagedrop::StringProducerSinglet::snapshot | ( | ) | [inline, virtual] |
Implements edm::messagedrop::StringProducer.
Definition at line 193 of file MessageDrop.cc.
{ if ( snapshot_singlet_ != singlet_ ) { // change log 6 std::strncpy (snapshot_singlet_,singlet_,SINGLET_MAX_LENGTH); } snapshot_singlet_[SINGLET_MAX_LENGTH] = 0; singlet_ = snapshot_singlet_; }
virtual std::string edm::messagedrop::StringProducerSinglet::theContext | ( | ) | const [inline, virtual] |
Implements edm::messagedrop::StringProducer.
Definition at line 189 of file MessageDrop.cc.
{ return singlet_; }
const char* edm::messagedrop::StringProducerSinglet::singlet_ [private] |
Definition at line 203 of file MessageDrop.cc.
const int edm::messagedrop::StringProducerSinglet::SINGLET_MAX_LENGTH = 32 [static, private] |
Definition at line 202 of file MessageDrop.cc.
char edm::messagedrop::StringProducerSinglet::snapshot_singlet_[SINGLET_MAX_LENGTH+1] [private] |
Definition at line 204 of file MessageDrop.cc.