Trader.h File Reference

#include "orbsvcs/Trader/Interpreter_Utils.h"
#include "ace/Containers.h"
#include "orbsvcs/CosTradingS.h"
#include "orbsvcs/CosTradingReposS.h"
#include "orbsvcs/CosTradingDynamicS.h"
#include "orbsvcs/Trader/trading_serv_export.h"

Include dependency graph for Trader.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  TAO_Trader_Factory
 Uses command line arguments to construct a trader instance with the correct interface support, locking, and policy settings. More...

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

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

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

class  TAO_Trading_Components_i
 Set/get methods for references to various interfaces of the trader. More...

class  TAO_Trader_Base
 TAO_Trader inherits from this "helper" class. The sole purpose of this class is to factor some of TAO_Trader's data members out, so that they would not have to be templatized and be be aware of the type of lock they use. More...


Typedefs

typedef ACE_Hash_Map_Manager_Ex<
CORBA::ULong, CosTrading::Offer *,
ACE_Hash< CORBA::ULong >,
ACE_Equal_To< CORBA::ULong >,
ACE_Null_Mutex
TAO_Offer_Map
typedef ACE_Unbounded_Set<
CORBA::String_var
TAO_String_Set
typedef ACE_Unbounded_Queue<
char * > 
TAO_String_Queue

Functions

bool operator> (const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &l, const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &r)
bool operator< (const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &l, const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &r)
bool operator== (const CosTrading::Admin::OctetSeq &left, const CosTrading::Admin::OctetSeq &right)

Variables

TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class 
TAO_Trader_Base


Detailed Description

Trader.h,v 1.62 2006/04/25 11:35:29 jwillemsen Exp

Author:
Marina Spivak <marina@cs.wustl.edu>

Seth Widoff <sbw1@cs.wustl.edu>

Irfan Pyarali <irfan@cs.wustl.edu>

Definition in file Trader.h.


Typedef Documentation

typedef ACE_Hash_Map_Manager_Ex<CORBA::ULong, CosTrading::Offer*, ACE_Hash<CORBA::ULong>, ACE_Equal_To<CORBA::ULong>, ACE_Null_Mutex> TAO_Offer_Map
 

Definition at line 499 of file Trader.h.

Referenced by TAO_Offer_Database< LOCK_TYPE >::insert_offer().

typedef ACE_Unbounded_Queue<char*> TAO_String_Queue
 

Definition at line 502 of file Trader.h.

Referenced by TAO_Service_Type_Repository::collect_inheritance_hierarchy(), TAO_Service_Type_Repository::fully_describe_type_i(), and TAO_Register< TRADER_LOCK_TYPE, MAP_LOCK_TYPE >::withdraw_using_constraint().

typedef ACE_Unbounded_Set<CORBA::String_var> TAO_String_Set
 

Definition at line 501 of file Trader.h.

Referenced by TAO_Offer_Modifier::delete_properties(), and TAO_Offer_Modifier::merge_properties().


Function Documentation

bool operator< const CosTradingRepos::ServiceTypeRepository::IncarnationNumber l,
const CosTradingRepos::ServiceTypeRepository::IncarnationNumber r
 

Definition at line 593 of file Trader.cpp.

References CosTradingRepos::ServiceTypeRepository::IncarnationNumber::high, and CosTradingRepos::ServiceTypeRepository::IncarnationNumber::low.

00595 {
00596   if (l.high < r.high)
00597     return true;
00598   else if (l.high == r.high)
00599     return (l.low < r.low);
00600   else
00601     return false;
00602 }

bool operator== const CosTrading::Admin::OctetSeq left,
const CosTrading::Admin::OctetSeq right
 

Definition at line 612 of file Trader.cpp.

00614 {
00615   bool return_value = false;
00616 
00617   const CORBA::ULong left_length = left.length ();
00618   const CORBA::ULong right_length = right.length ();
00619 
00620   if (left_length == right_length)
00621     {
00622       return_value = true;
00623 
00624       for (CORBA::ULong i = 0; i < left_length; ++i)
00625         {
00626           if (left[i] != right[i])
00627             {
00628               return_value = false;
00629               break;
00630             }
00631         }
00632     }
00633 
00634   return return_value;
00635 }

bool operator> const CosTradingRepos::ServiceTypeRepository::IncarnationNumber l,
const CosTradingRepos::ServiceTypeRepository::IncarnationNumber r
 

Definition at line 605 of file Trader.cpp.

00607 {
00608   return (r < l);
00609 }


Variable Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL class TAO_Trader_Base
 

Definition at line 41 of file Trader.h.


Generated on Thu Nov 9 14:00:24 2006 for TAO_CosTrader by doxygen 1.3.6