RTT::detail::AssignCommand< T, S > Class Template Reference

This is a command that will assign the value of an expression to another at runtime. More...

#include <rtt/AssignCommand.hpp>

Inherits RTT::Corba::CommandInterface.

List of all members.

Public Types

typedef AssignableDataSource
< T >::shared_ptr 
LHSSource
typedef DataSource< S >::const_ptr RHSSource
typedef CommandInterface_ptr _ptr_type
typedef CommandInterface_var _var_type
typedef CommandInterface_out _out_type

Public Member Functions

 AssignCommand (LHSSource l, RHSSource r)
 Assign r (rvalue) to l (lvalue);.
void readArguments ()
bool execute ()
virtual CommandInterfaceclone () const
virtual CommandInterfacecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const
virtual ::RTT::Corba::CommandList * getCommands (void)
virtual
::RTT::Corba::Descriptions * 
getArguments (const char *command)
virtual char * getResultType (const char *command)
virtual char * getDescription (const char *command)
virtual ::RTT::Corba::Command_ptr createCommand (const char *command, const ::RTT::Corba::Arguments &args)
virtual ::RTT::Corba::Command_ptr createCommandAny (const char *command, const ::RTT::Corba::AnyArguments &args)
virtual ::CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual ::CORBA::Boolean marshal (TAO_OutputCDR &cdr)

Static Public Member Functions

static CommandInterface_ptr _duplicate (CommandInterface_ptr obj)
static void _tao_release (CommandInterface_ptr obj)
static CommandInterface_ptr _narrow (::CORBA::Object_ptr obj)
static CommandInterface_ptr _unchecked_narrow (::CORBA::Object_ptr obj)
static CommandInterface_ptr _nil (void)
static void _tao_any_destructor (void *)

Protected Member Functions

virtual void RTT_Corba_CommandInterface_setup_collocation (void)

Friends

class TAO::Narrow_Utils< CommandInterface >

Detailed Description

template<typename T, typename S = T>
class RTT::detail::AssignCommand< T, S >

This is a command that will assign the value of an expression to another at runtime.

You pass it the AssignableDataSource that you want to assign to, and the DataSource that you want to assign on construction, and it will take care of the assignment. Note that both DataSource's need to be of a convertible type, and this class needs that type as its template parameter..

Parameters:
T Target type
S Source type

Definition at line 60 of file AssignCommand.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:45 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3