#include <Property_T.h>
Inheritance diagram for TAO_Notify_PropertyBase_T< TYPE >:
Public Member Functions | |
TAO_Notify_PropertyBase_T (const char *name, const TYPE &initial) | |
Constructor. | |
TAO_Notify_PropertyBase_T (const char *name) | |
Constructor. | |
TAO_Notify_PropertyBase_T (const TAO_Notify_PropertyBase_T &rhs) | |
Copy Constructor. | |
~TAO_Notify_PropertyBase_T () | |
Destructor. | |
bool | operator== (const TYPE &rhs) const |
Equality comparison operator. | |
bool | operator!= (const TYPE &rhs) const |
Inequality comparison operator. | |
void | get (CosNotification::PropertySeq &prop_seq) |
Populate the Property Sequence with this valid value. | |
void | assign (const TYPE &value) |
const TYPE & | value (void) const |
Return the value. | |
const char * | name (void) const |
Return the name. | |
CORBA::Boolean | is_valid (void) const |
Is the current value valid. | |
void | invalidate (void) |
Invalidate this property's value. | |
Protected Attributes | |
const char * | name_ |
The Property name. | |
TYPE | value_ |
The value. | |
CORBA::Boolean | valid_ |
Is the value valid. |
Definition at line 37 of file Property_T.h.
TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const char * | name, | |
const TYPE & | initial | |||
) |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const char * | name | ) |
TAO_Notify_PropertyBase_T< TYPE >::TAO_Notify_PropertyBase_T | ( | const TAO_Notify_PropertyBase_T< TYPE > & | rhs | ) |
TAO_Notify_PropertyBase_T< TYPE >::~TAO_Notify_PropertyBase_T | ( | ) |
ACE_INLINE void TAO_Notify_PropertyBase_T< TYPE >::assign | ( | const TYPE & | value | ) |
Definition at line 46 of file Property_T.inl.
References TAO_Notify_PropertyBase_T< TYPE >::valid_, and TAO_Notify_PropertyBase_T< TYPE >::value_.
Referenced by TAO_Notify::NVPList::load().
void TAO_Notify_PropertyBase_T< TYPE >::get | ( | CosNotification::PropertySeq & | prop_seq | ) |
Populate the Property Sequence with this valid value.
Make space
Definition at line 50 of file Property_T.cpp.
References TAO_Notify_PropertyBase_T< TYPE >::value_.
00051 { 00052 /// Make space 00053 prop_seq.length (prop_seq.length () + 1); 00054 00055 prop_seq[prop_seq.length () - 1].value <<= this->value_; 00056 }
ACE_INLINE void TAO_Notify_PropertyBase_T< TYPE >::invalidate | ( | void | ) |
Invalidate this property's value.
Definition at line 39 of file Property_T.inl.
References TAO_Notify_PropertyBase_T< TYPE >::valid_.
00040 { 00041 this->valid_ = 0; 00042 }
ACE_INLINE CORBA::Boolean TAO_Notify_PropertyBase_T< TYPE >::is_valid | ( | void | ) | const |
Is the current value valid.
Definition at line 21 of file Property_T.inl.
References TAO_Notify_PropertyBase_T< TYPE >::valid_.
Referenced by TAO_Notify_Buffering_Strategy::enqueue(), and TAO_Notify_SequencePushConsumer::enqueue_if_necessary().
00022 { 00023 return this->valid_; 00024 }
ACE_INLINE const char * TAO_Notify_PropertyBase_T< TYPE >::name | ( | void | ) | const |
Return the name.
Definition at line 15 of file Property_T.inl.
References TAO_Notify_PropertyBase_T< TYPE >::name_.
Referenced by TAO_Notify::NVPList::load().
00016 { 00017 return this->name_; 00018 }
ACE_INLINE bool TAO_Notify_PropertyBase_T< TYPE >::operator!= | ( | const TYPE & | rhs | ) | const |
ACE_INLINE bool TAO_Notify_PropertyBase_T< TYPE >::operator== | ( | const TYPE & | rhs | ) | const |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE const TYPE & TAO_Notify_PropertyBase_T< TYPE >::value | ( | void | ) | const |
Return the value.
Definition at line 8 of file Property_T.inl.
References TAO_Notify_PropertyBase_T< TYPE >::value_.
Referenced by TAO_Notify_ProxySupplier::connect(), TAO_Notify_ProxyConsumer::connect(), TAO_Notify_Buffering_Strategy::enqueue(), TAO_Notify_SequencePushConsumer::enqueue_if_necessary(), TAO_Notify_QoSProperties::init(), TAO_Notify_Method_Request_Queueable::init(), TAO_Notify_AdminProperties::init(), TAO_Notify::NVP::NVP(), TAO_Notify_Buffering_Strategy::queue(), and TAO_Notify_Property_T< TYPE >::set().
00009 { 00010 return this->value_; 00011 }
const char* TAO_Notify_PropertyBase_T< TYPE >::name_ [protected] |
The Property name.
Definition at line 78 of file Property_T.h.
Referenced by TAO_Notify_PropertyBase_T< TYPE >::name().
CORBA::Boolean TAO_Notify_PropertyBase_T< TYPE >::valid_ [protected] |
Is the value valid.
Definition at line 84 of file Property_T.h.
Referenced by TAO_Notify_PropertyBase_T< TYPE >::assign(), TAO_Notify_PropertyBase_T< TYPE >::invalidate(), TAO_Notify_PropertyBase_T< TYPE >::is_valid(), and TAO_Notify_Property_T< TYPE >::set().
TYPE TAO_Notify_PropertyBase_T< TYPE >::value_ [protected] |
The value.
Definition at line 81 of file Property_T.h.
Referenced by TAO_Notify_PropertyBase_T< TYPE >::assign(), TAO_Notify_PropertyBase_T< TYPE >::get(), TAO_Notify_Property_T< TYPE >::set(), and TAO_Notify_PropertyBase_T< TYPE >::value().