Advanced Strategic Command
Classes | Public Member Functions | Protected Member Functions | List of all members
StatusMessageWindowHolder Class Reference

A class that hols a MessageWindow. This class ensures that the window is removed if the last copy of the object is deleted. More...

#include <messaginghub.h>

Classes

class  UserData
 

Public Member Functions

 StatusMessageWindowHolder ()
 
 StatusMessageWindowHolder (UserData *ud)
 
 StatusMessageWindowHolder (const StatusMessageWindowHolder &smw)
 
StatusMessageWindowHolderoperator= (const StatusMessageWindowHolder &smw)
 
void close ()
 
void SetText (const ASCString &text)
 
virtual ~StatusMessageWindowHolder ()
 

Protected Member Functions

void copy (const StatusMessageWindowHolder &smw)
 
void unlink ()
 

Detailed Description

A class that hols a MessageWindow. This class ensures that the window is removed if the last copy of the object is deleted.

Definition at line 34 of file messaginghub.h.

Constructor & Destructor Documentation

StatusMessageWindowHolder::StatusMessageWindowHolder ( )

Definition at line 21 of file messaginghub.cpp.

StatusMessageWindowHolder::StatusMessageWindowHolder ( UserData ud)
inline

Definition at line 52 of file messaginghub.h.

StatusMessageWindowHolder::StatusMessageWindowHolder ( const StatusMessageWindowHolder smw)

Definition at line 15 of file messaginghub.cpp.

References copy().

StatusMessageWindowHolder::~StatusMessageWindowHolder ( )
virtual

Definition at line 68 of file messaginghub.cpp.

References unlink().

Member Function Documentation

void StatusMessageWindowHolder::close ( void  )

Definition at line 49 of file messaginghub.cpp.

References unlink().

Referenced by networksupervisor(), and FileTransfer::send().

void StatusMessageWindowHolder::copy ( const StatusMessageWindowHolder smw)
protected

Definition at line 38 of file messaginghub.cpp.

References unlink().

Referenced by operator=(), and StatusMessageWindowHolder().

StatusMessageWindowHolder & StatusMessageWindowHolder::operator= ( const StatusMessageWindowHolder smw)

Definition at line 61 of file messaginghub.cpp.

References copy().

void StatusMessageWindowHolder::SetText ( const ASCString text)

Definition at line 54 of file messaginghub.cpp.

References StatusMessageWindowHolder::UserData::SetText().

Referenced by execaction_pg().

void StatusMessageWindowHolder::unlink ( )
protected

Definition at line 27 of file messaginghub.cpp.

Referenced by close(), copy(), and ~StatusMessageWindowHolder().


The documentation for this class was generated from the following files: