Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data HaskellTangoDevState
- data HaskellDispLevel
- data HaskellTangoPropertyData
- = HaskellPropBool !CBool
- | HaskellPropChar !CChar
- | HaskellPropShort !CShort
- | HaskellPropUShort !CUShort
- | HaskellPropLong !CInt
- | HaskellPropULong !CUInt
- | HaskellPropFloat !CFloat
- | HaskellPropDouble !CDouble
- | HaskellPropString !CString
- | HaskellPropLong64 !CLong
- | HaskellPropULong64 !CULong
- | HaskellPropShortArray !(HaskellTangoVarArray CShort)
- | HaskellPropUShortArray !(HaskellTangoVarArray CUShort)
- | HaskellPropLongArray !(HaskellTangoVarArray CLong)
- | HaskellPropULongArray !(HaskellTangoVarArray CULong)
- | HaskellPropLong64Array !(HaskellTangoVarArray CLong)
- | HaskellPropULong64Array !(HaskellTangoVarArray CULong)
- | HaskellPropFloatArray !(HaskellTangoVarArray CFloat)
- | HaskellPropDoubleArray !(HaskellTangoVarArray CDouble)
- | HaskellPropStringArray !(HaskellTangoVarArray CString)
- data HaskellTangoDevEncoded = HaskellTangoDevEncoded {
- devEncodedFormat :: !CString
- devEncodedLength :: !Word32
- devEncodedData :: !(Ptr Word8)
- data EventType
- data HaskellAttrWriteType
- = Read
- | ReadWithWrite
- | Write
- | ReadWrite
- data ErrSeverity
- type DatabaseProxyPtr = Ptr ()
- data HaskellDataQuality
- data HaskellDbData = HaskellDbData {}
- data HaskellDbDatum = HaskellDbDatum {}
- data HaskellAttributeInfoList = HaskellAttributeInfoList {}
- data HaskellAttributeDataList = HaskellAttributeDataList {}
- data HaskellAttributeInfo = HaskellAttributeInfo {
- attributeInfoName :: !CString
- attributeInfoWritable :: !HaskellAttrWriteType
- attributeInfoDataFormat :: !HaskellDataFormat
- attributeInfoDataType :: !HaskellTangoDataType
- attributeInfoMaxDimX :: !Int32
- attributeInfoMaxDimY :: !Int32
- attributeInfoDescription :: !CString
- attributeInfoLabel :: !CString
- attributeInfoUnit :: !CString
- attributeInfoStandardUnit :: !CString
- attributeInfoDisplayUnit :: !CString
- attributeInfoFormat :: !CString
- attributeInfoMinValue :: !CString
- attributeInfoMaxValue :: !CString
- attributeInfoMinAlarm :: !CString
- attributeInfoMaxAlarm :: !CString
- attributeInfoWritableAttrName :: !CString
- attributeInfoDispLevel :: !HaskellDispLevel
- attributeInfoEnumLabels :: !(Ptr CString)
- attributeInfoEnumLabelsCount :: !Word16
- attributeInfoRootAttrName :: !CString
- attributeInfoMemorized :: !TangoAttrMemorizedType
- data HaskellDataFormat
- data HaskellTangoVarArray a = HaskellTangoVarArray {
- varArrayLength :: Word32
- varArrayValues :: Ptr a
- data Timeval = Timeval {}
- type DeviceProxyPtr = Ptr ()
- data HaskellDevSource
- data HaskellErrorStack = HaskellErrorStack {
- errorStackLength :: !Word32
- errorStackSequence :: !(Ptr (DevFailed CString))
- data DevFailed a = DevFailed {
- devFailedDesc :: !a
- devFailedReason :: !a
- devFailedOrigin :: !a
- devFailedSeverity :: !ErrSeverity
- data TangoAttrMemorizedType
- data HaskellAttributeData = HaskellAttributeData {}
- data HaskellCommandData = HaskellCommandData {}
- data HaskellTangoDataType
- = HaskellDevVoid
- | HaskellDevBoolean
- | HaskellDevShort
- | HaskellDevLong
- | HaskellDevFloat
- | HaskellDevDouble
- | HaskellDevUShort
- | HaskellDevULong
- | HaskellDevString
- | HaskellDevVarCharArray
- | HaskellDevVarShortArray
- | HaskellDevVarLongArray
- | HaskellDevVarFloatArray
- | HaskellDevVarDoubleArray
- | HaskellDevVarUShortArray
- | HaskellDevVarULongArray
- | HaskellDevVarStringArray
- | HaskellDevVarLongStringArray
- | HaskellDevVarDoubleStringArray
- | HaskellDevState
- | HaskellConstDevString
- | HaskellDevVarBooleanArray
- | HaskellDevUChar
- | HaskellDevLong64
- | HaskellDevULong64
- | HaskellDevVarLong64Array
- | HaskellDevVarULong64Array
- | HaskellDevInt
- | HaskellDevEncoded
- | HaskellDevEnum
- | HaskellDevUnknown
- | HaskellDevVarStateArray
- | HaskellDevVarEncodedArray
- data HaskellTangoCommandData
- = HaskellCommandVoid
- | HaskellCommandBool !CBool
- | HaskellCommandShort !CShort
- | HaskellCommandUShort !CUShort
- | HaskellCommandInt32 !CInt
- | HaskellCommandUInt32 !CUInt
- | HaskellCommandFloat !CFloat
- | HaskellCommandDouble !CDouble
- | HaskellCommandCString !CString
- | HaskellCommandLong64 !CLong
- | HaskellCommandDevState !HaskellTangoDevState
- | HaskellCommandULong64 !CULong
- | HaskellCommandDevEncoded !HaskellTangoDevEncoded
- | HaskellCommandDevEnum !CTangoEnum
- | HaskellCommandVarBool !(HaskellTangoVarArray CBool)
- | HaskellCommandVarChar !(HaskellTangoVarArray CChar)
- | HaskellCommandVarShort !(HaskellTangoVarArray CShort)
- | HaskellCommandVarUShort !(HaskellTangoVarArray CUShort)
- | HaskellCommandVarLong !(HaskellTangoVarArray CLong)
- | HaskellCommandVarULong !(HaskellTangoVarArray CULong)
- | HaskellCommandVarLong64 !(HaskellTangoVarArray CLong)
- | HaskellCommandVarULong64 !(HaskellTangoVarArray CULong)
- | HaskellCommandVarFloat !(HaskellTangoVarArray CFloat)
- | HaskellCommandVarDouble !(HaskellTangoVarArray CDouble)
- | HaskellCommandVarCString !(HaskellTangoVarArray CString)
- | HaskellCommandVarDevState !(HaskellTangoVarArray HaskellTangoDevState)
- | HaskellCommandLongStringArray !HaskellVarLongStringArray
- | HaskellCommandDoubleStringArray !HaskellVarDoubleStringArray
- data HaskellCommandInfoList = HaskellCommandInfoList {}
- data HaskellCommandInfo = HaskellCommandInfo {
- cmdName :: !CString
- cmdTag :: !Int32
- cmdInType :: !Int32
- cmdOutType :: !Int32
- cmdInTypeDesc :: !CString
- cmdOutTypeDesc :: !CString
- cmdDisplayLevel :: !CInt
- data HaskellTangoAttributeData
- = HaskellAttributeDataBoolArray !(HaskellTangoVarArray CBool)
- | HaskellAttributeDataCharArray !(HaskellTangoVarArray CChar)
- | HaskellAttributeDataShortArray !(HaskellTangoVarArray CShort)
- | HaskellAttributeDataUShortArray !(HaskellTangoVarArray CUShort)
- | HaskellAttributeDataLongArray !(HaskellTangoVarArray CLong)
- | HaskellAttributeDataULongArray !(HaskellTangoVarArray CULong)
- | HaskellAttributeDataLong64Array !(HaskellTangoVarArray CLong)
- | HaskellAttributeDataULong64Array !(HaskellTangoVarArray CULong)
- | HaskellAttributeDataFloatArray !(HaskellTangoVarArray CFloat)
- | HaskellAttributeDataDoubleArray !(HaskellTangoVarArray CDouble)
- | HaskellAttributeDataStringArray !(HaskellTangoVarArray CString)
- | HaskellAttributeDataStateArray !(HaskellTangoVarArray HaskellTangoDevState)
- | HaskellAttributeDataEncodedArray !(HaskellTangoVarArray HaskellTangoDevEncoded)
- tango_create_device_proxy :: CString -> Ptr DeviceProxyPtr -> IO TangoError
- tango_delete_device_proxy :: DeviceProxyPtr -> IO TangoError
- tango_read_attribute :: DeviceProxyPtr -> CString -> Ptr HaskellAttributeData -> IO TangoError
- tango_write_attribute :: DeviceProxyPtr -> Ptr HaskellAttributeData -> IO TangoError
- tango_poll_command :: DeviceProxyPtr -> CString -> CInt -> IO TangoError
- tango_stop_poll_command :: DeviceProxyPtr -> CString -> IO TangoError
- tango_free_AttributeInfoList :: Ptr HaskellAttributeInfoList -> IO ()
- tango_poll_attribute :: DeviceProxyPtr -> CString -> CInt -> IO TangoError
- tango_stop_poll_attribute :: DeviceProxyPtr -> CString -> IO TangoError
- tango_command_inout :: DeviceProxyPtr -> CString -> Ptr HaskellCommandData -> Ptr HaskellCommandData -> IO TangoError
- tango_free_AttributeData :: Ptr HaskellAttributeData -> IO ()
- createEventCallbackWrapper :: EventCallback -> IO (FunPtr EventCallback)
- tango_free_CommandData :: Ptr HaskellCommandData -> IO ()
- tango_get_timeout_millis :: DeviceProxyPtr -> Ptr CInt -> IO TangoError
- tango_set_timeout_millis :: DeviceProxyPtr -> CInt -> IO TangoError
- tango_create_database_proxy :: Ptr DatabaseProxyPtr -> IO TangoError
- tango_delete_database_proxy :: DatabaseProxyPtr -> IO TangoError
- tango_get_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError
- tango_command_query :: DeviceProxyPtr -> CString -> Ptr HaskellCommandInfo -> IO TangoError
- tango_free_DbData :: Ptr HaskellDbData -> IO ()
- tango_free_DbDatum :: Ptr HaskellDbDatum -> IO ()
- tango_put_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError
- tango_delete_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError
- tango_get_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError
- tango_delete_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError
- tango_get_object_list :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError
- tango_write_attributes :: DeviceProxyPtr -> Ptr HaskellAttributeDataList -> IO TangoError
- tango_get_object_property_list :: DatabaseProxyPtr -> CString -> CString -> Ptr HaskellDbDatum -> IO TangoError
- tango_free_VarStringArray :: Ptr (HaskellTangoVarArray CString) -> IO ()
- tango_get_attribute_list :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> IO TangoError
- tango_read_attributes :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> Ptr HaskellAttributeDataList -> IO TangoError
- tango_get_device_exported :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError
- tango_put_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError
- tango_set_source :: DeviceProxyPtr -> CInt -> IO TangoError
- tango_command_list_query :: DeviceProxyPtr -> Ptr HaskellCommandInfoList -> IO TangoError
- tango_free_CommandInfoList :: Ptr HaskellCommandInfoList -> IO ()
- tango_free_CommandInfo :: Ptr HaskellCommandInfo -> IO ()
- tango_lock :: DeviceProxyPtr -> IO TangoError
- tango_get_device_exported_for_class :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError
- haskellDisplayLevelExpert :: CInt
- tango_get_attribute_config :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> Ptr HaskellAttributeInfoList -> IO TangoError
- haskellDisplayLevelOperator :: CInt
- tango_unlock :: DeviceProxyPtr -> IO TangoError
- tango_locking_status :: DeviceProxyPtr -> Ptr CString -> IO TangoError
- devSourceToInt :: HaskellDevSource -> CInt
- devSourceFromInt :: CInt -> HaskellDevSource
- tango_create_event_callback :: FunPtr EventCallback -> IO (Ptr ())
- tango_free_event_callback :: Ptr () -> IO ()
- tango_subscribe_event :: DeviceProxyPtr -> CString -> CInt -> Ptr () -> CBool -> IO CInt
- tango_unsubscribe_event :: DeviceProxyPtr -> CInt -> IO ()
Documentation
data HaskellTangoDevState Source #
List of all states that Tango knows about for device servers
Instances
data HaskellDispLevel Source #
Instances
Storable HaskellDispLevel Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellDispLevel -> Int # alignment :: HaskellDispLevel -> Int # peekElemOff :: Ptr HaskellDispLevel -> Int -> IO HaskellDispLevel # pokeElemOff :: Ptr HaskellDispLevel -> Int -> HaskellDispLevel -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellDispLevel # pokeByteOff :: Ptr b -> Int -> HaskellDispLevel -> IO () # peek :: Ptr HaskellDispLevel -> IO HaskellDispLevel # poke :: Ptr HaskellDispLevel -> HaskellDispLevel -> IO () # | |
Show HaskellDispLevel Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellDispLevel -> ShowS # show :: HaskellDispLevel -> String # showList :: [HaskellDispLevel] -> ShowS # | |
Eq HaskellDispLevel Source # | |
Defined in Tango.Raw.Common (==) :: HaskellDispLevel -> HaskellDispLevel -> Bool # (/=) :: HaskellDispLevel -> HaskellDispLevel -> Bool # |
data HaskellTangoPropertyData Source #
Instances
Show HaskellTangoPropertyData Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellTangoPropertyData -> ShowS # show :: HaskellTangoPropertyData -> String # showList :: [HaskellTangoPropertyData] -> ShowS # |
data HaskellTangoDevEncoded Source #
HaskellTangoDevEncoded | |
|
Instances
Event type if you want to subscribe to events. The events are losely described in the Tango docs
ChangeEvent | It is a type of event that gets fired when the associated attribute changes its value according to its configuration specified in system specific attribute properties ( |
QualityEvent | An “alarming” (or quality) subset of change events to allow clients to monitor when attributes’ quality factors are either Tango::ATTR_WARNING or Tango::ATTR_ALARM, without receiving unneeded events relating to value changes. |
PeriodicEvent | It is a type of event that gets fired at a fixed periodic interval. |
ArchiveEvent | An event is sent if one of the archiving conditions is satisfied. Archiving conditions are defined via properties in the database. These can be a mixture of delta_change and periodic. Archive events can be send from the polling thread or can be manually pushed from the device server code ( |
UserEvent | The criteria and configuration of these user events are managed by the device server programmer who uses a specific method of one of the Tango device server class to fire the event ( |
AttrConfEvent | An event is sent if the attribute configuration is changed. |
DataReadyEvent | This event is sent when coded by the device server programmer who uses a specific method of one of the Tango device server class to fire the event ( |
InterfaceChangeEvent | This event is sent when the device interface changes. Using Tango, it is possible to dynamically addremove attributecommand to a device. This event is the way to inform client(s) that attributecommand has been addedremoved from a device. |
PipeEvent | This is the kind of event which has to be used when the user want to push data through a pipe. This kind of event is only sent by the user code by using a specific method ( |
Instances
Storable EventType Source # | |
Defined in Tango.Raw.Common | |
Bounded EventType Source # | |
Enum EventType Source # | |
Defined in Tango.Raw.Common succ :: EventType -> EventType # pred :: EventType -> EventType # fromEnum :: EventType -> Int # enumFrom :: EventType -> [EventType] # enumFromThen :: EventType -> EventType -> [EventType] # enumFromTo :: EventType -> EventType -> [EventType] # enumFromThenTo :: EventType -> EventType -> EventType -> [EventType] # | |
Show EventType Source # | |
Eq EventType Source # | |
Ord EventType Source # | |
Defined in Tango.Raw.Common |
data HaskellAttrWriteType Source #
Instances
Storable HaskellAttrWriteType Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellAttrWriteType -> Int # alignment :: HaskellAttrWriteType -> Int # peekElemOff :: Ptr HaskellAttrWriteType -> Int -> IO HaskellAttrWriteType # pokeElemOff :: Ptr HaskellAttrWriteType -> Int -> HaskellAttrWriteType -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellAttrWriteType # pokeByteOff :: Ptr b -> Int -> HaskellAttrWriteType -> IO () # peek :: Ptr HaskellAttrWriteType -> IO HaskellAttrWriteType # poke :: Ptr HaskellAttrWriteType -> HaskellAttrWriteType -> IO () # | |
Show HaskellAttrWriteType Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellAttrWriteType -> ShowS # show :: HaskellAttrWriteType -> String # showList :: [HaskellAttrWriteType] -> ShowS # |
data ErrSeverity Source #
How severe is the error (used in the Tango error types)
Instances
type DatabaseProxyPtr = Ptr () Source #
data HaskellDataQuality Source #
Instances
Show HaskellDataQuality Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellDataQuality -> ShowS # show :: HaskellDataQuality -> String # showList :: [HaskellDataQuality] -> ShowS # |
data HaskellDbData Source #
Instances
data HaskellDbDatum Source #
Instances
Storable HaskellDbDatum Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellDbDatum -> Int # alignment :: HaskellDbDatum -> Int # peekElemOff :: Ptr HaskellDbDatum -> Int -> IO HaskellDbDatum # pokeElemOff :: Ptr HaskellDbDatum -> Int -> HaskellDbDatum -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellDbDatum # pokeByteOff :: Ptr b -> Int -> HaskellDbDatum -> IO () # peek :: Ptr HaskellDbDatum -> IO HaskellDbDatum # poke :: Ptr HaskellDbDatum -> HaskellDbDatum -> IO () # | |
Show HaskellDbDatum Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellDbDatum -> ShowS # show :: HaskellDbDatum -> String # showList :: [HaskellDbDatum] -> ShowS # |
data HaskellAttributeInfoList Source #
Instances
data HaskellAttributeDataList Source #
Instances
data HaskellAttributeInfo Source #
Instances
data HaskellDataFormat Source #
Instances
Storable HaskellDataFormat Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellDataFormat -> Int # alignment :: HaskellDataFormat -> Int # peekElemOff :: Ptr HaskellDataFormat -> Int -> IO HaskellDataFormat # pokeElemOff :: Ptr HaskellDataFormat -> Int -> HaskellDataFormat -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellDataFormat # pokeByteOff :: Ptr b -> Int -> HaskellDataFormat -> IO () # peek :: Ptr HaskellDataFormat -> IO HaskellDataFormat # poke :: Ptr HaskellDataFormat -> HaskellDataFormat -> IO () # | |
Show HaskellDataFormat Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellDataFormat -> ShowS # show :: HaskellDataFormat -> String # showList :: [HaskellDataFormat] -> ShowS # |
data HaskellTangoVarArray a Source #
Instances
Instances
Storable Timeval Source # | |
Show Timeval Source # | |
type DeviceProxyPtr = Ptr () Source #
data HaskellDevSource Source #
Instances
Bounded HaskellDevSource Source # | |
Defined in Tango.Raw.Common | |
Enum HaskellDevSource Source # | |
Defined in Tango.Raw.Common succ :: HaskellDevSource -> HaskellDevSource # pred :: HaskellDevSource -> HaskellDevSource # toEnum :: Int -> HaskellDevSource # fromEnum :: HaskellDevSource -> Int # enumFrom :: HaskellDevSource -> [HaskellDevSource] # enumFromThen :: HaskellDevSource -> HaskellDevSource -> [HaskellDevSource] # enumFromTo :: HaskellDevSource -> HaskellDevSource -> [HaskellDevSource] # enumFromThenTo :: HaskellDevSource -> HaskellDevSource -> HaskellDevSource -> [HaskellDevSource] # | |
Show HaskellDevSource Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellDevSource -> ShowS # show :: HaskellDevSource -> String # showList :: [HaskellDevSource] -> ShowS # | |
Eq HaskellDevSource Source # | |
Defined in Tango.Raw.Common (==) :: HaskellDevSource -> HaskellDevSource -> Bool # (/=) :: HaskellDevSource -> HaskellDevSource -> Bool # |
data HaskellErrorStack Source #
Instances
Generic HaskellErrorStack Source # | |
Defined in Tango.Raw.Common type Rep HaskellErrorStack :: Type -> Type # from :: HaskellErrorStack -> Rep HaskellErrorStack x # to :: Rep HaskellErrorStack x -> HaskellErrorStack # | |
GStorable HaskellErrorStack Source # | |
Defined in Tango.Raw.Common gsizeOf :: HaskellErrorStack -> Int # galignment :: HaskellErrorStack -> Int # gpeekByteOff :: Ptr b -> Int -> IO HaskellErrorStack # gpokeByteOff :: Ptr b -> Int -> HaskellErrorStack -> IO () # | |
type Rep HaskellErrorStack Source # | |
Defined in Tango.Raw.Common type Rep HaskellErrorStack = D1 ('MetaData "HaskellErrorStack" "Tango.Raw.Common" "hs-tango-1.0.0-inplace" 'False) (C1 ('MetaCons "HaskellErrorStack" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorStackLength") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "errorStackSequence") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Ptr (DevFailed CString))))) |
Wraps one piece of a Tango error trace (usually you will have lists of DevFailed
records). This is a generic to make treating its fields easier with respect to Text
and CString
(it's also a Functor
and Traversable
and all that for that reason)
DevFailed | |
|
Instances
data TangoAttrMemorizedType Source #
Instances
data HaskellAttributeData Source #
HaskellAttributeData | |
|
Instances
Storable HaskellAttributeData Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellAttributeData -> Int # alignment :: HaskellAttributeData -> Int # peekElemOff :: Ptr HaskellAttributeData -> Int -> IO HaskellAttributeData # pokeElemOff :: Ptr HaskellAttributeData -> Int -> HaskellAttributeData -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellAttributeData # pokeByteOff :: Ptr b -> Int -> HaskellAttributeData -> IO () # peek :: Ptr HaskellAttributeData -> IO HaskellAttributeData # poke :: Ptr HaskellAttributeData -> HaskellAttributeData -> IO () # | |
Show HaskellAttributeData Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellAttributeData -> ShowS # show :: HaskellAttributeData -> String # showList :: [HaskellAttributeData] -> ShowS # |
data HaskellCommandData Source #
Instances
Storable HaskellCommandData Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellCommandData -> Int # alignment :: HaskellCommandData -> Int # peekElemOff :: Ptr HaskellCommandData -> Int -> IO HaskellCommandData # pokeElemOff :: Ptr HaskellCommandData -> Int -> HaskellCommandData -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellCommandData # pokeByteOff :: Ptr b -> Int -> HaskellCommandData -> IO () # peek :: Ptr HaskellCommandData -> IO HaskellCommandData # poke :: Ptr HaskellCommandData -> HaskellCommandData -> IO () # | |
Show HaskellCommandData Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellCommandData -> ShowS # show :: HaskellCommandData -> String # showList :: [HaskellCommandData] -> ShowS # |
data HaskellTangoDataType Source #
Haskell mapping for the C type TangoDataType Beware: this is encoded positionally!
Instances
data HaskellTangoCommandData Source #
Instances
Show HaskellTangoCommandData Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellTangoCommandData -> ShowS # show :: HaskellTangoCommandData -> String # showList :: [HaskellTangoCommandData] -> ShowS # |
data HaskellCommandInfoList Source #
Instances
data HaskellCommandInfo Source #
HaskellCommandInfo | |
|
Instances
Storable HaskellCommandInfo Source # | |
Defined in Tango.Raw.Common sizeOf :: HaskellCommandInfo -> Int # alignment :: HaskellCommandInfo -> Int # peekElemOff :: Ptr HaskellCommandInfo -> Int -> IO HaskellCommandInfo # pokeElemOff :: Ptr HaskellCommandInfo -> Int -> HaskellCommandInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO HaskellCommandInfo # pokeByteOff :: Ptr b -> Int -> HaskellCommandInfo -> IO () # peek :: Ptr HaskellCommandInfo -> IO HaskellCommandInfo # poke :: Ptr HaskellCommandInfo -> HaskellCommandInfo -> IO () # | |
Show HaskellCommandInfo Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellCommandInfo -> ShowS # show :: HaskellCommandInfo -> String # showList :: [HaskellCommandInfo] -> ShowS # |
data HaskellTangoAttributeData Source #
Instances
Show HaskellTangoAttributeData Source # | |
Defined in Tango.Raw.Common showsPrec :: Int -> HaskellTangoAttributeData -> ShowS # show :: HaskellTangoAttributeData -> String # showList :: [HaskellTangoAttributeData] -> ShowS # |
tango_create_device_proxy :: CString -> Ptr DeviceProxyPtr -> IO TangoError Source #
tango_delete_device_proxy :: DeviceProxyPtr -> IO TangoError Source #
tango_read_attribute :: DeviceProxyPtr -> CString -> Ptr HaskellAttributeData -> IO TangoError Source #
tango_write_attribute :: DeviceProxyPtr -> Ptr HaskellAttributeData -> IO TangoError Source #
tango_poll_command :: DeviceProxyPtr -> CString -> CInt -> IO TangoError Source #
tango_stop_poll_command :: DeviceProxyPtr -> CString -> IO TangoError Source #
tango_poll_attribute :: DeviceProxyPtr -> CString -> CInt -> IO TangoError Source #
tango_stop_poll_attribute :: DeviceProxyPtr -> CString -> IO TangoError Source #
tango_command_inout :: DeviceProxyPtr -> CString -> Ptr HaskellCommandData -> Ptr HaskellCommandData -> IO TangoError Source #
tango_free_AttributeData :: Ptr HaskellAttributeData -> IO () Source #
createEventCallbackWrapper :: EventCallback -> IO (FunPtr EventCallback) Source #
tango_free_CommandData :: Ptr HaskellCommandData -> IO () Source #
tango_get_timeout_millis :: DeviceProxyPtr -> Ptr CInt -> IO TangoError Source #
tango_set_timeout_millis :: DeviceProxyPtr -> CInt -> IO TangoError Source #
tango_create_database_proxy :: Ptr DatabaseProxyPtr -> IO TangoError Source #
tango_delete_database_proxy :: DatabaseProxyPtr -> IO TangoError Source #
tango_get_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError Source #
tango_command_query :: DeviceProxyPtr -> CString -> Ptr HaskellCommandInfo -> IO TangoError Source #
tango_free_DbData :: Ptr HaskellDbData -> IO () Source #
tango_free_DbDatum :: Ptr HaskellDbDatum -> IO () Source #
tango_put_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError Source #
tango_delete_property :: DatabaseProxyPtr -> CString -> Ptr HaskellDbData -> IO TangoError Source #
tango_get_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError Source #
tango_delete_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError Source #
tango_get_object_list :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError Source #
tango_write_attributes :: DeviceProxyPtr -> Ptr HaskellAttributeDataList -> IO TangoError Source #
tango_get_object_property_list :: DatabaseProxyPtr -> CString -> CString -> Ptr HaskellDbDatum -> IO TangoError Source #
tango_free_VarStringArray :: Ptr (HaskellTangoVarArray CString) -> IO () Source #
tango_get_attribute_list :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> IO TangoError Source #
tango_read_attributes :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> Ptr HaskellAttributeDataList -> IO TangoError Source #
tango_get_device_exported :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError Source #
tango_put_device_property :: DeviceProxyPtr -> Ptr HaskellDbData -> IO TangoError Source #
tango_set_source :: DeviceProxyPtr -> CInt -> IO TangoError Source #
tango_command_list_query :: DeviceProxyPtr -> Ptr HaskellCommandInfoList -> IO TangoError Source #
tango_free_CommandInfo :: Ptr HaskellCommandInfo -> IO () Source #
tango_lock :: DeviceProxyPtr -> IO TangoError Source #
tango_get_device_exported_for_class :: DatabaseProxyPtr -> CString -> Ptr HaskellDbDatum -> IO TangoError Source #
tango_get_attribute_config :: DeviceProxyPtr -> Ptr (HaskellTangoVarArray CString) -> Ptr HaskellAttributeInfoList -> IO TangoError Source #
tango_unlock :: DeviceProxyPtr -> IO TangoError Source #
tango_locking_status :: DeviceProxyPtr -> Ptr CString -> IO TangoError Source #
tango_free_event_callback :: Ptr () -> IO () Source #
tango_subscribe_event :: DeviceProxyPtr -> CString -> CInt -> Ptr () -> CBool -> IO CInt Source #
tango_unsubscribe_event :: DeviceProxyPtr -> CInt -> IO () Source #