code::FileChangeNotifier::NotifierEvent Class Reference

Inheritance diagram for code::FileChangeNotifier::NotifierEvent:

code::ActionEvent List of all members.

Detailed Description

NotifierEvent is the event that gets passed to clients of FileChangeNotifier.

The ActionSource you get is a FileChangeNotifier. The type of event is either "Modified" or "NewFile"

Author:
: Lakshman
Version:
:
Id
code_FileChangeNotifier.h,v 1.9 2009/06/02 20:17:39 lakshman Exp


Public Member Functions

 NotifierEvent (FileChangeNotifier *n, const std::string &evt_type, const std::string &file_name)
ActionSourcegetSource () const
 Returns a pointer to the object that generated this ActionEvent.
const std::string & getType () const
 Returns a source-specific type identifier to indicate what action occurred.

Public Attributes

std::string filename
 The new or modified file being notified about.


Constructor & Destructor Documentation

code::FileChangeNotifier::NotifierEvent::NotifierEvent ( FileChangeNotifier n,
const std::string &  evt_type,
const std::string &  file_name 
) [inline]


Member Function Documentation

ActionSource* code::ActionEvent::getSource (  )  const [inline, inherited]

Returns a pointer to the object that generated this ActionEvent.

Returns:
a pointer to the object that generated this ActionEvent.

const std::string& code::ActionEvent::getType (  )  const [inline, inherited]

Returns a source-specific type identifier to indicate what action occurred.

Returns:
a source-specific type identifier to indicate what action occurred.


Member Data Documentation

std::string code::FileChangeNotifier::NotifierEvent::filename

The new or modified file being notified about.


Generated on Fri May 4 13:40:13 2012 for WDSS-IIw2 by  doxygen 1.4.7