SeqSnapshot Class Reference
[Classes for sequence design (odinseq library)]

Magnetization snapshot. More...

#include <seqtrigg.h>

Inheritance diagram for SeqSnapshot:

Inheritance graph
[legend]
Collaboration diagram for SeqSnapshot:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SeqSnapshot (const STD_string &object_label, const STD_string &snapshot_fname)
 SeqSnapshot (const STD_string &object_label="unnamedSeqSnapshot")
 SeqSnapshot (const SeqSnapshot &st)
SeqSnapshotoperator= (const SeqSnapshot &ss)
double get_duration () const
unsigned int event (eventContext &context) const

Detailed Description

Magnetization snapshot.

This class is used to trigger a snapshot of the current magnetization during simulation of the sequence.

Definition at line 121 of file seqtrigg.h.


Constructor & Destructor Documentation

SeqSnapshot::SeqSnapshot ( const STD_string &  object_label,
const STD_string &  snapshot_fname 
)

Constructs a trigger labeled 'object_label' with the following properties:

SeqSnapshot::SeqSnapshot ( const STD_string &  object_label = "unnamedSeqSnapshot"  ) 

Default Constructor

SeqSnapshot::SeqSnapshot ( const SeqSnapshot st  ) 

Constructs a snapshot trigger which is a copy of 'ss'


Member Function Documentation

SeqSnapshot& SeqSnapshot::operator= ( const SeqSnapshot ss  ) 

This assignment operator will make this object become an exact copy of 'ss'.

double SeqSnapshot::get_duration (  )  const [inline, virtual]

Returns the duration of the sequence object.

Implements SeqTreeObj.

Definition at line 147 of file seqtrigg.h.

unsigned int SeqSnapshot::event ( eventContext context  )  const [virtual]

Queries the sequence tree for events, returns the number of events executed

Reimplemented from SeqTreeObj.


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 12:32:46 2008 by  doxygen 1.5.1