TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Protected Attributes | List of all members
Lffts::FastLoopDevice Class Reference

#include <LfftsFastLoopDevice.h>

Inheritance diagram for Lffts::FastLoopDevice:
Inheritance graph
Collaboration diagram for Lffts::FastLoopDevice:
Collaboration graph

Public Types

typedef Basda::Ringbuffer< FastLoopDataRingbufferType
 
typedef IceUtil::Handle< RingbufferTypeRingbufferTypePtr
 
typedef Basda::VinoDevice< Nice::U16 >::ImageCallback VinoDeviceImageCallbackType
 
- Public Types inherited from Basda::RingbufferDevice< FastLoopData >
typedef Ringbuffer< FastLoopData > DataRingbufferType
 
typedef Ringbuffer< FastLoopData > DataRingbufferType
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 

Public Member Functions

 FastLoopDevice (const Nice::JointPtr &_config)
 
virtual ~FastLoopDevice ()
 
virtual void open ()
 open device More...
 
virtual void close ()
 close device More...
 
virtual void reset (Basda::DeviceAsync &=Basda::Device::s_async)
 reset the device More...
 
virtual void version ()
 version More...
 
virtual void init (Basda::DeviceAsync &=Basda::Device::s_async)
 init the device More...
 
virtual void deinit (Basda::DeviceAsync &=Basda::Device::s_async)
 deinit the device More...
 
virtual void activate (Basda::DeviceAsync &=Basda::Device::s_async)
 activate the device More...
 
virtual void deactivate (Basda::DeviceAsync &=Basda::Device::s_async)
 deactivate the device More...
 
virtual RingbufferTypePtr ringbuffer ()
 
virtual VinoDeviceImageCallbackTypecallback ()
 
virtual FastLoopPtr loop ()
 
- Public Member Functions inherited from Basda::RingbufferDevice< FastLoopData >
 RingbufferDevice (const Nice::JointPtr &_config)
 
 RingbufferDevice (const Nice::JointPtr &_config)
 
 ~RingbufferDevice ()
 
 ~RingbufferDevice ()
 
virtual bool isIdle ()
 
virtual bool isIdle ()
 
virtual RingbufferRegime::State state ()
 
virtual RingbufferRegime::State state ()
 
DataTypePtr lastData ()
 
DataTypePtr lastData ()
 
size_t lastDataNum ()
 
size_t lastDataNum ()
 
void waitForState (RingbufferRegime::State _state, DeviceAsync &_async=s_async)
 
void waitForState (RingbufferRegime::State _state, DeviceAsync &_async=s_async)
 
bool timedWaitForState (RingbufferRegime::State _state, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
bool timedWaitForState (RingbufferRegime::State _state, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForStateChange (DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForStateChange (const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForNextData (DataTypePtr &_img, int _last, DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForNextData (DataTypePtr &_img, int _last, DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForNextData (DataTypePtr &_img, int _last, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForNextData (DataTypePtr &_img, int _last, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForNewData (DataTypePtr &_img, DeviceAsync &_async=s_async)
 
RingbufferRegime::State waitForNewData (DataTypePtr &_img, DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForNewData (DataTypePtr &_img, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
RingbufferRegime::State timedWaitForNewData (DataTypePtr &_img, const Nice::Time &_time, DeviceAsync &_async=s_async)
 
- 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 Attributes

FastLoopPtr m_fastloop
 
- 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
 

Member Typedef Documentation

◆ RingbufferType

◆ RingbufferTypePtr

◆ VinoDeviceImageCallbackType

Constructor & Destructor Documentation

◆ FastLoopDevice()

Lffts::FastLoopDevice::FastLoopDevice ( const Nice::JointPtr _config)

◆ ~FastLoopDevice()

Lffts::FastLoopDevice::~FastLoopDevice ( )
virtual

Member Function Documentation

◆ activate()

void Lffts::FastLoopDevice::activate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

activate the device

Implements Basda::Device.

◆ callback()

virtual VinoDeviceImageCallbackType* Lffts::FastLoopDevice::callback ( )
inlinevirtual

◆ close()

void Lffts::FastLoopDevice::close ( void  )
virtual

close device

Implements Basda::Device.

◆ deactivate()

void Lffts::FastLoopDevice::deactivate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

deactivate the device

Implements Basda::Device.

◆ deinit()

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

deinit the device

Implements Basda::Device.

◆ init()

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

init the device

Implements Basda::Device.

◆ loop()

virtual FastLoopPtr Lffts::FastLoopDevice::loop ( )
inlinevirtual

◆ open()

void Lffts::FastLoopDevice::open ( void  )
virtual

open device

Implements Basda::Device.

◆ reset()

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

reset the device

Implements Basda::Device.

◆ ringbuffer()

virtual RingbufferTypePtr Lffts::FastLoopDevice::ringbuffer ( )
inlinevirtual

◆ version()

void Lffts::FastLoopDevice::version ( void  )
virtual

version

Implements Basda::Device.

Member Data Documentation

◆ m_fastloop

FastLoopPtr Lffts::FastLoopDevice::m_fastloop
protected

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