Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Method_Request Class Reference

Reifies a method into a request. Subclasses provide the necessary state and behavior. More...

#include <Method_Request.h>

List of all members.

Public Methods

 ACE_Method_Request (u_long priority = 0)
 Constructor.

virtual ~ACE_Method_Request (void)
 Destructor.

u_long priority (void) const
 Get priority.

void priority (u_long)
 Set priority.

virtual int call (void) = 0
 Invoked when the <Method_Request> is scheduled to run.


Protected Attributes

u_long priority_
 The priority of the request.


Private Methods

void operator= (const ACE_Method_Request &)
 ACE_Method_Request (const ACE_Method_Request &)


Detailed Description

Reifies a method into a request. Subclasses provide the necessary state and behavior.

A <Method_Request> is inserted in the , where it is subsequently removed by a <Scheduler>, which invokes the <call> method.


Constructor & Destructor Documentation

ACE_Method_Request::ACE_Method_Request ( u_long priority = 0 ) [inline]
 

Constructor.

ACE_Method_Request::~ACE_Method_Request ( void ) [virtual]
 

Destructor.

ACE_Method_Request::ACE_Method_Request ( const ACE_Method_Request & ) [private]
 


Member Function Documentation

int ACE_Method_Request::call ( void ) [pure virtual]
 

Invoked when the <Method_Request> is scheduled to run.

void ACE_Method_Request::operator= ( const ACE_Method_Request & ) [private]
 

void ACE_Method_Request::priority ( u_long prio )
 

Set priority.

u_long ACE_Method_Request::priority ( void ) const
 

Get priority.


Member Data Documentation

u_long ACE_Method_Request::priority_ [protected]
 

The priority of the request.


The documentation for this class was generated from the following files:
Generated at Sat Dec 1 11:03:07 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000