MessageStorage Class Reference

#include <MessageStorage.h>

List of all members.

Public Member Functions

 MessageStorage ()
 MessageStorage (const MessageStorage &ms)
 MessageStorage (const char *name)
 ~MessageStorage ()
MessageStorageoperator= (const MessageStorage &ms)
TMessage * getMessage ()
void updateMessage (TMessage *mess)

Private Attributes

TMessage * _message


Detailed Description

Definition at line 26 of file MessageStorage.h.


Constructor & Destructor Documentation

MessageStorage::MessageStorage (  ) 

Definition at line 18 of file MessageStorage.cc.

00018                                : _message(NULL)
00019 {
00020 } 

MessageStorage::MessageStorage ( const MessageStorage ms  ) 

MessageStorage::MessageStorage ( const char *  name  ) 

Definition at line 22 of file MessageStorage.cc.

00023 : TNamed(name,name), _message(NULL)
00024 {
00025 }

MessageStorage::~MessageStorage (  ) 

Definition at line 27 of file MessageStorage.cc.

References _message.

00028 {
00029  delete _message; 
00030 }


Member Function Documentation

TMessage* MessageStorage::getMessage (  )  [inline]

Definition at line 35 of file MessageStorage.h.

References _message.

00035 {return _message;}  

MessageStorage& MessageStorage::operator= ( const MessageStorage ms  ) 

void MessageStorage::updateMessage ( TMessage *  mess  ) 

Definition at line 32 of file MessageStorage.cc.

References _message.

Referenced by DisplayServer::pollConsumer().

00033 {
00034   delete _message;
00035   _message = mess;
00036 }


Member Data Documentation

TMessage* MessageStorage::_message [private]

Definition at line 39 of file MessageStorage.h.

Referenced by getMessage(), updateMessage(), and ~MessageStorage().


The documentation for this class was generated from the following files:
Generated on Thu Jul 10 22:53:01 2014 for loon by  doxygen 1.4.7