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 >:

lestes::msg::argument_holder31< P0, P1, P2 > lestes::msg::argument_holder30< P0, P1, P2 > object lestes::msg::argument_holder33< P0, P1, P2 > 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.

Definition at line 785 of file argument_holder.hh.


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.

Definition at line 788 of file argument_holder.hh.


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.

Definition at line 815 of file argument_holder.hh.

00815                                                                                                                    :
00816         argument_holder31<P0,P1,P2>(checked(parent)),
00817         p1(a_p1)
00818 {
00819 }

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.

Definition at line 827 of file argument_holder.hh.

00827                                                                                              :
00828         argument_holder31<P0,P1,P2>(checked(other)),
00829         p1(other->p1_get())
00830 {
00831 }

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.

Definition at line 838 of file argument_holder.hh.

References lestes::msg::argument_holder32< P0, P1, P2 >::p1.

00839 {
00840         return p1;
00841 }

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.

Definition at line 851 of file argument_holder.hh.

00853 {
00854         return new argument_holder32<P0,P1,P2>(parent,a_p1);
00855 }

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 >.

Definition at line 861 of file argument_holder.hh.

References lestes::gc_mark_srp(), and lestes::msg::argument_holder32< P0, P1, P2 >::p1.

00862 {
00863         gc_mark_srp(p1);
00864         argument_holder31<P0,P1,P2>::gc_mark();
00865 }

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.

Definition at line 802 of file argument_holder.hh.

Referenced by lestes::msg::argument_holder32< P0, P1, P2 >::gc_mark(), and lestes::msg::argument_holder32< P0, P1, P2 >::p1_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