#include <Context.h>
Public Types | |
typedef CORBA::Context_ptr | _ptr_type |
typedef CORBA::Context_var | _var_type |
typedef CORBA::Context_out | _out_type |
Public Member Functions | |
Context (void) | |
~Context (void) | |
CORBA::ULong | _incr_refcnt (void) |
CORBA::ULong | _decr_refcnt (void) |
const char * | context_name (void) const |
CORBA::Context_ptr | parent (void) const |
void | create_child (const char *child_ctx_name, CORBA::Context_out child_ctx) |
void | set_one_value (const char *propname, const CORBA::Any &propvalue) |
void | set_values (CORBA::NVList_ptr values) |
void | delete_values (const char *propname) |
void | get_values (const char *start_scope, CORBA::Flags op_flags, const char *pattern, CORBA::NVList_ptr &values) |
Static Public Member Functions | |
Context * | _duplicate (Context *) |
Context * | _nil (void) |
Private Attributes | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, CORBA::ULong > | refcount_ |
Reference counter. |
TAO's minimal implementation of the Context interface. Since Contexts are inherently un-typesafe, there use is deprecated and the feature may eventaully disappear from CORBA. It is implemented only to make the arg list of CORBA::Object::_create_request() compliant. The only (pointer) value that should be passed is 0.
Definition at line 73 of file Context.h.
|
|
|
|
|
|
|
Definition at line 19 of file Context.cpp.
00020 : refcount_ (1) 00021 { 00022 } |
|
Definition at line 24 of file Context.cpp.
00025 { 00026 } |
|
Definition at line 35 of file Context.cpp.
00036 { 00037 CORBA::ULong const new_count = --this->refcount_; 00038 00039 if (new_count == 0) 00040 delete this; 00041 00042 return new_count; 00043 } |
|
|
|
Definition at line 29 of file Context.cpp.
00030 { 00031 return ++refcount_; 00032 } |
|
Definition at line 57 of file Context.inl.
00058 {
00059 return (CORBA::Context_ptr)0;
00060 }
|
|
Definition at line 46 of file Context.cpp.
00047 { 00048 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00049 } |
|
Definition at line 58 of file Context.cpp.
00060 { 00061 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00062 } |
|
Definition at line 78 of file Context.cpp.
00079 { 00080 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00081 } |
|
Definition at line 84 of file Context.cpp.
00088 { 00089 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00090 } |
|
Definition at line 52 of file Context.cpp.
00053 { 00054 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00055 } |
|
Definition at line 65 of file Context.cpp.
00067 { 00068 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00069 } |
|
Definition at line 72 of file Context.cpp.
00073 { 00074 throw ::CORBA::NO_IMPLEMENT (TAO::VMCID, CORBA::COMPLETED_NO); 00075 } |
|
Reference counter.
|