Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BrokerFactory.cc File Reference


Detailed Description

The shared library interface for libbroker.

Definition in file BrokerFactory.cc.

Include dependency graph for BrokerFactory.cc:

Include dependency graph

Go to the source code of this file.

Functions

int bfHey (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, HeyParser &hp, ostream &out, ostream &err)
 Handle 'hey's directed at the library.
int bfManagerHey (CORBA::ORB_ptr orb, HeyParser &hp)
 Handle 'hey's directed at a Broker::Manager object.
int bfRealTimeTaskHey (CORBA::ORB_ptr orb, HeyParser &hp)
 Handle 'hey's directed at a Broker::RealTimeTask object.
int FACTORY_METHOD_SYMBOL (factory_library_op_t op, int tag, va_list args)
 The primary library function.


Function Documentation

int bfHey CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
HeyParser hp,
ostream &  out,
ostream &  err
[static]
 

Handle 'hey's directed at the library.

Parameters:
orb Pointer to the ORB.
poa The POA to use when activating any objects.
hp The HeyParser that describes the action to take.
out Standard out.
err Standard error.
Returns:
Zero on success, an errno value otherwise.

Definition at line 47 of file BrokerFactory.cc.

References manager, orb, HeyParser::popProperty(), require, rtt, HeyParser::what(), and HeyParser::withValue().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int bfManagerHey CORBA::ORB_ptr  orb,
HeyParser hp
[static]
 

Handle 'hey's directed at a Broker::Manager object.

Parameters:
orb Pointer to the ORB.
hp The HeyParser that describes the action to take.
Returns:
Zero on success, an errno value otherwise.

Definition at line 200 of file BrokerFactory.cc.

References manager, orb, HeyParser::popProperty(), ManagerImpl::ResolveTask(), HeyParser::to(), HeyParser::what(), HeyParser::who(), HeyParser::with(), and HeyParser::withValue().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int bfRealTimeTaskHey CORBA::ORB_ptr  orb,
HeyParser hp
[static]
 

Handle 'hey's directed at a Broker::RealTimeTask object.

Parameters:
orb Pointer to the ORB.
hp The HeyParser that describes the action to take.
Returns:
Zero on success, an errno value otherwise.

Definition at line 454 of file BrokerFactory.cc.

References Broker::CPUReserve::Compute, manager, orb, Broker::CPUReserve::Period, HeyParser::popProperty(), rtt, string_to_microsec(), HeyParser::to(), HeyParser::what(), HeyParser::who(), and HeyParser::withValue().

Referenced by FACTORY_METHOD_SYMBOL().

Here is the call graph for this function:

int FACTORY_METHOD_SYMBOL factory_library_op_t  op,
int  tag,
va_list  args
 

The primary library function.

This function provides a generic interface to the capabilities of a shared library.

Parameters:
op The sub-operation to execute.
tag The first tag in the tag list.
args The remaining tags in the tag list.
Returns:
Zero if the operation succeeded, an errno value otherwise.

Definition at line 634 of file BrokerFactory.cc.

References bfHey(), bfManagerHey(), bfRealTimeTaskHey(), FLO_HEY, FLO_QUERY, FMA_HeyParser, FMA_HeyServerHint, FMA_ORB, FMA_POA, FMA_StandardError, and FMA_StandardOut.

Here is the call graph for this function:


Generated on Fri Oct 22 07:50:29 2004 for CPU Broker by  doxygen 1.3.9.1