2 * Copyright (C) 2011, BMW AG
9 * @author: Christian Müller (christian.ei.mueller@bmw.de)
22 typedef int gateway_t;
23 typedef int connection_t;
24 typedef int interrupt_t;
26 typedef int genHandle_t;
28 typedef int hookprio_t;
29 typedef int sourceClass_t;
30 typedef int sinkClass_t;
32 /**Global defined error Type
35 typedef enum genError {
37 GEN_UNKNOWN, //!< GEN_UNKNOWN
38 GEN_OUTOFRANGE, //!< GEN_OUTOFRANGE
39 GEN_NOTUSED, //!< GEN_NOTUSED
41 //!< GEN_DATABASE_ERROR
44 /** the resulttype for the hooks
47 typedef enum genHookResult {
49 HOOK_STOP,//!< HOOK_STOP
54 /** This represents one "hopp" in the route
55 * TODO: change from public structs into own public classes
57 struct genRoutingElement_t {
63 /**This is a container for a complete route.
64 * A List of "hopps" and a length.
71 std::list<genRoutingElement_t> route;
74 /**This class describes the interrupt Type.
75 * \var ID the ID of the Interrupt (unique)
76 * \var connID the Connection ID that is used
77 * \var sourceID the SourceID of the Interrupt
78 * \var sinkID the sinkID of the interrupt
79 * \var mixed true if interrupt is mixed into current audio
80 * \var listInterruptSources the list of the interrupted sources.
82 class interruptType_t {
89 std::list<source_t> listInterruptedSources;
104 class ConnectionType {
110 #endif /* DATATYPES_H_ */