TwiceAsNice  2019-02-18
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Basda::osci::DeviceSimulatorAgilent6k Class Reference

#include <DeviceSimulatorAgilentOsci.h>

Inheritance diagram for Basda::osci::DeviceSimulatorAgilent6k:
Inheritance graph
Collaboration diagram for Basda::osci::DeviceSimulatorAgilent6k:
Collaboration graph

Public Member Functions

 DeviceSimulatorAgilent6k (const Nice::JointPtr &_config)
 constructor More...
 
virtual ~DeviceSimulatorAgilent6k ()
 virtual destructor More...
 
virtual void open (void)
 function to open the connection to the device. More...
 
virtual void close (void)
 function to close the connection to the device. More...
 
virtual void reset (Basda::DeviceAsync &=Basda::Device::s_async)
 function to reset the device More...
 
virtual void init (Basda::DeviceAsync &=Basda::Device::s_async)
 function to init the device More...
 
virtual void deinit (Basda::DeviceAsync &=Basda::Device::s_async)
 function to deinit the device More...
 
virtual void activate (Basda::DeviceAsync &=s_async)
 activate the device More...
 
virtual void deactivate (Basda::DeviceAsync &=s_async)
 deactivate the device More...
 
virtual void version (void)
 function to get the version More...
 
virtual void updateStatus ()
 
void setTimeRange (const double &timeRange)
 
void setTimeReference (const std::string &timeReference)
 
void setTimeDelay (const double &timeDelay)
 
void setTriggerLevel (const double &triggerLevel)
 
void setChannelRange (int channel, const double &voltRange)
 
void setChannelOffset (int channel, const double &voltOffset)
 
void setTriggerSource (const std::string &triggerSource)
 
void setTriggerMode (const std::string &triggerMode)
 
void setTriggerEdgeSlope (const std::string &slope)
 
virtual bool isReachable ()
 
virtual void setAsReachable (bool state)
 
virtual Nice::JointPtrVectordescription (void)
 function to read the description More...
 
 DeviceSimulatorAgilent6k (const Nice::JointPtr &_config)
 constructor More...
 
virtual ~DeviceSimulatorAgilent6k ()
 virtual destructor More...
 
virtual void open (void)
 function to open the connection to the device. More...
 
virtual void close (void)
 function to close the connection to the device. More...
 
virtual void reset (Basda::DeviceAsync &=Basda::Device::s_async)
 function to reset the device More...
 
virtual void init (Basda::DeviceAsync &=Basda::Device::s_async)
 function to init the device More...
 
virtual void deinit (Basda::DeviceAsync &=Basda::Device::s_async)
 function to deinit the device More...
 
virtual void activate (Basda::DeviceAsync &=s_async)
 activate the device More...
 
virtual void deactivate (Basda::DeviceAsync &=s_async)
 deactivate the device More...
 
virtual void version (void)
 function to get the version More...
 
virtual void updateStatus ()
 
void setTimeRange (const double &timeRange)
 
void setTimeReference (const std::string &timeReference)
 
void setTimeDelay (const double &timeDelay)
 
void setTriggerLevel (const double &triggerLevel)
 
void setChannelRange (int channel, const double &voltRange)
 
void setChannelOffset (int channel, const double &voltOffset)
 
void setTriggerSource (const std::string &triggerSource)
 
void setTriggerMode (const std::string &triggerMode)
 
void setTriggerEdgeSlope (const std::string &slope)
 
virtual bool isReachable ()
 
virtual void setAsReachable (bool state)
 
virtual Nice::JointPtrVectordescription (void)
 function to read the description More...
 
- Public Member Functions inherited from Basda::osci::OsciDevice
 OsciDevice (const Nice::JointPtr &_config)
 
virtual ~OsciDevice ()
 
 OsciDevice (const Nice::JointPtr &_config)
 
virtual ~OsciDevice ()
 
 OsciDevice (const Nice::JointPtr &_config)
 
virtual ~OsciDevice ()
 
- Public Member Functions inherited from Basda::Device
 Device (const Nice::JointPtr &_config)
 constructor. This is an elementary (lazy) action which stores the name and gets configuration. More...
 
virtual ~Device ()
 destructor Does nothing More...
 
virtual void setConfig (const Nice::JointPtr &_config)
 init with config tree ptr More...
 
Nice::JointPtrconfig ()
 retrieve the property tree More...
 
