A generic interface to a pulsetraingenerator for simulation of encoder like behaviour.
More...
#include <PulseTrainGeneratorInterface.hpp>
A generic interface to a pulsetraingenerator for simulation of encoder like behaviour.
Definition at line 48 of file PulseTrainGeneratorInterface.hpp.
RTT::dev::PulseTrainGeneratorInterface::PulseTrainGeneratorInterface |
( |
const std::string & |
name | ) |
|
|
inline |
RTT::dev::PulseTrainGeneratorInterface::PulseTrainGeneratorInterface |
( |
| ) |
|
|
inline |
virtual RTT::dev::PulseTrainGeneratorInterface::~PulseTrainGeneratorInterface |
( |
| ) |
|
|
inlinevirtual |
virtual bool RTT::dev::PulseTrainGeneratorInterface::pulsePeriodSet |
( |
psecs |
picos | ) |
|
|
pure virtual |
Set Pulse Period.
- Parameters
-
picos | Pulse Period expressed in (integer) picoseconds |
- Returns
- true when succeeded
- Precondition
- PulseWidth should be smaller than PulsePeriod
virtual bool RTT::dev::PulseTrainGeneratorInterface::pulseWidthSet |
( |
psecs |
picos | ) |
|
|
pure virtual |
Set Pulse Width.
- Parameters
-
picos | Pulse Width expressed in (integer) picoseconds |
- Returns
- true when succeeded
- Precondition
- PulseWidth should be smaller than PulsePeriod
virtual bool RTT::dev::PulseTrainGeneratorInterface::start |
( |
| ) |
|
|
pure virtual |
Start the pulse train generation.
virtual bool RTT::dev::PulseTrainGeneratorInterface::stop |
( |
| ) |
|
|
pure virtual |
Stop the pulse train generation.
The documentation for this class was generated from the following files: