dl::IFW Class Referenceabstract

FW Interface Class. More...

#include <dlapi.h>

Inheritance diagram for dl::IFW:
dl::IFWExtended

Public Types

enum  Model {
  UnknownFWModel = 0, CFW2, CFW5, CFW8,
  CFWL, CFW402, CFW6A, CFW10,
  CFW10_SERIAL, CFW9, CFWL8, CFWL8G,
  CFW1603, FW5_STX, FW5_8300, FW8_8300,
  FW7_STX, FW8_STT, FW5_STF_DETENT, Internal,
  AFW16, AFW15, AFW14, AFW13,
  AFW12, AFW11, AFW10, AFW9,
  AFW8, AFW7, AFW6, AFW5,
  AFW4, AFW3, AFW2, InvalidFWModel = 0xFF
}
 
enum  Status { FWIdle, FWBusy, FWError, InvalidFWStatus = 0xff }
 

Public Member Functions

virtual IPromisePtr initialize ()=0
 Initialize the filter wheel, and obtain basic model information. More...
 
virtual IPromisePtr queryStatus ()=0
 Queries the status of the filter wheel. More...
 
virtual int getPosition () const =0
 Returns the buffered position of the filter wheel. More...
 
virtual IFW::Status getStatus () const =0
 Returns the buffered status of the filter wheel. More...
 
virtual IFW::Model getModel () const =0
 Returns the model number of the attached filter wheel. More...
 
virtual unsigned int getSlots () const =0
 returns the number of slots the filter wheel has available. More...
 
virtual IPromisePtr setPosition (int position)=0
 Send a goto command to the filter wheel. More...
 

Detailed Description

FW Interface Class.

An interface to Filter Wheel peripherals connected to DLAPI cameras.

Member Enumeration Documentation

◆ Model

Enumerator
UnknownFWModel 

Used when an unknown FW model is reported by the camera.

CFW2 

CFW2.

CFW5 

CFW5.

CFW8 

CFW8.

CFWL 

CFWL.

CFW402 

CFW402.

CFW6A 

CFW6A.

CFW10 

CFW10.

CFW10_SERIAL 

CFW10_SERIAL.

CFW9 

CFW9.

CFWL8 

CFWL8.

CFWL8G 

CFWL8G.

CFW1603 

CFW1603.

FW5_STX 

STX FW5.

FW5_8300 

STF-8300 FW5.

FW8_8300 

STF-8300 FW8.

FW7_STX 

STX FW7.

FW8_STT 

STT FW8.

FW5_STF_DETENT 

STF FW5 with detent.

Internal 

STC Internal FW.

AFW16 

AFW-16 slot filter wheel.

AFW15 

AFW-15 slot filter wheel.

AFW14 

AFW-14 slot filter wheel.

AFW13 

AFW-13 slot filter wheel.

AFW12 

AFW-12 slot filter wheel.

AFW11 

AFW-11 slot filter wheel.

AFW10 

AFW-10 slot filter wheel.

AFW9 

AFW-09 slot filter wheel.

AFW8 

AFW-08 slot filter wheel.

AFW7 

AFW-07 slot filter wheel.

AFW6 

AFW-06 slot filter wheel.

AFW5 

AFW-05 slot filter wheel.

AFW4 

AFW-04 slot filter wheel.

AFW3 

AFW-03 slot filter wheel.

AFW2 

AFW-02 slot filter wheel.

InvalidFWModel 

Used for uninitialized variables.