std::string & name ()
 retrieve the name set at ctor time. More...
 
 Device (const Nice::JointPtr &_config)
 constructor. This is an elementary (lazy) action which stores the name and gets configuration. More...
 
virtual ~Device ()
 destructor Does nothing More...
 
virtual void setConfig (const Nice::JointPtr &_config)
 init with config tree ptr More...
 
Nice::JointPtrconfig ()
 retrieve the property tree More...
 
std::string & name ()
 retrieve the name set at ctor time. More...
 

Protected Member Functions

void createPropertyTree ()
 vector containing the children More...
 
void setPropertiesAsUnknown ()
 
void createPropertyTree ()
 vector containing the children More...
 
void setPropertiesAsUnknown ()
 

Protected Attributes

Nice::JointPtrVector m_partNodes
 
int m_reconnection
 
int m_loopCounter
 
bool m_isReachable
 
std::vector< int > m_channels
 
std::vector< int > m_waveformPoints
 
std::vector< std::string > m_waveformFormat
 
std::vector< Nice::PropertyPtrm_channelDataPropertyPtr
 
Nice::JointPtr m_data
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Additional Inherited Members

- Static Public Attributes inherited from Basda::Device
static DeviceAsyncImpl s_async
 

Constructor & Destructor Documentation

◆ DeviceSimulatorAgilent6k() [1/2]

DeviceSimulatorAgilent6k::DeviceSimulatorAgilent6k ( const Nice::JointPtr _config)

constructor

Parameters
_configconfiguration tree

◆ ~DeviceSimulatorAgilent6k() [1/2]

virtual Basda::osci::DeviceSimulatorAgilent6k::~DeviceSimulatorAgilent6k ( )
inlinevirtual

virtual destructor

◆ DeviceSimulatorAgilent6k() [2/2]

Basda::osci::DeviceSimulatorAgilent6k::DeviceSimulatorAgilent6k ( const Nice::JointPtr _config)

constructor

Parameters
_configconfiguration tree

◆ ~DeviceSimulatorAgilent6k() [2/2]

