|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file was generated automatically from the template eventheader.tmpl |
|
15 // on Wed, 25 Jul 2007 17:00:41 (time stamp) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedPartner |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef FLOWSPECIFICATIONCOMPLETEEVENT_H |
|
26 #define FLOWSPECIFICATIONCOMPLETEEVENT_H |
|
27 |
|
28 #include <bluetooth/hci/event.h> |
|
29 |
|
30 /** |
|
31 This class represents the FlowSpecificationComplete HCI Event |
|
32 */ |
|
33 class TFlowSpecificationCompleteEvent : public THCIEventBase |
|
34 { |
|
35 public: |
|
36 // Construct an event object to wrap existing event data received from the Controller |
|
37 IMPORT_C TFlowSpecificationCompleteEvent(const TDesC8& aEventData); |
|
38 // Construct a faked event, storing the supplied event parameters into the supplied empty event data buffer. |
|
39 IMPORT_C TFlowSpecificationCompleteEvent(THCIErrorCode aStatus, THCIConnectionHandle aConnectionHandle, TUint8 aFlags, TUint8 aFlowDirection, TUint8 aServiceType, TUint32 aTokenRate, TUint32 aTokenBucketSize, TUint32 aPeakBandwidth, TUint32 aAccessLatency, TDes8& aEventData); |
|
40 // Destructor |
|
41 IMPORT_C ~TFlowSpecificationCompleteEvent(); |
|
42 |
|
43 // The static Cast method is used to obtain a pointer to the derived class object |
|
44 IMPORT_C static TFlowSpecificationCompleteEvent& Cast(const THCIEventBase& aEvent); |
|
45 |
|
46 // Accessor methods for the parameters of the event |
|
47 IMPORT_C THCIConnectionHandle ConnectionHandle() const; |
|
48 IMPORT_C TUint8 Flags() const; |
|
49 IMPORT_C TUint8 FlowDirection() const; |
|
50 IMPORT_C TUint8 ServiceType() const; |
|
51 IMPORT_C TUint32 TokenRate() const; |
|
52 IMPORT_C TUint32 TokenBucketSize() const; |
|
53 IMPORT_C TUint32 PeakBandwidth() const; |
|
54 IMPORT_C TUint32 AccessLatency() const; |
|
55 |
|
56 }; |
|
57 |
|
58 #endif // FLOWSPECIFICATIONCOMPLETEEVENT_H |