openDAQ
Open data acquisition platform
IBlockReaderBuilder Struct Referenceabstract

Builder component of Block reader objects. Contains setter methods to configure the Block reader parameters and a build method that builds the Unit object. More...

+ Inheritance diagram for IBlockReaderBuilder:
+ Collaboration diagram for IBlockReaderBuilder:

Detailed Description

Builder component of Block reader objects. Contains setter methods to configure the Block reader parameters and a build method that builds the Unit object.

Public Member Functions

virtual ErrCode INTERFACE_FUNC build (IBlockReader **blockReader)=0
 Builds and returns a Block reader object using the currently set values of the Builder. More...
 
virtual ErrCode INTERFACE_FUNC setOldBlockReader (IBlockReader *blockReader)=0
 Sets old block reader instance to copy from. More...
 
virtual ErrCode INTERFACE_FUNC getOldBlockReader (IBlockReader **blockReader)=0
 Gets the old Block reader instance to copy from. More...
 
virtual ErrCode INTERFACE_FUNC setSignal (ISignal *signal)=0
 Sets the signal to block reader. More...
 
virtual ErrCode INTERFACE_FUNC getSignal (ISignal **signal)=0
 Gets the signal. More...
 
virtual ErrCode INTERFACE_FUNC setInputPort (IInputPort *port)=0
 Sets the input port to block reader. More...
 
virtual ErrCode INTERFACE_FUNC getInputPort (IInputPort **port)=0
 Gets the input port. More...
 
virtual ErrCode INTERFACE_FUNC setValueReadType (SampleType type)=0
 Sets the value signal read type. More...
 
virtual ErrCode INTERFACE_FUNC getValueReadType (SampleType *type)=0
 Gets the value signal read type. More...
 
virtual ErrCode INTERFACE_FUNC setDomainReadType (SampleType type)=0
 Sets the domain signal read type. More...
 
virtual ErrCode INTERFACE_FUNC getDomainReadType (SampleType *type)=0
 Gets the domain signal read type. More...
 
virtual ErrCode INTERFACE_FUNC setReadMode (ReadMode mode)=0
 Sets the read mode (Unscaled, Scaled, RawValue) More...
 
virtual ErrCode INTERFACE_FUNC getReadMode (ReadMode *mode)=0
 Gets the read mode (Unscaled, Scaled, RawValue) More...
 
virtual ErrCode INTERFACE_FUNC setBlockSize (SizeT size)=0
 Sets the block size. More...
 
virtual ErrCode INTERFACE_FUNC getBlockSize (SizeT *size)=0
 Gets the block size. More...
 
virtual ErrCode INTERFACE_FUNC setOverlap (SizeT overlap)=0
 Sets the overlap. More...
 
virtual ErrCode INTERFACE_FUNC getOverlap (SizeT *overlap)=0
 Gets the overlap. More...
 
virtual ErrCode INTERFACE_FUNC setSkipEvents (Bool skipEvents)=0
 Sets the skip events. More...
 
virtual ErrCode INTERFACE_FUNC getSkipEvents (Bool *skipEvents)=0
 Gets the skip events. More...
 
- Public Member Functions inherited from IBaseObject
virtual ErrCode INTERFACE_FUNC borrowInterface (const IntfID &intfID, void **obj) const =0
 Returns another interface which is supported by the object without incrementing the reference count. More...
 
virtual ErrCode INTERFACE_FUNC dispose ()=0
 Disposes all references held by the object. More...
 
virtual ErrCode INTERFACE_FUNC getHashCode (SizeT *hashCode)=0
 Returns hash code of the object. More...
 
virtual ErrCode INTERFACE_FUNC equals (IBaseObject *other, Bool *equal) const =0
 Compares object to another object for equality. More...
 
virtual ErrCode INTERFACE_FUNC toString (CharPtr *str)=0
 Returns a string representation of the object. More...
 
- Public Member Functions inherited from IUnknown
virtual ErrCode INTERFACE_FUNC queryInterface (const IntfID &intfID, void **obj)=0
 Returns another interface which is supported by the object and increments the reference count. More...
 
virtual int INTERFACE_FUNC addRef ()=0
 Increments the reference count for an interface on an object. More...
 
virtual int INTERFACE_FUNC releaseRef ()=0
 Decrements the reference count for an interface on an object. More...
 

Member Function Documentation

◆ build()

virtual ErrCode INTERFACE_FUNC build ( IBlockReader **  blockReader)
pure virtual

Builds and returns a Block reader object using the currently set values of the Builder.

Parameters
[out]blockReaderThe built Block reader.

◆ getBlockSize()

virtual ErrCode INTERFACE_FUNC getBlockSize ( SizeT *  size)
pure virtual

Gets the block size.

Parameters
[out]modeThe block size

◆ getDomainReadType()

virtual ErrCode INTERFACE_FUNC getDomainReadType ( SampleType *  type)
pure virtual

Gets the domain signal read type.

Parameters
[out]typeThe domain signal read type

◆ getInputPort()

virtual ErrCode INTERFACE_FUNC getInputPort ( IInputPort **  port)
pure virtual

Gets the input port.

Parameters
portThe input port which will be handled in block reader

◆ getOldBlockReader()

virtual ErrCode INTERFACE_FUNC getOldBlockReader ( IBlockReader **  blockReader)
pure virtual

Gets the old Block reader instance to copy from.

Parameters
blockReaderThe old Block reader instance

◆ getOverlap()

virtual ErrCode INTERFACE_FUNC getOverlap ( SizeT *  overlap)
pure virtual

Gets the overlap.

Parameters
[out]modeThe overlap[

◆ getReadMode()

virtual ErrCode INTERFACE_FUNC getReadMode ( ReadMode *  mode)
pure virtual

Gets the read mode (Unscaled, Scaled, RawValue)

Parameters
[out]modeThe read mode

◆ getSignal()

virtual ErrCode INTERFACE_FUNC getSignal ( ISignal **  signal)
pure virtual

Gets the signal.

Parameters
signalThe signal which will be handled in block reader

◆ getSkipEvents()

virtual ErrCode INTERFACE_FUNC getSkipEvents ( Bool *  skipEvents)
pure virtual

Gets the skip events.

Parameters
[out]skipEventsThe skip events

◆ getValueReadType()

virtual ErrCode INTERFACE_FUNC getValueReadType ( SampleType *  type)
pure virtual

Gets the value signal read type.

Parameters
[out]typeThe value signal read type

◆ setBlockSize()

virtual ErrCode INTERFACE_FUNC setBlockSize ( SizeT  size)
pure virtual

Sets the block size.

Parameters
modeThe block size

◆ setDomainReadType()

virtual ErrCode INTERFACE_FUNC setDomainReadType ( SampleType  type)
pure virtual

Sets the domain signal read type.

Parameters
typeThe domain signal read type

◆ setInputPort()

virtual ErrCode INTERFACE_FUNC setInputPort ( IInputPort port)
pure virtual

Sets the input port to block reader.

Parameters
portThe input port which will be handled in block reader

◆ setOldBlockReader()

virtual ErrCode INTERFACE_FUNC setOldBlockReader ( IBlockReader blockReader)
pure virtual

Sets old block reader instance to copy from.

Parameters
blockReaderThe old Block reader instance

◆ setOverlap()

virtual ErrCode INTERFACE_FUNC setOverlap ( SizeT  overlap)
pure virtual

Sets the overlap.

Parameters
modeThe overlap

◆ setReadMode()

virtual ErrCode INTERFACE_FUNC setReadMode ( ReadMode  mode)
pure virtual

Sets the read mode (Unscaled, Scaled, RawValue)

Parameters
modeThe read mode

◆ setSignal()

virtual ErrCode INTERFACE_FUNC setSignal ( ISignal signal)
pure virtual

Sets the signal to block reader.

Parameters
signalThe signal which will be handled in block reader

◆ setSkipEvents()

virtual ErrCode INTERFACE_FUNC setSkipEvents ( Bool  skipEvents)
pure virtual

Sets the skip events.

Parameters
skipEventsThe skip events

◆ setValueReadType()

virtual ErrCode INTERFACE_FUNC setValueReadType ( SampleType  type)
pure virtual

Sets the value signal read type.

Parameters
typeThe value signal read type