virtual Basda::osci::DeviceSimulatorAgilent6k::~DeviceSimulatorAgilent6k ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ activate() [1/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::activate ( Basda::DeviceAsync = s_async)
inlinevirtual

activate the device

Implements Basda::Device.

◆ activate() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::activate ( Basda::DeviceAsync = s_async)
inlinevirtual

activate the device

Implements Basda::Device.

◆ close() [1/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ close() [2/2]

void DeviceSimulatorAgilent6k::close ( void  )
virtual

function to close the connection to the device.

Implements Basda::Device.

◆ createPropertyTree() [1/2]

void DeviceSimulatorAgilent6k::createPropertyTree ( )
protected

vector containing the children

◆ createPropertyTree() [2/2]

void Basda::osci::DeviceSimulatorAgilent6k::createPropertyTree ( )
protected

vector containing the children

◆ deactivate() [1/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::deactivate ( Basda::DeviceAsync = s_async)
inlinevirtual

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::deactivate ( Basda::DeviceAsync = s_async)
inlinevirtual

deactivate the device

Implements Basda::Device.

◆ deinit() [1/2]

void DeviceSimulatorAgilent6k::deinit ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

function to deinit the device

Implements Basda::Device.

◆ deinit() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::deinit ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

function to deinit the device

Implements Basda::Device.

◆ description() [1/2]

virtual Nice::JointPtrVector& Basda::osci::DeviceSimulatorAgilent6k::description ( void  )
inlinevirtual

function to read the description

Returns
vector containing all informations

Implements Basda::osci::OsciDevice.

◆ description() [2/2]

virtual Nice::JointPtrVector& Basda::osci::DeviceSimulatorAgilent6k::description ( void  )
inlinevirtual

function to read the description

Returns
vector containing all informations

Implements Basda::osci::OsciDevice.

◆ init() [1/2]

void DeviceSimulatorAgilent6k::init ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

function to init the device

Implements Basda::Device.

◆ init() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::init ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

function to init the device

Implements Basda::Device.

◆ isReachable() [1/2]

bool DeviceSimulatorAgilent6k::isReachable ( )
virtual

◆ isReachable() [2/2]

virtual bool Basda::osci::DeviceSimulatorAgilent6k::isReachable ( )
virtual

◆ open() [1/2]

void DeviceSimulatorAgilent6k::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ open() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::open ( void  )
virtual

function to open the connection to the device.

Implements Basda::Device.

◆ reset() [1/2]

void DeviceSimulatorAgilent6k::reset ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

function to reset the device

Implements Basda::Device.

◆ reset() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::reset ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

function to reset the device

Implements Basda::Device.

◆ setAsReachable() [1/2]

void DeviceSimulatorAgilent6k::setAsReachable ( bool  state)
virtual

◆ setAsReachable() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::setAsReachable ( bool  state)
virtual

◆ setChannelOffset() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setChannelOffset ( int  channel,
const double &  voltOffset 
)

◆ setChannelOffset() [2/2]

void DeviceSimulatorAgilent6k::setChannelOffset ( int  channel,
const double &  voltOffset 
)

◆ setChannelRange() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setChannelRange ( int  channel,
const double &  voltRange 
)

◆ setChannelRange() [2/2]

void DeviceSimulatorAgilent6k::setChannelRange ( int  channel,
const double &  voltRange 
)

◆ setPropertiesAsUnknown() [1/2]

void DeviceSimulatorAgilent6k::setPropertiesAsUnknown ( )
protected

◆ setPropertiesAsUnknown() [2/2]

void Basda::osci::DeviceSimulatorAgilent6k::setPropertiesAsUnknown ( )
protected

◆ setTimeDelay() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTimeDelay ( const double &  timeDelay)

◆ setTimeDelay() [2/2]

void DeviceSimulatorAgilent6k::setTimeDelay ( const double &  timeDelay)

◆ setTimeRange() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTimeRange ( const double &  timeRange)

◆ setTimeRange() [2/2]

void DeviceSimulatorAgilent6k::setTimeRange ( const double &  timeRange)

◆ setTimeReference() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTimeReference ( const std::string &  timeReference)

◆ setTimeReference() [2/2]

void DeviceSimulatorAgilent6k::setTimeReference ( const std::string &  timeReference)

◆ setTriggerEdgeSlope() [1/2]

void DeviceSimulatorAgilent6k::setTriggerEdgeSlope ( const std::string &  slope)

◆ setTriggerEdgeSlope() [2/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTriggerEdgeSlope ( const std::string &  slope)

◆ setTriggerLevel() [1/2]

void DeviceSimulatorAgilent6k::setTriggerLevel ( const double &  triggerLevel)

◆ setTriggerLevel() [2/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTriggerLevel ( const double &  triggerLevel)

◆ setTriggerMode() [1/2]

void DeviceSimulatorAgilent6k::setTriggerMode ( const std::string &  triggerMode)

◆ setTriggerMode() [2/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTriggerMode ( const std::string &  triggerMode)

◆ setTriggerSource() [1/2]

void Basda::osci::DeviceSimulatorAgilent6k::setTriggerSource ( const std::string &  triggerSource)

◆ setTriggerSource() [2/2]

void DeviceSimulatorAgilent6k::setTriggerSource ( const std::string &  triggerSource)

◆ updateStatus() [1/2]

void DeviceSimulatorAgilent6k::updateStatus ( )
virtual

◆ updateStatus() [2/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::updateStatus ( )
virtual

◆ version() [1/2]

virtual void Basda::osci::DeviceSimulatorAgilent6k::version ( void  )
virtual

function to get the version

Implements Basda::Device.

◆ version() [2/2]

void DeviceSimulatorAgilent6k::version ( void  )
virtual

function to get the version

Implements Basda::Device.

Member Data Documentation

◆ m_channelDataPropertyPtr

std::vector< Nice::PropertyPtr > Basda::osci::DeviceSimulatorAgilent6k::m_channelDataPropertyPtr
protected

◆ m_channels

std::vector< int > Basda::osci::DeviceSimulatorAgilent6k::m_channels
protected

◆ m_data

Nice::JointPtr Basda::osci::DeviceSimulatorAgilent6k::m_data
protected

◆ m_isReachable

bool Basda::osci::DeviceSimulatorAgilent6k::m_isReachable
protected

◆ m_loopCounter

int Basda::osci::DeviceSimulatorAgilent6k::m_loopCounter
protected

◆ m_partNodes

Nice::JointPtrVector Basda::osci::DeviceSimulatorAgilent6k::m_partNodes
protected

◆ m_reconnection

int Basda::osci::DeviceSimulatorAgilent6k::m_reconnection
protected

◆ m_waveformFormat

std::vector< std::string > Basda::osci::DeviceSimulatorAgilent6k::m_waveformFormat
protected

◆ m_waveformPoints

std::vector< int > Basda::osci::DeviceSimulatorAgilent6k::m_waveformPoints
protected

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