StorageListEvent Class Reference

#include <Events.h>

Inherits MonitorEvent.

Inherited by AddDiskEvent, AddDiskEvent, AddNodeEvent, AddNodeEvent, UpdateDiskQueueEvent, and UpdateDiskQueueEvent.

Public Member Functions

 StorageListEvent (char *nodename, int value=0)
 ~StorageListEvent ()
char * getNodeName ()
 StorageListEvent (char *hostname, int value=0)
 ~StorageListEvent ()
char * getHostName ()

Private Attributes

char * nodename
char * hostname

Detailed Description

Definition at line 180 of file Events.h.


Constructor & Destructor Documentation

StorageListEvent::StorageListEvent ( char *  nodename,
int  value = 0 
)

Definition at line 211 of file Events.cpp.

00212     : QCustomEvent( STORAGE_LIST_EVENT + value )
00213 {
00214     this->nodename = strdup( nodename );
00215 }

StorageListEvent::~StorageListEvent (  ) 

Definition at line 217 of file Events.cpp.

00218 {
00219     free( nodename );
00220 }

StorageListEvent::StorageListEvent ( char *  hostname,
int  value = 0 
)
StorageListEvent::~StorageListEvent (  ) 

Member Function Documentation

char * StorageListEvent::getHostName (  ) 

Definition at line 135 of file MonitorTable.cpp.

00136 {
00137     return hostname;
00138 }

char * StorageListEvent::getNodeName (  ) 

Definition at line 222 of file Events.cpp.

00223 {
00224     return nodename;
00225 }


Field Documentation

char* StorageListEvent::hostname [private]

Definition at line 82 of file MonitorTable.h.

char* StorageListEvent::nodename [private]

Definition at line 182 of file Events.h.


The documentation for this class was generated from the following files:
Generated on Wed Jul 4 16:03:38 2012 for RIO by  doxygen 1.6.3