sipXcallLib home page


TaoObject.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 _TaoObject_h_
13 #define _TaoObject_h_
14 
15 #if _MSC_VER >= 1000
16 #pragma once
17 #endif // _MSC_VER >= 1000
18 
19 // SYSTEM INCLUDES
20 
21 // APPLICATION INCLUDES
22 //#include "os/OsConnectionSocket.h"
23 #include "tao/TaoDefs.h"
24 
25 // DEFINES
26 // MACROS
27 // EXTERNAL FUNCTIONS
28 // EXTERNAL VARIABLES
29 // CONSTANTS
30 // STRUCTS
31 
32 // FORWARD DECLARATIONS
33 
34 //:Base class for PTAPI entities, contains a type name and object pointer for
35 // locally maintained objects or a PtTaoServerAddress and TaoObjectHandle for
36 // remotely maintained objects
37 class TaoObject
38 {
39 /* //////////////////////////// PUBLIC //////////////////////////////////// */
40 public:
41 /* ============================ CREATORS ================================== */
42  TaoObject() {};
43 
44  TaoObject(const TaoObject& rTaoObject);
45  //:Copy constructor (not implemented for this class)
46 
47  virtual ~TaoObject() {};
48 
49 /* ============================ MANIPULATORS ============================== */
50 
51 /* //////////////////////////// PROTECTED ///////////////////////////////// */
52 protected:
53  TaoObjHandle mTaoObjHandle; // the handle associated with an object
54 
55 // OsConnectionSocket* mServerConect;
56 
57  unsigned char mTaoObjType; // TaoObjTypes
58  unsigned char mTaoObjSubType; // TaoObjSubTypes
59 
60 /* //////////////////////////// Private /////////////////////////////////// */
61 };
62 
63 #endif // _TaoObject_h_
TaoObject()
Definition: TaoObject.h:42
unsigned char mTaoObjSubType
Definition: TaoObject.h:58
virtual ~TaoObject()
Definition: TaoObject.h:47
TaoObjHandle mTaoObjHandle
Definition: TaoObject.h:47
unsigned char mTaoObjType
Definition: TaoObject.h:57
Definition: TaoObject.h:37
uintptr_t TaoObjHandle
Definition: TaoDefs.h:32