TwiceAsNice  2019-02-18
Classes | Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
Laos::WfcLoopDevice< ImageType > Class Template Reference

#include <LaosWfcLoopDevice.h>

Inheritance diagram for Laos::WfcLoopDevice< ImageType >:
Inheritance graph
Collaboration diagram for Laos::WfcLoopDevice< ImageType >:
Collaboration graph

Classes

struct  PropertyName
 
struct  PropertyValue
 

Public Types

typedef WfcLoopData WfcLoopDataType
 
typedef WfcLoop< ImageType > WfcLoopType
 
typedef IceUtil::Handle< WfcLoopTypeWfcLoopTypePtr
 
typedef Basda::Ringbuffer< WfcLoopDataTypeRingbufferType
 
typedef IceUtil::Handle< RingbufferTypeRingbufferTypePtr
 
typedef Basda::VinoDevice< ImageType >::ImageCallback VinoDeviceImageCallbackType
 
typedef WfcLoopData WfcLoopDataType
 
typedef WfcLoop< ImageType > WfcLoopType
 
typedef IceUtil::Handle< WfcLoopTypeWfcLoopTypePtr
 
typedef Basda::Ringbuffer< WfcLoopDataTypeRingbufferType
 
typedef IceUtil::Handle< RingbufferTypeRingbufferTypePtr
 
typedef Basda::VinoDevice< ImageType >::ImageCallback VinoDeviceImageCallbackType
 
typedef WfcLoopData WfcLoopDataType
 
typedef WfcLoop< ImageType > WfcLoopType
 
typedef IceUtil::Handle< WfcLoopTypeWfcLoopTypePtr
 
typedef Basda::Ringbuffer< WfcLoopDataTypeRingbufferType
 
typedef IceUtil::Handle< RingbufferTypeRingbufferTypePtr
 
typedef Basda::VinoDevice< ImageType >::ImageCallback VinoDeviceImageCallbackType
 
- Public Types inherited from Basda::RingbufferDevice< WfcLoopData >
typedef Ringbuffer< WfcLoopData > DataRingbufferType
 
typedef Ringbuffer< WfcLoopData > DataRingbufferType
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 

Public Member Functions

 WfcLoopDevice (const Nice::JointPtr &_config)
 
virtual ~WfcLoopDevice ()
 
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 WfcLoopTypePtr loop ()
 
 WfcLoopDevice (const Nice::JointPtr &_config)
 
virtual ~WfcLoopDevice ()
 
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 WfcLoopTypePtr loop ()
 
 WfcLoopDevice (const Nice::JointPtr &_config)
 
virtual ~WfcLoopDevice ()
 
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 WfcLoopTypePtr loop ()
 
- Public Member Functions inherited from Basda::RingbufferDevice< WfcLoopData >
 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

bool m_activated
 
WfcLoopTypePtr m_simpleloop
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Private Member Functions

void createLoop ()
 
void createLoop ()
 
void createLoop ()
 

Additional Inherited Members

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

Member Typedef Documentation

◆ RingbufferType [1/3]

template<typename ImageType = Nice::U16>
typedef Basda::Ringbuffer<WfcLoopDataType> Laos::WfcLoopDevice< ImageType >::RingbufferType

◆ RingbufferType [2/3]

template<typename ImageType = Nice::U16>
typedef Basda::Ringbuffer<WfcLoopDataType> Laos::WfcLoopDevice< ImageType >::RingbufferType

◆ RingbufferType [3/3]

template<typename ImageType = Nice::U16>
typedef Basda::Ringbuffer<WfcLoopDataType> Laos::WfcLoopDevice< ImageType >::RingbufferType

