TwiceAsNice  2019-02-18
Public Types | Public Member Functions | List of all members
Basda::MyRingbufferDevice< Type > Class Template Reference
Inheritance diagram for Basda::MyRingbufferDevice< Type >:
Inheritance graph
Collaboration diagram for Basda::MyRingbufferDevice< Type >:
Collaboration graph

Public Types

typedef Image< TypeImageType
 
typedef IceUtil::Handle< ImageTypeImageTypePtr
 
typedef std::vector< ImageTypePtrSeqImagePtrType
 
typedef std::vector< ImageTypePtr >::iterator SeqImagePtrItType
 
typedef std::vector< ImageTypePtr >::const_iterator SeqImagePtrConstItType
 
typedef RingbufferDevice< ImageType >::DataRingbufferType RingbufferType
 
typedef IceUtil::Handle< RingbufferTypeRingbufferTypePtr
 
- Public Types inherited from Basda::RingbufferDevice< Image< Type > >
typedef Ringbuffer< Image< Type > > DataRingbufferType
 
typedef Ringbuffer< Image< Type > > DataRingbufferType
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 
typedef IceUtil::Handle< DataRingbufferTypeDataRingbufferTypePtr
 

Public Member Functions

 MyRingbufferDevice ()
 
virtual void open ()
 open device More...
 
virtual void close ()
 close device More...
 
virtual void reset (Basda::DeviceAsync &)
 reset the device More...
 
virtual void version ()
 version More...
 
virtual void init (Basda::DeviceAsync &)
 init the device More...
 
virtual void deinit (Basda::DeviceAsync &)
 deinit the device More...
 
virtual void activate (Basda::DeviceAsync &)
 activate the device More...
 
virtual void deactivate (Basda::DeviceAsync &)
 deactivate the device More...
 
RingbufferTypePtr ringbuffer ()
 
- Public Member Functions inherited from Basda::RingbufferDevice< Image< Type > >
 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...
 

Additional Inherited Members

- Static Public Attributes inherited from Basda::Device
static DeviceAsyncImpl s_async
 
- Protected Attributes inherited from Basda::Device
Nice::JointPtr m_config
 
Nice::JointPtr m_cfg
 
Nice::JointPtr m_var
 
std::string m_name
 

Member Typedef Documentation

◆ ImageType

template<typename Type >
typedef Image<Type> Basda::MyRingbufferDevice< Type >::ImageType

◆ ImageTypePtr

template<typename Type >
typedef IceUtil::Handle<ImageType> Basda::MyRingbufferDevice< Type >::ImageTypePtr

◆ RingbufferType

◆ RingbufferTypePtr

template<typename Type >
typedef IceUtil::Handle<RingbufferType> Basda::MyRingbufferDevice< Type >::RingbufferTypePtr

◆ SeqImagePtrConstItType

template<typename Type >
typedef std::vector<ImageTypePtr>::const_iterator Basda::MyRingbufferDevice< Type >::SeqImagePtrConstItType

◆ SeqImagePtrItType

template<typename Type >
typedef std::vector<ImageTypePtr>::iterator Basda::MyRingbufferDevice< Type >::SeqImagePtrItType

◆ SeqImagePtrType

template<typename Type >
typedef std::vector<ImageTypePtr> Basda::MyRingbufferDevice< Type >::SeqImagePtrType

Constructor & Destructor Documentation

◆ MyRingbufferDevice()

template<typename Type >
Basda::MyRingbufferDevice< Type >::MyRingbufferDevice ( )
inline

Member Function Documentation

◆ activate()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::activate ( Basda::DeviceAsync )
inlinevirtual

activate the device

Implements Basda::Device.

◆ close()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::close ( )
inlinevirtual

close device

Implements Basda::Device.

◆ deactivate()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::deactivate ( Basda::DeviceAsync )
inlinevirtual

deactivate the device

Implements Basda::Device.

◆ deinit()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::deinit ( Basda::DeviceAsync )
inlinevirtual

deinit the device

Implements Basda::Device.

◆ init()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::init ( Basda::DeviceAsync )
inlinevirtual

init the device

Implements Basda::Device.

◆ open()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::open ( )
inlinevirtual

open device

Implements Basda::Device.

◆ reset()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::reset ( Basda::DeviceAsync )
inlinevirtual

reset the device

Implements Basda::Device.

◆ ringbuffer()

template<typename Type >
RingbufferTypePtr Basda::MyRingbufferDevice< Type >::ringbuffer ( )
inlinevirtual

◆ version()

template<typename Type >
virtual void Basda::MyRingbufferDevice< Type >::version ( )
inlinevirtual

version

Implements Basda::Device.


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