TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Public Attributes | List of all members
basda::quantumcomposers::BasdaDeviceFixture Struct Reference

This fixture contains convenient methods to manipulate pulse generator basda devices. More...

#include <BasdaDeviceFixture.h>

Inheritance diagram for basda::quantumcomposers::BasdaDeviceFixture:
Inheritance graph
Collaboration diagram for basda::quantumcomposers::BasdaDeviceFixture:
Collaboration graph

Public Types

typedef std::string string
 
typedef std::string string
 

Public Member Functions

 BasdaDeviceFixture ()
 
void createNewPropertyTree ()
 
void fillPropertyTreeForNumberOfChannels (const int numberOfChannels)
 
void createNewBasdaDevice ()
 
void openBasdaDevice ()
 
Nice::Completion exec ()
 
void givenThatHardwareAlwaysFails ()
 
void givenThatHardwareSucceeds ()
 
void givenThatPulseGeneratorReturnsAsChannelOutputMode (const OutputMode &m)
 
void givenThatPulseGeneratorReturnsAsClockPeriodInSeconds (double result)
 
void givenThatPulseGeneratorReturnsAsExternalTriggerStatus (bool result)
 
void givenThatPulseGeneratorReturnsAsInternalOutputMode (const OutputMode &mode)
 
void givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle (unsigned numberOfPulses)
 
void givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus (bool result)
 
void givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds (const OutputChannel &channel, double pulseWidth)
 
void givenThatPulseGeneratorReturnsAsPulsePolarity (const PulsePolarity &polarity)
 
void givenThatPulseGeneratorReturnsAsPulseDelayInSeconds (const OutputChannel &c, double resultInSeconds)
 
template<class T >
void writeProperty (const string &propertyName, T value)
 
template<class T >
void whenWritingProperty (const string &propertyName, T value)
 
template<class T >
void writeSetValueProperty (const string &propertyName, T setValue)
 
template<class T >
void whenWritingSetValue (const string &propertyName, T setValue)
 
unsigned times (unsigned numberOfInvocations)
 
template<class T >
void verifyProperty (T expected, const string &propertyName)
 
template<class T >
void verifyCurrentValueProperty (T expected, const string &propertyName)
 
template<class T >
void verifyAttribute (T expected, const string &propertyName, const string &attributeName)
 
void verifyThatLatestHardwareConnectionEndpointIs (const string &hostname, unsigned portNr)
 
void verifyThatNumberOfNewHardwareConnectionsIs (unsigned expected)
 
void verifyThatPulseGeneratorHasDisabledExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasDisabledOutputChannel (OutputChannel channel, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasEnabledExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasEnabledOutputChannel (const OutputChannel &channel, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetClockPeriod (unsigned expected)
 
void verifyThatPulseGeneratorHasSetClockPeriodTo (double expected)
 
void verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo (const OutputChannel &c, unsigned invocationCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle (const OutputChannel &c, unsigned invocationCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo (const OutputChannel &c, unsigned numberOfPulses)
 
void verifyThatPulseGeneratorHasSetPulseDelay (unsigned expectedCount, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasSetPulseDelayTo (double expectedDelayInSeconds, const OutputChannel &c)
 
void verifyThatPulseGeneratorHasSetPulseWidth (unsigned expectedCount, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasSetPulseWidthTo (double expectedPulseWidth, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasStartedOutput (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetStoppedOutput (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasUsedContinuousModeFor (const OutputChannel &c, unsigned expectedInvocationCount)
 
void verifyThatPulseGeneratorHasUsedDutyCycleModeFor (const OutputChannel &c, unsigned expectedNumberOfInvocations)
 
void verifyThatPulseGeneratorHasUsedInvertedPolarityFor (const OutputChannel &c, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor (const OutputChannel &c, unsigned expectedCount)
 
 BasdaDeviceFixture ()
 
void createNewPropertyTree ()
 
void fillPropertyTreeForNumberOfChannels (const int numberOfChannels)
 
void createNewBasdaDevice ()
 
void openBasdaDevice ()
 
Nice::Completion exec ()
 
void givenThatHardwareAlwaysFails ()
 
void givenThatHardwareSucceeds ()
 
void givenThatPulseGeneratorReturnsAsChannelOutputMode (const OutputMode &m)
 
void givenThatPulseGeneratorReturnsAsClockPeriodInSeconds (double result)
 
void givenThatPulseGeneratorReturnsAsExternalTriggerStatus (bool result)
 
void givenThatPulseGeneratorReturnsAsInternalOutputMode (const OutputMode &mode)
 
void givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle (unsigned numberOfPulses)
 
void givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus (bool result)
 
void givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds (const OutputChannel &channel, double pulseWidth)
 
void givenThatPulseGeneratorReturnsAsPulsePolarity (const PulsePolarity &polarity)
 
void givenThatPulseGeneratorReturnsAsPulseDelayInSeconds (const OutputChannel &c, double resultInSeconds)
 
template<class T >
void writeProperty (const string &propertyName, T value)
 
template<class T >
void whenWritingProperty (const string &propertyName, T value)
 
template<class T >
void writeSetValueProperty (const string &propertyName, T setValue)
 
template<class T >
void whenWritingSetValue (const string &propertyName, T setValue)
 
unsigned times (unsigned numberOfInvocations)
 
template<class T >
void verifyProperty (T expected, const string &propertyName)
 
template<class T >
void verifyCurrentValueProperty (T expected, const string &propertyName)
 
template<class T >
void verifyAttribute (T expected, const string &propertyName, const string &attributeName)
 
void verifyThatLatestHardwareConnectionEndpointIs (const string &hostname, unsigned portNr)
 
void verifyThatNumberOfNewHardwareConnectionsIs (unsigned expected)
 
void verifyThatPulseGeneratorHasDisabledExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasDisabledOutputChannel (OutputChannel channel, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasEnabledExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasEnabledOutputChannel (const OutputChannel &channel, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetClockPeriod (unsigned expected)
 
void verifyThatPulseGeneratorHasSetClockPeriodTo (double expected)
 
void verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo (const OutputChannel &c, unsigned invocationCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle (const OutputChannel &c, unsigned invocationCount)
 
void verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo (const OutputChannel &c, unsigned numberOfPulses)
 
void verifyThatPulseGeneratorHasSetPulseDelay (unsigned expectedCount, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasSetPulseDelayTo (double expectedDelayInSeconds, const OutputChannel &c)
 
void verifyThatPulseGeneratorHasSetPulseWidth (unsigned expectedCount, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasSetPulseWidthTo (double expectedPulseWidth, const OutputChannel &channel)
 
void verifyThatPulseGeneratorHasStartedOutput (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasSetStoppedOutput (unsigned expectedCount)
 
void verifyThatPulseGeneratorHasUsedContinuousModeFor (const OutputChannel &c, unsigned expectedInvocationCount)
 
void verifyThatPulseGeneratorHasUsedDutyCycleModeFor (const OutputChannel &c, unsigned expectedNumberOfInvocations)
 
void verifyThatPulseGeneratorHasUsedInvertedPolarityFor (const OutputChannel &c, unsigned expectedCount)
 
void verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor (const OutputChannel &c, unsigned expectedCount)
 

Public Attributes

TestableBasdaDevicePtr device
 
Nice::JointPtr config
 
PulseGeneratorMockPtr pulseGenerator
 
PulseGeneratorFactoryMockPtr pulseGeneratorFactory
 

Detailed Description

This fixture contains convenient methods to manipulate pulse generator basda devices.

Member Typedef Documentation

◆ string [1/2]

◆ string [2/2]

Constructor & Destructor Documentation

◆ BasdaDeviceFixture() [1/2]

basda::quantumcomposers::BasdaDeviceFixture::BasdaDeviceFixture ( )
inline

◆ BasdaDeviceFixture() [2/2]

basda::quantumcomposers::BasdaDeviceFixture::BasdaDeviceFixture ( )
inline

Member Function Documentation

◆ createNewBasdaDevice() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::createNewBasdaDevice ( )
inline

◆ createNewBasdaDevice() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::createNewBasdaDevice ( )
inline

◆ createNewPropertyTree() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::createNewPropertyTree ( )
inline

◆ createNewPropertyTree() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::createNewPropertyTree ( )
inline

◆ exec() [1/2]

Nice::Completion basda::quantumcomposers::BasdaDeviceFixture::exec ( )
inline

◆ exec() [2/2]

Nice::Completion basda::quantumcomposers::BasdaDeviceFixture::exec ( )
inline

◆ fillPropertyTreeForNumberOfChannels() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::fillPropertyTreeForNumberOfChannels ( const int  numberOfChannels)
inline

◆ fillPropertyTreeForNumberOfChannels() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::fillPropertyTreeForNumberOfChannels ( const int  numberOfChannels)
inline

◆ givenThatHardwareAlwaysFails() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatHardwareAlwaysFails ( )
inline

◆ givenThatHardwareAlwaysFails() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatHardwareAlwaysFails ( )
inline

◆ givenThatHardwareSucceeds() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatHardwareSucceeds ( )
inline

◆ givenThatHardwareSucceeds() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatHardwareSucceeds ( )
inline

◆ givenThatPulseGeneratorReturnsAsChannelOutputMode() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsChannelOutputMode ( const OutputMode m)
inline

◆ givenThatPulseGeneratorReturnsAsChannelOutputMode() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsChannelOutputMode ( const OutputMode m)
inline

◆ givenThatPulseGeneratorReturnsAsClockPeriodInSeconds() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsClockPeriodInSeconds ( double  result)
inline

◆ givenThatPulseGeneratorReturnsAsClockPeriodInSeconds() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsClockPeriodInSeconds ( double  result)
inline

◆ givenThatPulseGeneratorReturnsAsExternalTriggerStatus() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsExternalTriggerStatus ( bool  result)
inline

◆ givenThatPulseGeneratorReturnsAsExternalTriggerStatus() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsExternalTriggerStatus ( bool  result)
inline

◆ givenThatPulseGeneratorReturnsAsInternalOutputMode() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsInternalOutputMode ( const OutputMode mode)
inline

◆ givenThatPulseGeneratorReturnsAsInternalOutputMode() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsInternalOutputMode ( const OutputMode mode)
inline

◆ givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus ( bool  result)
inline

◆ givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus ( bool  result)
inline

◆ givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds ( const OutputChannel channel,
double  pulseWidth 
)
inline

◆ givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds ( const OutputChannel channel,
double  pulseWidth 
)
inline

◆ givenThatPulseGeneratorReturnsAsPulseDelayInSeconds() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsPulseDelayInSeconds ( const OutputChannel c,
double  resultInSeconds 
)
inline

◆ givenThatPulseGeneratorReturnsAsPulseDelayInSeconds() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsPulseDelayInSeconds ( const OutputChannel c,
double  resultInSeconds 
)
inline

◆ givenThatPulseGeneratorReturnsAsPulsePolarity() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsPulsePolarity ( const PulsePolarity polarity)
inline

◆ givenThatPulseGeneratorReturnsAsPulsePolarity() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsAsPulsePolarity ( const PulsePolarity polarity)
inline

◆ givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle ( unsigned  numberOfPulses)
inline

◆ givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle ( unsigned  numberOfPulses)
inline

◆ openBasdaDevice() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::openBasdaDevice ( )
inline

◆ openBasdaDevice() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::openBasdaDevice ( )
inline

◆ times() [1/2]

unsigned basda::quantumcomposers::BasdaDeviceFixture::times ( unsigned  numberOfInvocations)
inline

◆ times() [2/2]

unsigned basda::quantumcomposers::BasdaDeviceFixture::times ( unsigned  numberOfInvocations)
inline

◆ verifyAttribute() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyAttribute ( expected,
const string propertyName,
const string attributeName 
)
inline

◆ verifyAttribute() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyAttribute ( expected,
const string propertyName,
const string attributeName 
)
inline

◆ verifyCurrentValueProperty() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyCurrentValueProperty ( expected,
const string propertyName 
)
inline

◆ verifyCurrentValueProperty() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyCurrentValueProperty ( expected,
const string propertyName 
)
inline

◆ verifyProperty() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyProperty ( expected,
const string propertyName 
)
inline

◆ verifyProperty() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::verifyProperty ( expected,
const string propertyName 
)
inline

◆ verifyThatLatestHardwareConnectionEndpointIs() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatLatestHardwareConnectionEndpointIs ( const string hostname,
unsigned  portNr 
)
inline

◆ verifyThatLatestHardwareConnectionEndpointIs() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatLatestHardwareConnectionEndpointIs ( const string hostname,
unsigned  portNr 
)
inline

◆ verifyThatNumberOfNewHardwareConnectionsIs() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatNumberOfNewHardwareConnectionsIs ( unsigned  expected)
inline

◆ verifyThatNumberOfNewHardwareConnectionsIs() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatNumberOfNewHardwareConnectionsIs ( unsigned  expected)
inline

◆ verifyThatPulseGeneratorHasDisabledExternalTrigger() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasDisabledExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasDisabledExternalTrigger() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasDisabledExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasDisabledOutputChannel() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasDisabledOutputChannel ( OutputChannel  channel,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasDisabledOutputChannel() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasDisabledOutputChannel ( OutputChannel  channel,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasEnabledExternalTrigger() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasEnabledExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasEnabledExternalTrigger() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasEnabledExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasEnabledOutputChannel() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasEnabledOutputChannel ( const OutputChannel channel,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasEnabledOutputChannel() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasEnabledOutputChannel ( const OutputChannel channel,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetClockPeriod() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetClockPeriod ( unsigned  expected)
inline

◆ verifyThatPulseGeneratorHasSetClockPeriod() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetClockPeriod ( unsigned  expected)
inline

◆ verifyThatPulseGeneratorHasSetClockPeriodTo() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetClockPeriodTo ( double  expected)
inline

◆ verifyThatPulseGeneratorHasSetClockPeriodTo() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetClockPeriodTo ( double  expected)
inline

◆ verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle ( const OutputChannel c,
unsigned  invocationCount 
)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle ( const OutputChannel c,
unsigned  invocationCount 
)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo ( const OutputChannel c,
unsigned  invocationCount 
)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo ( const OutputChannel c,
unsigned  invocationCount 
)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo ( const OutputChannel c,
unsigned  numberOfPulses 
)
inline

◆ verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo ( const OutputChannel c,
unsigned  numberOfPulses 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseDelay() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseDelay ( unsigned  expectedCount,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseDelay() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseDelay ( unsigned  expectedCount,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseDelayTo() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseDelayTo ( double  expectedDelayInSeconds,
const OutputChannel c 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseDelayTo() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseDelayTo ( double  expectedDelayInSeconds,
const OutputChannel c 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseWidth() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseWidth ( unsigned  expectedCount,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseWidth() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseWidth ( unsigned  expectedCount,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseWidthTo() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseWidthTo ( double  expectedPulseWidth,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetPulseWidthTo() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetPulseWidthTo ( double  expectedPulseWidth,
const OutputChannel channel 
)
inline

◆ verifyThatPulseGeneratorHasSetStoppedOutput() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetStoppedOutput ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasSetStoppedOutput() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasSetStoppedOutput ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasStartedOutput() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasStartedOutput ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasStartedOutput() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasStartedOutput ( unsigned  expectedCount)
inline

◆ verifyThatPulseGeneratorHasUsedContinuousModeFor() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedContinuousModeFor ( const OutputChannel c,
unsigned  expectedInvocationCount 
)
inline

◆ verifyThatPulseGeneratorHasUsedContinuousModeFor() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedContinuousModeFor ( const OutputChannel c,
unsigned  expectedInvocationCount 
)
inline

◆ verifyThatPulseGeneratorHasUsedDutyCycleModeFor() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedDutyCycleModeFor ( const OutputChannel c,
unsigned  expectedNumberOfInvocations 
)
inline

◆ verifyThatPulseGeneratorHasUsedDutyCycleModeFor() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedDutyCycleModeFor ( const OutputChannel c,
unsigned  expectedNumberOfInvocations 
)
inline

◆ verifyThatPulseGeneratorHasUsedInvertedPolarityFor() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedInvertedPolarityFor ( const OutputChannel c,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasUsedInvertedPolarityFor() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedInvertedPolarityFor ( const OutputChannel c,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor() [1/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor ( const OutputChannel c,
unsigned  expectedCount 
)
inline

◆ verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor() [2/2]

void basda::quantumcomposers::BasdaDeviceFixture::verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor ( const OutputChannel c,
unsigned  expectedCount 
)
inline

◆ whenWritingProperty() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::whenWritingProperty ( const string propertyName,
value 
)
inline

◆ whenWritingProperty() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::whenWritingProperty ( const string propertyName,
value 
)
inline

◆ whenWritingSetValue() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::whenWritingSetValue ( const string propertyName,
setValue 
)
inline

◆ whenWritingSetValue() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::whenWritingSetValue ( const string propertyName,
setValue 
)
inline

◆ writeProperty() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::writeProperty ( const string propertyName,
value 
)
inline

◆ writeProperty() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::writeProperty ( const string propertyName,
value 
)
inline

◆ writeSetValueProperty() [1/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::writeSetValueProperty ( const string propertyName,
setValue 
)
inline

◆ writeSetValueProperty() [2/2]

template<class T >
void basda::quantumcomposers::BasdaDeviceFixture::writeSetValueProperty ( const string propertyName,
setValue 
)
inline

Member Data Documentation

◆ config

Nice::JointPtr basda::quantumcomposers::BasdaDeviceFixture::config

◆ device

TestableBasdaDevicePtr basda::quantumcomposers::BasdaDeviceFixture::device

◆ pulseGenerator

PulseGeneratorMockPtr basda::quantumcomposers::BasdaDeviceFixture::pulseGenerator

◆ pulseGeneratorFactory

PulseGeneratorFactoryMockPtr basda::quantumcomposers::BasdaDeviceFixture::pulseGeneratorFactory

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