EventFileHandler< LCE > Class Template Reference

Template class for the LCEs StatHandler classes. More...

#include <filehandler.h>

Inheritance diagram for EventFileHandler< LCE >:

Inheritance graph
[legend]
Collaboration diagram for EventFileHandler< LCE >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EventFileHandler (LCE *event, const char *ext)
virtual ~EventFileHandler ()
virtual void FHwrite ()=0
 Default behavior of the class, called by Handler::update().
virtual void FHread (string &filename)=0
 Default input function.
virtual void set (bool rpl_per, bool gen_per, int rpl_occ, int gen_occ, int rank, string &path, LCE *event)

Protected Attributes

LCE * _FHLinkedEvent


Detailed Description

template<class LCE>
class EventFileHandler< LCE >

Template class for the LCEs StatHandler classes.

Constructor links to a give LCE. The LCE can be accessed through the _SHLinkedEvent member to get the stats.

Definition at line 225 of file filehandler.h.


Constructor & Destructor Documentation

template<class LCE >
EventFileHandler< LCE >::EventFileHandler ( LCE *  event,
const char *  ext 
) [inline]

Definition at line 239 of file filehandler.h.

00239                                                                                         :
00240 FileHandler(ext), _FHLinkedEvent(event)
00241 { }

template<class LCE >
virtual EventFileHandler< LCE >::~EventFileHandler (  )  [inline, virtual]

Definition at line 230 of file filehandler.h.

00230 {}


Member Function Documentation

template<class LCE >
virtual void EventFileHandler< LCE >::FHread ( string &  filename  )  [pure virtual]

Default input function.

Loads a pop from the genotypes read from the input file.

Implements FileHandler.

template<class LCE >
virtual void EventFileHandler< LCE >::FHwrite (  )  [pure virtual]

Default behavior of the class, called by Handler::update().

Implements FileHandler.

template<class LCE >
void EventFileHandler< LCE >::set ( bool  rpl_per,
bool  gen_per,
int  rpl_occ,
int  gen_occ,
int  rank,
string &  path,
LCE *  event 
) [inline, virtual]

Definition at line 243 of file filehandler.h.

00244 {
00245   FileHandler::set(rpl_per,gen_per,rpl_occ,gen_occ,rank,path);
00246   _FHLinkedEvent = event;
00247 }


Member Data Documentation

template<class LCE >
LCE* EventFileHandler< LCE >::_FHLinkedEvent [protected]

Definition at line 227 of file filehandler.h.

Referenced by EventFileHandler< LCE >::set().


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

Generated for Nemo v2.1.2 by  doxygen 1.5.8 -- Nemo is hosted by  SourceForge.net Logo