link to homepage

Institute for Neuroscience and Medicine

Navigation and service


API documentation

TPOI Class Reference

Time points of interest of all modules. More...

#include <TPOI.h>

List of all members.

Classes

struct  set
 The set of data of each time point of interest. More...

Public Member Functions

 TPOI ()
void Reset ()
 ~TPOI ()
void operator+= (const TPOI &tpoi)
TPOI operator+ (const TPOI &tpoi)
void operator+ (const set &data)
int GetSize () const
double GetTime (int pos)
double GetPhase (int pos)
void Sort ()
void Purge ()

Detailed Description

Time points of interest of all modules.

Definition at line 38 of file TPOI.h.


Constructor & Destructor Documentation

TPOI::TPOI (  )  [inline]

Constructor

The Cunstructor will Initialize a new data acquisition repository with initial size of 1000.

Definition at line 78 of file TPOI.h.

TPOI::~TPOI (  )  [inline]

Destructor

Free memory of the data;

Definition at line 100 of file TPOI.h.


Member Function Documentation

double TPOI::GetPhase ( int  pos  )  [inline]

Get the phase of a pos-th point

Parameters:
pos The particular position in the list
Returns:
The pos-th phase

Definition at line 153 of file TPOI.h.

Referenced by AtomicSequence::CollectTPOIs(), Sequence::GetNumOfADCs(), Model::RunSequenceTree(), and Sequence::WriteSeqFile().

Here is the caller graph for this function:

int TPOI::GetSize (  )  const

Get the size of this repository

Returns:
Size of this repository

Definition at line 53 of file TPOI.cpp.

Referenced by Module::GetNumOfTPOIs(), operator+=(), ExternalGradPulse::Prepare(), Purge(), and Sort().

Here is the caller graph for this function:

double TPOI::GetTime ( int  pos  )  [inline]

Get the time of a pos-th point

Parameters:
pos The particular position in the list
Returns:
The pos-th time

Definition at line 145 of file TPOI.h.

Referenced by AtomicSequence::CollectTPOIs(), Model::RunSequenceTree(), and Sequence::WriteSeqFile().

Here is the caller graph for this function:

TPOI TPOI::operator+ ( const TPOI tpoi  ) 

Add two sets of time points.

Merge two sets of time points. Elimintaing overlapping times and sorting on the time axis.

Parameters:
tpoi Time points of interest to be added
Returns:
Sum

Definition at line 37 of file TPOI.cpp.

void TPOI::operator+ ( const set data  ) 

Append new single time point.

Add a new time point of interest to the set.

Parameters:
data New set

Definition at line 44 of file TPOI.cpp.

References TPOI::set::dphase, and TPOI::set::dtime.

void TPOI::operator+= ( const TPOI tpoi  ) 

Add two sets of time points.

Merge two sets of time points. Elimintaing overlapping times and sorting on the time axis.

Parameters:
tpoi Time points of interest to be added

Definition at line 28 of file TPOI.cpp.

References GetSize().

Here is the call graph for this function:

void TPOI::Purge (  ) 

Purge my own data

Definition at line 80 of file TPOI.cpp.

References GetSize().

Referenced by AtomicSequence::CollectTPOIs().

Here is the call graph for this function:

Here is the caller graph for this function:

void TPOI::Reset (  )  [inline]

Reset my data repository

Definition at line 89 of file TPOI.h.

Referenced by AtomicSequence::CollectTPOIs(), TrapGradPulse::SetTPOIs(), Pulse::SetTPOIs(), and EmptyPulse::SetTPOIs().

Here is the caller graph for this function:

void TPOI::Sort (  ) 

Sort my own data

Definition at line 59 of file TPOI.cpp.

References GetSize().

Referenced by AtomicSequence::CollectTPOIs().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Servicemeu