#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 |
Definition at line 180 of file Events.h.
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 | ( | ) |
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 }
char* StorageListEvent::hostname [private] |
Definition at line 82 of file MonitorTable.h.
char* StorageListEvent::nodename [private] |