38 #include "../types/TypeInfoName.hpp" 40 #include "rtt-config.h" 41 #include "../types/Types.hpp" 42 #include "../types/TypeTransporter.hpp" 48 return mobj->getTypeInfo()->write( os, mobj );
63 using namespace detail;
67 const char*
bad_assignment::what()
const throw() {
return "Bad DataSource assignment: incompatible types."; }
94 return mobj->getTypeInfo()->write( os, mobj );
101 return mobj->getTypeInfo()->toString( mobj );
125 if ( part_name.empty() )
151 TypeInfoObject =
new TypeInfo(
"unknown_t");
152 return TypeInfoObject;
172 return TypeInfoObject;
virtual void const * getRawConstPointer()
const std::string & getTypeName() const
virtual std::vector< std::string > getMemberNames() const
The base class for all internal data representations.
std::ostream & write(std::ostream &os)
static shared_ptr stack_shared_ptr(DataSourceBase *dsb)
virtual ActionInterface * updateAction(DataSourceBase *other)
void RTT_API intrusive_ptr_add_ref(ChannelElementBase *e)
virtual ~DataSourceBase()
virtual const types::TypeInfo * getTypeInfo() const =0
virtual ~bad_assignment()
virtual void * getRawPointer()
virtual const char * what() const
virtual bool isAssignable() const
virtual bool update(DataSourceBase *other)
std::vector< std::string > getMemberNames() const
base::DataSourceBase::shared_ptr getMember(base::DataSourceBase::shared_ptr item, const std::string &name) const
RTT_API std::ostream & operator<<(std::ostream &os, DataSourceBase::shared_ptr dsb)
static const std::string & getTypeName()
Based on the software pattern 'command', this interface allows execution of action objects...
static const_ptr stack_const_ptr(const DataSourceBase *dsb)
virtual shared_ptr getMember(const std::string &member_name)
boost::intrusive_ptr< const DataSourceBase > const_ptr
static const types::TypeInfo * getTypeInfo()
void RTT_API intrusive_ptr_release(ChannelElementBase *e)
static const std::string & getQualifier()
static const std::string & getType()
boost::intrusive_ptr< DataSourceBase > shared_ptr
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
virtual shared_ptr getParent()