lestes::msg::argument_holder21< P0, P1 > Class Template Reference

Argument holder. More...

#include <argument_holder.hh>

Inheritance diagram for lestes::msg::argument_holder21< P0, P1 >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef convert< P0 >::to_ptr p0_type
 Type of the zeroth argument.

Public Member Functions

p0_type p0_get (void) const
 Returns the zeroth argument.

Static Public Member Functions

static ptr< argument_holder21<
P0, P1 > > 
create (const ptr< argument_holder20< P0, P1 > > &parent, const p0_type &a_p0)
 Returns the holder.

Protected Member Functions

 argument_holder21 (const ptr< argument_holder20< P0, P1 > > &parent, const p0_type &a_p0)
 Creates the holder.
 argument_holder21 (const ptr< argument_holder21< P0, P1 > > &other)
 Creates a copy of the holder.
void gc_mark (void)
 Marks the object.

Private Member Functions

 argument_holder21 (const argument_holder21< P0, P1 > &)
 Hides copy constructor.
argument_holder21< P0, P1 > & operator= (const argument_holder21< P0, P1 > &)
 Hides assignment operator.

Private Attributes

convert< P0 >::to_srp p0
 The zeroth argument.

Detailed Description

template<typename P0, typename P1>
class lestes::msg::argument_holder21< P0, P1 >

Argument holder.

Holder for two arguments with one argument filled.

Parameters:
P0 The type of the zeroth argument.
P1 The type of the first argument.


Member Typedef Documentation

template<typename P0, typename P1>
typedef convert<P0>::to_ptr lestes::msg::argument_holder21< P0, P1 >::p0_type

Type of the zeroth argument.


Constructor & Destructor Documentation

template<typename P0, typename P1>
lestes::msg::argument_holder21< P0, P1 >::argument_holder21 ( const ptr< argument_holder20< P0, P1 > > &  parent,
const p0_type a_p0 
) [inline, protected]

Creates the holder.

Creates the holder for two arguments.

Parameters:
a_parent The parent of this holder.
a_p0 The zeroth argument for the message.

template<typename P0, typename P1>
lestes::msg::argument_holder21< P0, P1 >::argument_holder21 ( const ptr< argument_holder21< P0, P1 > > &  other  )  [inline, protected]

Creates a copy of the holder.

Creates the holder by copying other holder.

Parameters:
a_other The holder to copy.

template<typename P0, typename P1>
lestes::msg::argument_holder21< P0, P1 >::argument_holder21 ( const argument_holder21< P0, P1 > &   )  [private]

Hides copy constructor.


Member Function Documentation

template<typename P0, typename P1>
argument_holder21< P0, P1 >::p0_type lestes::msg::argument_holder21< P0, P1 >::p0_get ( void   )  const [inline]

Returns the zeroth argument.

Returns the zeroth argument.

Returns:
The zeroth argument.

template<typename P0, typename P1>
ptr< argument_holder21< P0, P1 > > lestes::msg::argument_holder21< P0, P1 >::create ( const ptr< argument_holder20< P0, P1 > > &  parent,
const p0_type a_p0 
) [inline, static]

Returns the holder.

Returns the holder for two arguments.

Precondition:
parent != NULL
Parameters:
parent The parent of this holder.
a_p0 The zeroth argument for the message.
Returns:
The holder.

template<typename P0, typename P1>
void lestes::msg::argument_holder21< P0, P1 >::gc_mark ( void   )  [inline, protected]

Marks the object.

Marks the object for garbage collection.

Reimplemented from lestes::msg::argument_holder20< P0, P1 >.

Reimplemented in lestes::msg::argument_holder22< P0, P1 >.

template<typename P0, typename P1>
argument_holder21<P0,P1>& lestes::msg::argument_holder21< P0, P1 >::operator= ( const argument_holder21< P0, P1 > &   )  [private]

Hides assignment operator.


Member Data Documentation

template<typename P0, typename P1>
convert<P0>::to_srp lestes::msg::argument_holder21< P0, P1 >::p0 [private]

The zeroth argument.


The documentation for this class was generated from the following file:
Generated on Mon Feb 12 18:49:35 2007 for lestes by doxygen 1.5.1-20070107