sipXcallLib home page


PtTerminalEvent.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 _PtTerminalEvent_h_
13 #define _PtTerminalEvent_h_
14 
15 // SYSTEM INCLUDES
16 // APPLICATION INCLUDES
17 #include "ptapi/PtEvent.h"
18 // DEFINES
19 // MACROS
20 // EXTERNAL FUNCTIONS
21 
22 // EXTERNAL VARIABLES
23 // CONSTANTS
24 // STRUCTS
25 // TYPEDEFS
26 
27 // FORWARD DECLARATIONS
28 class PtTerminal;
29 class TaoClientTask;
30 
31 //:PtTerminalEvent contains PtTerminal-associated event data
32 class PtTerminalEvent : public PtEvent
33 {
34 /* //////////////////////////// PUBLIC //////////////////////////////////// */
35 public:
36 
37 /* ============================ CREATORS ================================== */
38 
40  //:Default constructor
41 
42  PtTerminalEvent(const PtTerminalEvent& rPtTerminalEvent);
43  //:Copy constructor
44 
45  virtual
47  //:Destructor
48 
49 /* ============================ MANIPULATORS ============================== */
50 
52  //:Assignment operator
53 
54 /* ============================ ACCESSORS ================================= */
55  PtStatus getTerminal(PtTerminal& rTerminal);
56  //:Returns the terminal object associated with this event.
60 
61 /* ============================ INQUIRY =================================== */
62 
63 /* //////////////////////////// PROTECTED ///////////////////////////////// */
64 protected:
65 
66  PtTerminalEvent(PtEvent::PtEventId eventId, const char* terminalName, TaoClientTask *pClient);
67 
70 
71 /* //////////////////////////// PRIVATE /////////////////////////////////// */
72 private:
73 
74 
75 };
76 
77 /* ============================ INLINE METHODS ============================ */
78 
79 #endif // _PtTerminalEvent_h_
PtStatus
Definition: PtDefs.h:49
PtEventId
Definition: PtEvent.h:83
PtStatus getTerminal(PtTerminal &rTerminal)
Definition: PtTerminalEvent.cpp:98
Definition: PtEvent.h:85
TaoClientTask * mpClient
Definition: PtTerminalEvent.h:68
The PtEvent encapulates data associated with an event notification. The PtEvent is sent to an applica...
Definition: PtEvent.h:76
virtual ~PtTerminalEvent()
Definition: PtTerminalEvent.cpp:57
Definition: PtTerminalEvent.h:32
Definition: PtTerminal.h:178
char * mpTerminalName
Definition: PtTerminalEvent.h:69
PtTerminalEvent & operator=(const PtTerminalEvent &rhs)
Definition: PtTerminalEvent.cpp:70
Definition: TaoClientTask.h:50
PtTerminalEvent(PtEvent::PtEventId eventId=PtEvent::EVENT_INVALID)
Definition: PtTerminalEvent.cpp:31