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

Argument holder. More...

#include <argument_holder.hh>

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

lestes::msg::argument_holder30< P0, P1, P2 > object lestes::msg::argument_holder32< P0, P1, P2 > lestes::msg::argument_holder33< P0, P1, P2 > 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_holder31<
P0, P1, P2 > > 
create (const ptr< argument_holder30< P0, P1, P2 > > &parent, const p0_type &a_p0)
 Returns the holder.

Protected Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

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

Argument holder.

Holder for three arguments with one argument filled.

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

Definition at line 693 of file argument_holder.hh.


Member Typedef Documentation

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

Type of the zeroth argument.

Definition at line 696 of file argument_holder.hh.


Constructor & Destructor Documentation

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

Creates the holder.

Creates the holder for three arguments.

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

Definition at line 724 of file argument_holder.hh.

00724                                                                                                                    :
00725         argument_holder30<P0,P1,P2>(checked(parent)),
00726         p0(a_p0)
00727 {
00728 }

template<typename P0, typename P1, typename P2>
lestes::msg::argument_holder31< P0, P1, P2 >::argument_holder31 ( const ptr< argument_holder31< 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.

Definition at line 736 of file argument_holder.hh.

00736                                                                                              :
00737         argument_holder30<P0,P1,P2>(checked(other)),
00738         p0(other->p0_get())
00739 {
00740 }

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

Hides copy constructor.


Member Function Documentation

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

Returns the zeroth argument.

Returns the zeroth argument.

Returns:
The zeroth argument.

Definition at line 747 of file argument_holder.hh.

References lestes::msg::argument_holder31< P0, P1, P2 >::p0.

00748 {
00749         return p0;
00750 }

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

Returns the holder.

Returns the holder for three arguments.

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

Definition at line 760 of file argument_holder.hh.

00762 {
00763         return new argument_holder31<P0,P1,P2>(parent,a_p0);
00764 }

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

Marks the object.

Marks the object for garbage collection.

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

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

Definition at line 770 of file argument_holder.hh.

References lestes::gc_mark_srp(), and lestes::msg::argument_holder31< P0, P1, P2 >::p0.

00771 {
00772         gc_mark_srp(p0);
00773         argument_holder30<P0,P1,P2>::gc_mark();
00774 }

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

Hides assignment operator.


Member Data Documentation

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

The zeroth argument.

Definition at line 710 of file argument_holder.hh.

Referenced by lestes::msg::argument_holder31< P0, P1, P2 >::gc_mark(), and lestes::msg::argument_holder31< P0, P1, P2 >::p0_get().


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