◆ RingbufferTypePtr [1/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<RingbufferType> Laos::WfcLoopDevice< ImageType >::RingbufferTypePtr

◆ RingbufferTypePtr [2/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<RingbufferType> Laos::WfcLoopDevice< ImageType >::RingbufferTypePtr

◆ RingbufferTypePtr [3/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<RingbufferType> Laos::WfcLoopDevice< ImageType >::RingbufferTypePtr

◆ VinoDeviceImageCallbackType [1/3]

template<typename ImageType = Nice::U16>
typedef Basda::VinoDevice<ImageType>::ImageCallback Laos::WfcLoopDevice< ImageType >::VinoDeviceImageCallbackType

◆ VinoDeviceImageCallbackType [2/3]

template<typename ImageType = Nice::U16>
typedef Basda::VinoDevice<ImageType>::ImageCallback Laos::WfcLoopDevice< ImageType >::VinoDeviceImageCallbackType

◆ VinoDeviceImageCallbackType [3/3]

template<typename ImageType = Nice::U16>
typedef Basda::VinoDevice<ImageType>::ImageCallback Laos::WfcLoopDevice< ImageType >::VinoDeviceImageCallbackType

◆ WfcLoopDataType [1/3]

template<typename ImageType = Nice::U16>
typedef WfcLoopData Laos::WfcLoopDevice< ImageType >::WfcLoopDataType

◆ WfcLoopDataType [2/3]

template<typename ImageType = Nice::U16>
typedef WfcLoopData Laos::WfcLoopDevice< ImageType >::WfcLoopDataType

◆ WfcLoopDataType [3/3]

template<typename ImageType = Nice::U16>
typedef WfcLoopData Laos::WfcLoopDevice< ImageType >::WfcLoopDataType

◆ WfcLoopType [1/3]

template<typename ImageType = Nice::U16>
typedef WfcLoop<ImageType> Laos::WfcLoopDevice< ImageType >::WfcLoopType

◆ WfcLoopType [2/3]

template<typename ImageType = Nice::U16>
typedef WfcLoop<ImageType> Laos::WfcLoopDevice< ImageType >::WfcLoopType

◆ WfcLoopType [3/3]

template<typename ImageType = Nice::U16>
typedef WfcLoop<ImageType> Laos::WfcLoopDevice< ImageType >::WfcLoopType

◆ WfcLoopTypePtr [1/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<WfcLoopType> Laos::WfcLoopDevice< ImageType >::WfcLoopTypePtr

◆ WfcLoopTypePtr [2/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<WfcLoopType> Laos::WfcLoopDevice< ImageType >::WfcLoopTypePtr

◆ WfcLoopTypePtr [3/3]

template<typename ImageType = Nice::U16>
typedef IceUtil::Handle<WfcLoopType> Laos::WfcLoopDevice< ImageType >::WfcLoopTypePtr

Constructor & Destructor Documentation

◆ WfcLoopDevice() [1/3]

template<typename ImageType >
Laos::WfcLoopDevice< ImageType >::WfcLoopDevice ( const Nice::JointPtr _config)

◆ ~WfcLoopDevice() [1/3]

template<typename ImageType >
Laos::WfcLoopDevice< ImageType >::~WfcLoopDevice ( )
virtual

◆ WfcLoopDevice() [2/3]

template<typename ImageType = Nice::U16>
Laos::WfcLoopDevice< ImageType >::WfcLoopDevice ( const Nice::JointPtr _config)

◆ ~WfcLoopDevice() [2/3]

template<typename ImageType = Nice::U16>
virtual Laos::WfcLoopDevice< ImageType >::~WfcLoopDevice ( )
virtual

◆ WfcLoopDevice() [3/3]

template<typename ImageType = Nice::U16>
Laos::WfcLoopDevice< ImageType >::WfcLoopDevice ( const Nice::JointPtr _config)

◆ ~WfcLoopDevice() [3/3]

template<typename ImageType = Nice::U16>
virtual Laos::WfcLoopDevice< ImageType >::~WfcLoopDevice ( )
virtual

Member Function Documentation

◆ activate() [1/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::activate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

activate the device

Implements Basda::Device.

◆ activate() [2/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::activate ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

activate the device

Implements Basda::Device.

◆ activate() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::activate ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

activate the device

Implements Basda::Device.

◆ callback() [1/3]

template<typename ImageType = Nice::U16>
virtual VinoDeviceImageCallbackType* Laos::WfcLoopDevice< ImageType >::callback ( )
inlinevirtual

◆ callback() [2/3]

template<typename ImageType = Nice::U16>
virtual VinoDeviceImageCallbackType* Laos::WfcLoopDevice< ImageType >::callback ( )
inlinevirtual

◆ callback() [3/3]

template<typename ImageType = Nice::U16>
virtual VinoDeviceImageCallbackType* Laos::WfcLoopDevice< ImageType >::callback ( )
inlinevirtual

◆ close() [1/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::close ( )
virtual

close device

Implements Basda::Device.

◆ close() [2/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::close ( void  )
virtual

close device

Implements Basda::Device.

◆ close() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::close ( )
virtual

close device

Implements Basda::Device.

◆ createLoop() [1/3]

template<typename ImageType = Nice::U16>
void Laos::WfcLoopDevice< ImageType >::createLoop ( )
private

◆ createLoop() [2/3]

template<typename ImageType = Nice::U16>
void Laos::WfcLoopDevice< ImageType >::createLoop ( )
private

◆ createLoop() [3/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::createLoop ( )
private

◆ deactivate() [1/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::deactivate ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

deactivate the device

Implements Basda::Device.

◆ deactivate() [2/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::deactivate ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

deactivate the device

Implements Basda::Device.

◆ deactivate() [3/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::deactivate ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

deactivate the device

Implements Basda::Device.

◆ deinit() [1/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::deinit ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

deinit the device

Implements Basda::Device.

◆ deinit() [2/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::deinit ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

deinit the device

Implements Basda::Device.

◆ deinit() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::deinit ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

deinit the device

Implements Basda::Device.

◆ init() [1/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::init ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

init the device

Implements Basda::Device.

◆ init() [2/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::init ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

init the device

Implements Basda::Device.

◆ init() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::init ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

init the device

Implements Basda::Device.

◆ loop() [1/3]

template<typename ImageType = Nice::U16>
virtual WfcLoopTypePtr Laos::WfcLoopDevice< ImageType >::loop ( )
inlinevirtual

◆ loop() [2/3]

template<typename ImageType = Nice::U16>
virtual WfcLoopTypePtr Laos::WfcLoopDevice< ImageType >::loop ( )
inlinevirtual

◆ loop() [3/3]

template<typename ImageType = Nice::U16>
virtual WfcLoopTypePtr Laos::WfcLoopDevice< ImageType >::loop ( )
inlinevirtual

◆ open() [1/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::open ( void  )
virtual

open device

Implements Basda::Device.

◆ open() [2/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::open ( )
virtual

open device

Implements Basda::Device.

◆ open() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::open ( )
virtual

open device

Implements Basda::Device.

◆ reset() [1/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::reset ( Basda::DeviceAsync _async = Basda::Device::s_async)
virtual

reset the device

Implements Basda::Device.

◆ reset() [2/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::reset ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

reset the device

Implements Basda::Device.

◆ reset() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::reset ( Basda::DeviceAsync = Basda::Device::s_async)
virtual

reset the device

Implements Basda::Device.

◆ ringbuffer() [1/3]

template<typename ImageType = Nice::U16>
virtual RingbufferTypePtr Laos::WfcLoopDevice< ImageType >::ringbuffer ( )
inlinevirtual

◆ ringbuffer() [2/3]

template<typename ImageType = Nice::U16>
virtual RingbufferTypePtr Laos::WfcLoopDevice< ImageType >::ringbuffer ( )
inlinevirtual

◆ ringbuffer() [3/3]

template<typename ImageType = Nice::U16>
virtual RingbufferTypePtr Laos::WfcLoopDevice< ImageType >::ringbuffer ( )
inlinevirtual

◆ version() [1/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::version ( )
virtual

version

Implements Basda::Device.

◆ version() [2/3]

template<typename ImageType >
void Laos::WfcLoopDevice< ImageType >::version ( void  )
virtual

version

Implements Basda::Device.

◆ version() [3/3]

template<typename ImageType = Nice::U16>
virtual void Laos::WfcLoopDevice< ImageType >::version ( )
virtual

version

Implements Basda::Device.

Member Data Documentation

◆ m_activated

template<typename ImageType = Nice::U16>
bool Laos::WfcLoopDevice< ImageType >::m_activated
protected

◆ m_simpleloop

template<typename ImageType = Nice::U16>
WfcLoopTypePtr Laos::WfcLoopDevice< ImageType >::m_simpleloop
protected

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