OpenMAMA
types.h File Reference
#include "wombat/port.h"
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define MAMA_QUANTITY_EPSILON   ((mama_f64_t)0.00000000001)
 
#define mama_isQuantityNone(q)   ((q) < MAMA_QUANTITY_EPSILON)
 Macro to determine if a quantity is zero. More...
 
#define mama_isQuantityEqual(lhs, rhs)
 Macro to determine if a quantity equality. More...
 

Typedefs

typedef int8_t mama_i8_t
 
typedef uint8_t mama_u8_t
 
typedef int16_t mama_i16_t
 
typedef uint16_t mama_u16_t
 
typedef int32_t mama_i32_t
 
typedef uint32_t mama_u32_t
 
typedef int64_t mama_i64_t
 
typedef uint64_t mama_u64_t
 
typedef int8_t mama_bool_t
 
typedef float mama_f32_t
 
typedef double mama_f64_t
 
typedef double mama_quantity_t
 
typedef uint16_t mama_fid_t
 
typedef size_t mama_size_t
 
typedef uint32_t mama_seqnum_t
 
typedef struct mamaBridgeImpl_ * mamaBridge
 
typedef struct mamaPayloadBridgeImpl_ * mamaPayloadBridge
 
typedef mama_u64_tmamaDateTime
 Flexible date/time format. More...
 
typedef void * mamaTimeZone
 Time zone utility type. More...
 
typedef void * mamaPrice
 Flexible price format (contains display hints as well as value) More...
 
typedef struct mamaMsgImpl_ * mamaMsg
 Opaque definitions for all major MAMA data types. More...
 
typedef struct mamaMsgFieldImpl_ * mamaMsgField
 
typedef struct mamaMsgIteratorImpl_ * mamaMsgIterator
 
typedef struct mamaTransportImpl_ * mamaTransport
 
typedef struct mamaSubscriptionImpl_ * mamaSubscription
 
typedef struct mamaManagedSubscriptionImpl_ * mamaManagedSubscription
 
typedef struct mamaSubscriptionManagerImpl_ * mamaSubscriptionManager
 
typedef struct mamaDictionaryImpl_ * mamaDictionary
 
typedef struct mamaPublisherImpl_ * mamaPublisher
 
typedef struct mamaDQPublisherImpl_ * mamaDQPublisher
 
typedef struct mamaDQPublisherManagerImpl_ * mamaDQPublisherManager
 
typedef struct mamaInboxImpl_ * mamaInbox
 
typedef struct mamaQueueImpl_ * mamaQueue
 
typedef struct mamaDispatcherImpl_ * mamaDispatcher
 
typedef struct mamaTimerImpl * mamaTimer
 
typedef struct mamaFieldDescriptorImpl_ * mamaFieldDescriptor
 
typedef struct mamaIoImpl * mamaIo
 
typedef struct mamaSymbolSourceFileImpl_ * mamaSymbolSourceFile
 
typedef struct mamaSymbolStoreImpl_ * mamaSymbolStore
 
typedef struct mamaMsgQualImpl_ * mamaMsgQual
 
typedef struct mamaSourceManagerImpl_ * mamaSourceManager
 
typedef struct mamaSourceImpl_ * mamaSource
 
typedef struct mamaSymbologyImpl_ * mamaSymbology
 
typedef struct mamaSymbologyManagerImpl_ * mamaSymbologyManager
 
typedef struct mamaSourceGroupCbHandleImpl_ * mamaSourceGroupCbHandle
 
typedef struct mamaConnectionImpl_ * mamaConnection
 
typedef struct mamaServerConnectionImpl_ * mamaServerConnection
 
typedef struct mamaConflationManager_ * mamaConflationManager
 
typedef struct mamaStatsLoggerImpl_ * mamaStatsLogger
 
typedef struct mamaStatImpl_ * mamaStat
 
typedef struct mamaStatsCollectorImpl_ * mamaStatsCollector
 
typedef struct mamaStatsGeneratorImpl_ * mamaStatsGenerator
 
typedef struct mamaMsgReplyImpl_ * mamaMsgReply
 

Macro Definition Documentation

◆ MAMA_QUANTITY_EPSILON

#define MAMA_QUANTITY_EPSILON   ((mama_f64_t)0.00000000001)

◆ mama_isQuantityNone

#define mama_isQuantityNone (   q)    ((q) < MAMA_QUANTITY_EPSILON)

Macro to determine if a quantity is zero.

◆ mama_isQuantityEqual

#define mama_isQuantityEqual (   lhs,
  rhs 
)
Value:
((lhs) < (rhs) ? (rhs) - (lhs) < MAMA_QUANTITY_EPSILON : \
(lhs) - (rhs) < MAMA_QUANTITY_EPSILON)
#define MAMA_QUANTITY_EPSILON
Definition: types.h:50

Macro to determine if a quantity equality.

