Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

SctApi::ScanDefImpl Class Reference

ScanDefImpl class. More...

#include <SctApiImpl.h>

Inheritance diagram for SctApi::ScanDefImpl:

Inheritance graph
[legend]
Collaboration diagram for SctApi::ScanDefImpl:

Collaboration graph
[legend]

Public Member Functions

 ScanDefImpl ()
 Constructor.

 ScanDefImpl (const ScanDefImpl &)
virtual ~ScanDefImpl ()
 Call parent's destructor.

void configure (UINT16 type, FLOAT32 start, FLOAT32 stop, FLOAT32 step)
 Set up scanPoints.

void configure2 (UINT16 type, FLOAT32 start, FLOAT32 stop, FLOAT32 step)
 Set up scanPoints for set 2.

const boost::shared_ptr<
::SctApi::Trigger
getTrigger1 () const
const boost::shared_ptr<
::SctApi::Trigger
getTrigger2 () const
boost::shared_ptr< ::SctApi::TriggergetTrigger1 ()
boost::shared_ptr< ::SctApi::TriggergetTrigger2 ()
void setTrigger1 (boost::shared_ptr< ::SctApi::Trigger > trigger)
void setTrigger2 (boost::shared_ptr< ::SctApi::Trigger > trigger)
void setScanVariable1 (unsigned short var)
void setScanVariable2 (unsigned short var)
unsigned short getScanVariable1 () const
unsigned short getScanVariable2 () const
void setNTrigs (unsigned long nTrigs)
unsigned long getNTrigs () const
const TrigPoints getVariableTrigs () const
void setVariableTrigs (const TrigPoints &scans)
void setVariableTrigRange (unsigned short start, unsigned short end, unsigned long value)
const ScanPoints getScanPoints1 () const
const ScanPoints getScanPoints2 () const
void setScanPoints1 (const ScanPoints &scans)
void setScanPoints2 (const ScanPoints &scans)
int getOption (enum ScanOptions) const
void setOption (enum ScanOptions, int option)
void print () const
 Print the scan.

void setScanNumber (unsigned int scan)
unsigned int getScanNumber () const
void setRunNumber (unsigned int scan)
unsigned int getRunNumber () const
std::list< std::string > getModuleList (unsigned int group) const
void setModuleList (unsigned int group, std::list< std::string > newList)
unsigned int getNGroups () const
void setNGroups (unsigned int val)
virtual boost::posix_time::ptime getStartTime () const
virtual void setStartTime (boost::posix_time::ptime t)
virtual boost::posix_time::ptime getEndTime () const
virtual void setEndTime (boost::posix_time::ptime t)

Static Public Member Functions

boost::shared_ptr< ScanDefImplclone (const boost::shared_ptr< ::SctApi::Scan > other)

Data Fields

ScanPoints scanPoints
 Scan points to use for first module set.

ScanPoints scanPoints2
 Scan points for second module set (not used if empty).

TrigPoints trigPoints
 Trigger count for each scan point.

bool allTrigsSame
 Are all the trigger counts the same?>.


Private Member Functions

ScanDefImploperator= (const ScanDefImpl &)

Private Attributes

int scanVariable
 Which variable to scan over.

int scanVariable2
 Which variable to scan second set over.

boost::shared_ptr< TriggertrigSequence
 Sequence of triggers to send to module set 1.

boost::shared_ptr< TriggertrigSequence2
 Sequence of triggers to send to module set 2.

int full
 Condensed / expanded.

int bits32
 16 / 32

int loopCalLine
 Loop over the calibration line during the scan.

int distSlave
 Which slave distribution to use, see SctApi docs.

int debug
 Debug mode (don't kill tasks and don't write data).

int tim
 Use TIM for triggers.

unsigned int scanNumber
unsigned int runNumber
std::vector< std::list< std::string > > groupLists
unsigned int m_maxGroup
boost::posix_time::ptime startTime
 The time the scan started.

boost::posix_time::ptime endTime
 The time the scan finished.


Detailed Description

ScanDefImpl class.

Implement ScanDef class

Definition at line 67 of file SctApiImpl.h.


Constructor & Destructor Documentation

SctApi::ScanDefImpl::ScanDefImpl  ) 
 

Constructor.

virtual SctApi::ScanDefImpl::~ScanDefImpl  )  [virtual]
 

Call parent's destructor.


Member Function Documentation

void SctApi::ScanDefImpl::configure UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints.

void SctApi::ScanDefImpl::configure2 UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints for set 2.

void SctApi::ScanDefImpl::print  )  const [virtual]
 

Print the scan.

Implements SctApi::Scan.


Field Documentation

bool SctApi::ScanDefImpl::allTrigsSame
 

Are all the trigger counts the same?>.

Definition at line 150 of file SctApiImpl.h.

int SctApi::ScanDefImpl::bits32 [private]
 

16 / 32

Definition at line 170 of file SctApiImpl.h.

int SctApi::ScanDefImpl::debug [private]
 

Debug mode (don't kill tasks and don't write data).

Definition at line 179 of file SctApiImpl.h.

int SctApi::ScanDefImpl::distSlave [private]
 

Which slave distribution to use, see SctApi docs.

Definition at line 176 of file SctApiImpl.h.

boost::posix_time::ptime SctApi::ScanDefImpl::endTime [private]
 

The time the scan finished.

Definition at line 191 of file SctApiImpl.h.

int SctApi::ScanDefImpl::full [private]
 

Condensed / expanded.

Definition at line 167 of file SctApiImpl.h.

int SctApi::ScanDefImpl::loopCalLine [private]
 

Loop over the calibration line during the scan.

Definition at line 173 of file SctApiImpl.h.

ScanPoints SctApi::ScanDefImpl::scanPoints
 

Scan points to use for first module set.

Definition at line 141 of file SctApiImpl.h.

ScanPoints SctApi::ScanDefImpl::scanPoints2
 

Scan points for second module set (not used if empty).

Definition at line 144 of file SctApiImpl.h.

int SctApi::ScanDefImpl::scanVariable [private]
 

Which variable to scan over.

Definition at line 155 of file SctApiImpl.h.

int SctApi::ScanDefImpl::scanVariable2 [private]
 

Which variable to scan second set over.

Definition at line 158 of file SctApiImpl.h.

boost::posix_time::ptime SctApi::ScanDefImpl::startTime [private]
 

The time the scan started.

Definition at line 190 of file SctApiImpl.h.

int SctApi::ScanDefImpl::tim [private]
 

Use TIM for triggers.

Definition at line 182 of file SctApiImpl.h.

TrigPoints SctApi::ScanDefImpl::trigPoints
 

Trigger count for each scan point.

Definition at line 147 of file SctApiImpl.h.

boost::shared_ptr<Trigger> SctApi::ScanDefImpl::trigSequence [private]
 

Sequence of triggers to send to module set 1.

Definition at line 161 of file SctApiImpl.h.

boost::shared_ptr<Trigger> SctApi::ScanDefImpl::trigSequence2 [private]
 

Sequence of triggers to send to module set 2.

Definition at line 164 of file SctApiImpl.h.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:52:00 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5