808  {
809  UnknownFWModel = 0,
810 
811  CFW2,
812  CFW5,
813  CFW8,
814  CFWL,
815  CFW402,
816  CFW6A,
817  CFW10,
818  CFW10_SERIAL,
819  CFW9,
820  CFWL8,
821  CFWL8G,
822  CFW1603,
823  FW5_STX,
824  FW5_8300,
825  FW8_8300,
826  FW7_STX,
827  FW8_STT,
829  Internal,
830 
831  // New AFW line where model number represents number of slots (submodels include filter diameter & shape)
832  AFW16,
833  AFW15,
834  AFW14,
835  AFW13,
836  AFW12,
837  AFW11,
838  AFW10,
839  AFW9,
840  AFW8,
841  AFW7,
842  AFW6,
843  AFW5,
844  AFW4,
845  AFW3,
846  AFW2,
847 
848  // ^^ new models here ^^
849 
850  InvalidFWModel = 0xFF,
851  };
STF-8300 FW8.
Definition: dlapi.h:825
CFW1603.
Definition: dlapi.h:822
AFW-14 slot filter wheel.
Definition: dlapi.h:834
Used for uninitialized variables.
Definition: dlapi.h:850
AFW-02 slot filter wheel.
Definition: dlapi.h:846
AFW-09 slot filter wheel.
Definition: dlapi.h:839
AFW-13 slot filter wheel.
Definition: dlapi.h:835
STT FW8.
Definition: dlapi.h:827
AFW-10 slot filter wheel.
Definition: dlapi.h:838
AFW-03 slot filter wheel.
Definition: dlapi.h:845
AFW-08 slot filter wheel.
Definition: dlapi.h:840
STF FW5 with detent.
Definition: dlapi.h:828
AFW-04 slot filter wheel.
Definition: dlapi.h:844
CFW402.
Definition: dlapi.h:815
STF-8300 FW5.
Definition: dlapi.h:824
AFW-11 slot filter wheel.
Definition: dlapi.h:837
CFW5.
Definition: dlapi.h:812
AFW-07 slot filter wheel.
Definition: dlapi.h:841
AFW-05 slot filter wheel.
Definition: dlapi.h:843
Used when an unknown FW model is reported by the camera.
Definition: dlapi.h:809
CFW2.
Definition: dlapi.h:811
CFW9.
Definition: dlapi.h:819
CFWL.
Definition: dlapi.h:814
CFW10_SERIAL.
Definition: dlapi.h:818
CFW6A.
Definition: dlapi.h:816
AFW-16 slot filter wheel.
Definition: dlapi.h:832
CFW10.
Definition: dlapi.h:817
AFW-12 slot filter wheel.
Definition: dlapi.h:836
CFW8.
Definition: dlapi.h:813
CFWL8G.
Definition: dlapi.h:821
STC Internal FW.
Definition: dlapi.h:829
STX FW5.
Definition: dlapi.h:823
AFW-06 slot filter wheel.
Definition: dlapi.h:842
CFWL8.
Definition: dlapi.h:820
STX FW7.
Definition: dlapi.h:826
AFW-15 slot filter wheel.
Definition: dlapi.h:833

◆ Status

Enumerator
FWIdle 

Filter Wheel is idle.

FWBusy 

Filter Wheel is busy.

FWError 

Filter Wheel has encountered an error.

InvalidFWStatus 

Filter Wheel is uninitialized.

857  {
858  FWIdle,
859  FWBusy,
860  FWError,
861 
862  InvalidFWStatus = 0xff,
863  };
Filter Wheel is uninitialized.
Definition: dlapi.h:862
Filter Wheel has encountered an error.
Definition: dlapi.h:860
Filter Wheel is busy.
Definition: dlapi.h:859
Filter Wheel is idle.
Definition: dlapi.h:858

Member Function Documentation

◆ getModel()

virtual IFW::Model dl::IFW::getModel ( ) const
pure virtual

Returns the model number of the attached filter wheel.

Returns
IFW::Model the model number of the filter wheel.
See also
IFW::Status, IFW::initialize()

Returns the buffered model of the filter wheel, refreshed by IFW::initialize().

◆ getPosition()

virtual int dl::IFW::getPosition ( ) const
pure virtual

Returns the buffered position of the filter wheel.

Returns
int buffered filter wheel position.
See also
IFW::queryStatus()

Returns the buffered position of the filter wheel, refreshed by IFW::queryStatus().

◆ getSlots()

virtual unsigned int dl::IFW::getSlots ( ) const
pure virtual

returns the number of slots the filter wheel has available.

Returns
unsigned int number of filter slots in the filter wheel.

Returns the number of slots available in the filter wheel.

◆ getStatus()

virtual IFW::Status dl::IFW::getStatus ( ) const
pure virtual

Returns the buffered status of the filter wheel.

Returns
IFW::Status buffered filter wheel status.
See also
IFW::queryStatus()

Returns the buffered status of the filter wheel, refreshed by IFW::queryStatus(). Index is base-zero.

◆ initialize()

virtual IPromisePtr dl::IFW::initialize ( )
pure virtual

Initialize the filter wheel, and obtain basic model information.

Returns
IPromisePtr pointer to promise for monitoring the status of the asynchronous operation.
See also
IPromisePtr

Initializes the Filter Wheel, and obtains the filter wheel model.

◆ queryStatus()

virtual IPromisePtr dl::IFW::queryStatus ( )
pure virtual

Queries the status of the filter wheel.

Returns
IPromisePtr pointer to promise for monitoring the status of the asynchronous operation.
See also
IPromisePtr, IFW::getPosition(), IFW::getStatus()

Requests the status and position of the filter wheel from the camera, and updates the buffered values.

◆ setPosition()

virtual IPromisePtr dl::IFW::setPosition ( int  position)
pure virtual

Send a goto command to the filter wheel.

Parameters
positionthe desired slot to move to.
Returns
IPromisePtr pointer to promise for monitoring the status of the asynchronous operation.
See also
IPromisePtr

Sets the position of the filter wheel. Will return EStatusCode::InvalidParameter if position is below 0, or above the slot count of the filter wheel when the IPromise completes. Index is base-zero.


The documentation for this class was generated from the following file:
  • C:/NightlyBuild/DL_Imaging/Aluma_Software/dlapi/src/dlapi.h