Typedef Documentation

◆ mama_i8_t

typedef int8_t mama_i8_t

◆ mama_u8_t

typedef uint8_t mama_u8_t

◆ mama_i16_t

typedef int16_t mama_i16_t

◆ mama_u16_t

typedef uint16_t mama_u16_t

◆ mama_i32_t

typedef int32_t mama_i32_t

◆ mama_u32_t

typedef uint32_t mama_u32_t

◆ mama_i64_t

typedef int64_t mama_i64_t

◆ mama_u64_t

typedef uint64_t mama_u64_t

◆ mama_bool_t

typedef int8_t mama_bool_t

◆ mama_f32_t

typedef float mama_f32_t

◆ mama_f64_t

typedef double mama_f64_t

◆ mama_quantity_t

typedef double mama_quantity_t

◆ mama_fid_t

typedef uint16_t mama_fid_t

◆ mama_size_t

typedef size_t mama_size_t

◆ mama_seqnum_t

typedef uint32_t mama_seqnum_t

◆ mamaBridge

typedef struct mamaBridgeImpl_* mamaBridge

◆ mamaPayloadBridge

typedef struct mamaPayloadBridgeImpl_* mamaPayloadBridge

◆ mamaDateTime

Flexible date/time format.

◆ mamaTimeZone

typedef void* mamaTimeZone

Time zone utility type.

◆ mamaPrice

typedef void* mamaPrice

Flexible price format (contains display hints as well as value)

◆ mamaMsg

typedef struct mamaMsgImpl_* mamaMsg

Opaque definitions for all major MAMA data types.

Must be allocated through corresponding functions from the API.

◆ mamaMsgField

typedef struct mamaMsgFieldImpl_* mamaMsgField

◆ mamaMsgIterator

typedef struct mamaMsgIteratorImpl_* mamaMsgIterator

◆ mamaTransport

typedef struct mamaTransportImpl_* mamaTransport

◆ mamaSubscription

typedef struct mamaSubscriptionImpl_* mamaSubscription

◆ mamaManagedSubscription

typedef struct mamaManagedSubscriptionImpl_* mamaManagedSubscription

◆ mamaSubscriptionManager

typedef struct mamaSubscriptionManagerImpl_* mamaSubscriptionManager

◆ mamaDictionary

typedef struct mamaDictionaryImpl_* mamaDictionary

◆ mamaPublisher

typedef struct mamaPublisherImpl_* mamaPublisher

◆ mamaDQPublisher

typedef struct mamaDQPublisherImpl_* mamaDQPublisher

◆ mamaDQPublisherManager

typedef struct mamaDQPublisherManagerImpl_* mamaDQPublisherManager

◆ mamaInbox

typedef struct mamaInboxImpl_* mamaInbox

◆ mamaQueue

typedef struct mamaQueueImpl_* mamaQueue

◆ mamaDispatcher

typedef struct mamaDispatcherImpl_* mamaDispatcher

◆ mamaTimer

typedef struct mamaTimerImpl* mamaTimer

◆ mamaFieldDescriptor

typedef struct mamaFieldDescriptorImpl_* mamaFieldDescriptor

◆ mamaIo

typedef struct mamaIoImpl* mamaIo

◆ mamaSymbolSourceFile

typedef struct mamaSymbolSourceFileImpl_* mamaSymbolSourceFile

◆ mamaSymbolStore

typedef struct mamaSymbolStoreImpl_* mamaSymbolStore

◆ mamaMsgQual

typedef struct mamaMsgQualImpl_* mamaMsgQual

◆ mamaSourceManager

typedef struct mamaSourceManagerImpl_* mamaSourceManager

◆ mamaSource

typedef struct mamaSourceImpl_* mamaSource

◆ mamaSymbology

typedef struct mamaSymbologyImpl_* mamaSymbology

◆ mamaSymbologyManager

typedef struct mamaSymbologyManagerImpl_* mamaSymbologyManager

◆ mamaSourceGroupCbHandle

typedef struct mamaSourceGroupCbHandleImpl_* mamaSourceGroupCbHandle

◆ mamaConnection

typedef struct mamaConnectionImpl_* mamaConnection

◆ mamaServerConnection

typedef struct mamaServerConnectionImpl_* mamaServerConnection

◆ mamaConflationManager

typedef struct mamaConflationManager_* mamaConflationManager

◆ mamaStatsLogger

typedef struct mamaStatsLoggerImpl_* mamaStatsLogger

◆ mamaStat

typedef struct mamaStatImpl_* mamaStat

◆ mamaStatsCollector

typedef struct mamaStatsCollectorImpl_* mamaStatsCollector

◆ mamaStatsGenerator

typedef struct mamaStatsGeneratorImpl_* mamaStatsGenerator

◆ mamaMsgReply

typedef struct mamaMsgReplyImpl_* mamaMsgReply


© 2012 Linux Foundation