TAO_Link_Attributes_i Class Reference

This class stores, allows access to and modification of trader's link attributes. More...

#include <Trader.h>

Collaboration diagram for TAO_Link_Attributes_i:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Link_Attributes_i (TAO_Lockable &locker)
 ~TAO_Link_Attributes_i ()
CosTrading::FollowOption max_link_follow_policy (void) const
void max_link_follow_policy (CosTrading::FollowOption)

Private Attributes

TAO_Lockablelocker_
 A reference to the trader (needed for obtaining the lock.).
CosTrading::FollowOption max_link_follow_policy_

Detailed Description

This class stores, allows access to and modification of trader's link attributes.

Contains a reference to the trader from which it is used so it can use trader's lock.

Definition at line 205 of file Trader.h.


Constructor & Destructor Documentation

TAO_Link_Attributes_i::TAO_Link_Attributes_i ( TAO_Lockable locker  ) 

Definition at line 566 of file Trader.cpp.

00567   :locker_ (locker),
00568    max_link_follow_policy_ (CosTrading::local_only)
00569 {
00570 }

TAO_Link_Attributes_i::~TAO_Link_Attributes_i (  ) 

Definition at line 572 of file Trader.cpp.

00573 {
00574 }


Member Function Documentation

void TAO_Link_Attributes_i::max_link_follow_policy ( CosTrading::FollowOption   ) 

Definition at line 585 of file Trader.cpp.

References ACE_WRITE_GUARD, and max_link_follow_policy_.

00586 {
00587   ACE_WRITE_GUARD (ACE_Lock, ace_mon, this->locker_.lock ());
00588   this->max_link_follow_policy_ = new_value;
00589 }

CosTrading::FollowOption TAO_Link_Attributes_i::max_link_follow_policy ( void   )  const

Definition at line 577 of file Trader.cpp.

References ACE_READ_GUARD_RETURN, CosTrading::local_only, and max_link_follow_policy_.

Referenced by TAO_Link_Attributes< IF >::max_link_follow_policy().

00578 {
00579   ACE_READ_GUARD_RETURN (ACE_Lock, ace_mon, this->locker_.lock (),
00580                          CosTrading::local_only);
00581   return this->max_link_follow_policy_;
00582 }


Member Data Documentation

TAO_Lockable& TAO_Link_Attributes_i::locker_ [private]

A reference to the trader (needed for obtaining the lock.).

Definition at line 221 of file Trader.h.

CosTrading::FollowOption TAO_Link_Attributes_i::max_link_follow_policy_ [private]

Definition at line 224 of file Trader.h.

Referenced by max_link_follow_policy().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:49:32 2010 for TAO_CosTrader by  doxygen 1.4.7