sipXcallLib home page


PtComponentGroupCapabilities.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 SIPfoundry Inc.
3 // Licensed by SIPfoundry under the LGPL license.
4 //
5 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
6 // Licensed to SIPfoundry under a Contributor Agreement.
7 //
8 // $$
10 
11 
12 #ifndef _PtComponentGroupCapabilities_h_
13 #define _PtComponentGroupCapabilities_h_
14 
15 // SYSTEM INCLUDES
16 
17 // APPLICATION INCLUDES
18 #include "os/OsDefs.h"
19 
20 // DEFINES
21 // MACROS
22 // EXTERNAL FUNCTIONS
23 // EXTERNAL VARIABLES
24 // CONSTANTS
25 // STRUCTS
26 // TYPEDEFS
27 // FORWARD DECLARATIONS
28 class PtAddress;
29 
30 //:The PtComponentGroupCapabilities interface represents the capabilities for the PtComponentGroup.
31 
33 {
34 /* //////////////////////////// PUBLIC //////////////////////////////////// */
35 public:
36 
37 /* ============================ CREATORS ================================== */
38 
40  //:Default constructor
41 
42  PtComponentGroupCapabilities(const PtComponentGroupCapabilities& rPtComponentGroupCapabilities);
43  //:Copy constructor
44 
45  virtual
47  //:Destructor
48 
49 /* ============================ MANIPULATORS ============================== */
50 
52  //:Assignment operator
53 
54 /* ============================ ACCESSORS ================================= */
55 
56 /* ============================ INQUIRY =================================== */
57 
58  UtlBoolean canActivate();
59  //:Returns true if the ComponentGroup can be "activated" on the Terminal that the
60  // ComponentGroup is associated with. For example, activation of a headset on a
61  // certain Terminal allows media to flow between the headset and the telephone line
62  // associated with the terminal for all calls on the line . This method allows the
63  // application to determine if activation of the ComponentGroup on its Terminal is
64  // supported.
67 
68 
69 
70  UtlBoolean canActivate(PtAddress address);
71  //:Returns true if the ComponentGroup can be "activated" on the specified Address at
72  // the Terminal that the ComponentGroup is associated with. For example, activation
73  // of a headset on a certain Address at a Terminal allows media to flow between the
74  // headset and the telephone line associated with the Terminal for all calls on the
75  // specified Address. This method allows the application to determine if activation of
76  // the ComponentGroup on a specific Address at a Terminal is supported.
80 
81 /* //////////////////////////// PROTECTED ///////////////////////////////// */
82 protected:
83 
84 /* //////////////////////////// PRIVATE /////////////////////////////////// */
85 private:
86 
87 };
88 
89 /* ============================ INLINE METHODS ============================ */
90 
91 #endif // _PtComponentGroupCapabilities_h_
PtComponentGroupCapabilities & operator=(const PtComponentGroupCapabilities &rhs)
Definition: PtComponentGroupCapabilities.h:32
Definition: PtAddress.h:189