2 * Copyright (C) 2011, BMW AG
9 * @author: Christian Müller (christian.ei.mueller@bmw.de)
21 typedef int gateway_t;
22 typedef int connection_t;
23 typedef int interrupt_t;
25 typedef int genHandle_t;
27 typedef int hookprio_t;
28 typedef int sourceClass_t;
29 typedef int sinkClass_t;
31 /**Global defined error Type
34 typedef enum genError {
36 GEN_UNKNOWN, //!< GEN_UNKNOWN
37 GEN_OUTOFRANGE, //!< GEN_OUTOFRANGE
38 GEN_NOTUSED, //!< GEN_NOTUSED
40 //!< GEN_DATABASE_ERROR
43 /** the resulttype for the hooks
46 typedef enum genHookResult {
48 HOOK_STOP,//!< HOOK_STOP
53 /** This represents one "hopp" in the route
54 * TODO: change from public structs into own public classes
56 struct genRoutingElement_t {
62 /**This is a container for a complete route.
63 * A List of "hopps" and a length.
70 QList<genRoutingElement_t> route;
73 /**This class describes the interrupt Type.
74 * \var ID the ID of the Interrupt (unique)
75 * \var connID the Connection ID that is used
76 * \var sourceID the SourceID of the Interrupt
77 * \var sinkID the sinkID of the interrupt
78 * \var mixed true if interrupt is mixed into current audio
79 * \var listInterruptSources the list of the interrupted sources.
81 class interruptType_t {
88 QList<source_t> listInterruptedSources;
91 #endif /* DATATYPES_H_ */