TwiceAsNice
2019-02-18
|
the class used to implement the device part of the MSXBOX Delay Generator More...
#include <DeviceMSXBOXDelay.h>
Public Member Functions | |
TempoDeviceMSXBOXDelay (const Nice::JointPtr &_config) | |
constructor More... | |
virtual | ~TempoDeviceMSXBOXDelay () |
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 | version (void) |
function to get the version More... | |
virtual Basda::TempoDeviceDataVector | read (void) |
function to read out values More... | |
virtual Nice::JointPtrVector & | description (void) |
function to read the description More... | |
![]() | |
TempoDevice (const Nice::JointPtr &_config) | |
virtual Basda::TempoSeqData | readTemp ()=0 |
read the device More... | |
virtual Nice::JointPtrVector & | descriptionTemp ()=0 |
read description More... | |
TempoDevice (const Nice::JointPtr &_config) | |
virtual Basda::TempoSeqData | readTemp ()=0 |
read the device More... | |
virtual Nice::JointPtrVector & | descriptionTemp ()=0 |
read description More... | |
TempoDevice (const Nice::JointPtr &_config) | |
virtual Basda::TempoSeqData | readTemp ()=0 |
read the device More... | |
virtual Nice::JointPtrVector & | descriptionTemp ()=0 |
read description 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::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
virtual void | activate (DeviceAsync &=s_async)=0 |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=s_async)=0 |
deactivate the device 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::JointPtr & | config () |
retrieve the property tree More... | |
std::string & | name () |
retrieve the name set at ctor time. More... | |
virtual void | activate (DeviceAsync &=s_async)=0 |
activate the device More... | |
virtual void | deactivate (DeviceAsync &=s_async)=0 |
deactivate the device More... | |
Protected Attributes | |
Nice::JointPtrVector | m_partNodes |
vector containing the children More... | |
![]() | |
Nice::JointPtr | m_config |
Nice::JointPtr | m_cfg |
Nice::JointPtr | m_var |
std::string | m_name |
Private Member Functions | |
void | set_Parameters_A (double fire, unsigned long mod, unsigned long go, unsigned long offset) |
function to set the Parameters of the delay channels More... | |
void | set_Parameters_B (double fire, unsigned long mod, unsigned long go, unsigned long offset) |
void | set_Parameters_T0 (double fire, unsigned long mod, unsigned long go, unsigned long offset) |
void | set_Parameters_CD (unsigned long pulse, unsigned long output_level, bool gate, unsigned long gate_func) |
function to set the control data parameters More... | |
void | set_Parameters_TD (unsigned long msbus, bool clock_enable, bool trigger_enable) |
function to set the trigger data parameters More... | |
Private Attributes | |
std::string | m_conAdr |
stores the address (endpoint) of the MSXBOX More... | |
unsigned long | m_maxDelayGenerators |
stores the maximum number of delay generators supported More... | |
unsigned long | m_numberDelayGenerator |
stores the number of his delay generator More... | |
Basda::MSXBOXDelay * | m_MSXBOX__DG |
the driver instance More... | |
Additional Inherited Members | |
![]() | |
static DeviceAsyncImpl | s_async |
the class used to implement the device part of the MSXBOX Delay Generator
Basda::TempoDeviceMSXBOXDelay::TempoDeviceMSXBOXDelay | ( | const Nice::JointPtr & | _config | ) |
constructor
_config | configuration tree |
|
inlinevirtual |
virtual destructor
|
virtual |
function to close the connection to the device.
Implements Basda::Device.
|
virtual |
function to deinit the device
Implements Basda::Device.
|
inlinevirtual |
function to read the description
|
virtual |
function to init the device
Implements Basda::Device.
|
virtual |
function to open the connection to the device.
Implements Basda::Device.
|
virtual |
function to read out values
|
virtual |
function to reset the device
Implements Basda::Device.
|
private |
function to set the Parameters of the delay channels
fire | the delay for that channel |
mod | the output modulo for that channel |
go | the go signal for the channel |
offset | the offset to be applied to the channel |
|
private |
|
private |
function to set the control data parameters
pulse | the pulse width |
output_level | the output voltage level |
gate | True enables a gate function |
gate_func | the gate function to be applied |
|
private |
|
private |
function to set the trigger data parameters
msbus | the signal to apply to the master/slave bus |
clock_enable | True enables the clock |
trigger_enable | True enables the triggering |
|
virtual |
function to get the version
Implements Basda::Device.
|
private |
stores the address (endpoint) of the MSXBOX
|
private |
stores the maximum number of delay generators supported
|
private |
the driver instance
|
private |
stores the number of his delay generator
|
protected |
vector containing the children