lestes::msg::argument_holder32< P0, P1, P2 > Class Template Reference

Argument holder. More...

#include <argument_holder.hh>

Inheritance diagram for lestes::msg::argument_holder32< P0, P1, P2 >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef convert< P1 >::to_ptr p1_type
 The type of the first argument.

Public Member Functions

p1_type p1_get (void) const
 Returns the first argument.

Static Public Member Functions

static ptr< argument_holder32<
P0, P1, P2 > > 
create (const ptr< argument_holder31< P0, P1, P2 > > &parent, const p1_type &a_p1)
 Returns the holder.

Protected Member Functions

 argument_holder32 (const ptr< argument_holder31< P0, P1, P2 > > &parent, const p1_type &a_p1)
 Creates the holder.
 argument_holder32 (const ptr< argument_holder32< P0, P1, P2 > > &other)
 Creates a copy of the holder.
void gc_mark (void)
 Marks the object.

Private Member Functions

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

Private Attributes

convert< P1 >::to_srp p1
 The first argument.

Detailed Description

template<typename P0, typename P1, typename P2>
class lestes::msg::argument_holder32< P0, P1, P2 >

Argument holder.

Holder for three arguments with two arguments filled.

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


Member Typedef Documentation

template<typename P0, typename P1, typename P2>
typedef convert<P1>::to_ptr lestes::msg::argument_holder32< P0, P1, P2 >::p1_type

The type of the first argument.


Constructor & Destructor Documentation

template<typename P0, typename P1, typename P2>
lestes::msg::argument_holder32< P0, P1, P2 >::argument_holder32 ( const ptr< argument_holder31< P0, P1, P2 > > &  parent,
const p1_type a_p1 
) [inline, protected]

Creates the holder.

Creates the holder for a one-argument message.

Parameters:
parent The parent of this holder.
a_p1 The first argument for the message.

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

Creates a copy of the holder.

Creates the holder by copying other holder.

Precondition:
a_other != NULL
Parameters:
a_other The holder to copy.

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

Hides copy constructor.


Member Function Documentation

template<typename P0, typename P1, typename P2>
argument_holder32< P0, P1, P2 >::p1_type lestes::msg::argument_holder32< P0, P1, P2 >::p1_get ( void   )  const [inline]

Returns the first argument.

Returns the first argument.

Returns:
The first argument.

template<typename P0, typename P1, typename P2>
ptr< argument_holder32< P0, P1, P2 > > lestes::msg::argument_holder32< P0, P1, P2 >::create ( const ptr< argument_holder31< P0, P1, P2 > > &  parent,
const p1_type a_p1 
) [inline, static]

Returns the holder.

Returns holder for two arguments.

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

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

Marks the object.

Marks the object for garbage collection.

Reimplemented from lestes::msg::argument_holder31< P0, P1, P2 >.

Reimplemented in lestes::msg::argument_holder33< P0, P1, P2 >.

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

Hides assignment operator.


Member Data Documentation

template<typename P0, typename P1, typename P2>
convert<P1>::to_srp lestes::msg::argument_holder32< P0, P1, P2 >::p1 [private]

The first argument.


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