|
virtual base::ChannelElementBase::shared_ptr | buildRemoteChannelOutput (base::OutputPortInterface &output_port, types::TypeInfo const *type_info, base::InputPortInterface &input, const ConnPolicy &policy) |
|
bool | installTypeInfoObject (TypeInfo *ti) |
|
| TemplateTypeInfo (std::string name) |
|
virtual | ~TemplateTypeInfo () |
|
virtual bool | composeType (base::DataSourceBase::shared_ptr source, base::DataSourceBase::shared_ptr result) const |
|
virtual base::DataSourceBase::shared_ptr | decomposeType (base::DataSourceBase::shared_ptr source) const |
|
virtual bool | decomposeType (base::DataSourceBase::shared_ptr source, PropertyBag &targetbag) const |
|
boost::shared_ptr< PrimitiveTypeInfo< T, use_ostream > > | getSharedPtr () |
|
TypeInfo * | getTypeInfoObject () const |
|
virtual const std::string & | getTypeName () const |
|
virtual bool | isStreamable () const |
|
| PrimitiveTypeInfo (std::string name) |
|
virtual std::istream & | read (std::istream &os, base::DataSourceBase::shared_ptr out) const |
|
virtual std::ostream & | write (std::ostream &os, base::DataSourceBase::shared_ptr in) const |
|
virtual | ~PrimitiveTypeInfo () |
|
virtual | ~TypeInfoGenerator () |
|
base::DataSourceBase::shared_ptr | buildActionAlias (base::ActionInterface *action, base::DataSourceBase::shared_ptr in) const |
|
base::AttributeBase * | buildAlias (std::string name, base::DataSourceBase::shared_ptr in) const |
|
base::AttributeBase * | buildAttribute (std::string name, base::DataSourceBase::shared_ptr in) const |
|
base::AttributeBase * | buildConstant (std::string name, base::DataSourceBase::shared_ptr dsb) const |
|
virtual base::PropertyBase * | buildProperty (const std::string &name, const std::string &desc, base::DataSourceBase::shared_ptr source=0) const |
|
virtual base::DataSourceBase::shared_ptr | buildReference (void *ptr) const |
|
virtual base::DataSourceBase::shared_ptr | buildValue () const |
|
base::AttributeBase * | buildVariable (std::string name) const |
|
virtual | ~ValueFactory () |
|
virtual base::AttributeBase * | buildConstant (std::string name, base::DataSourceBase::shared_ptr, int sizehint) const |
|
virtual base::AttributeBase * | buildVariable (std::string name, int sizehint) const |
|
virtual | ~StreamFactory () |
|
virtual std::string | toString (base::DataSourceBase::shared_ptr in) const |
|
virtual bool | fromString (const std::string &value, base::DataSourceBase::shared_ptr out) const |
|
base::ChannelElementBase::shared_ptr | buildChannelInput (base::OutputPortInterface &port, ConnPolicy const &policy) const |
|
base::ChannelElementBase::shared_ptr | buildChannelOutput (base::InputPortInterface &port, ConnPolicy const &policy) const |
|
base::ChannelElementBase::shared_ptr | buildDataStorage (ConnPolicy const &policy) const |
|
internal::SharedConnectionBase::shared_ptr | buildSharedConnection (base::OutputPortInterface *output_port, base::InputPortInterface *input_port, ConnPolicy const &policy) const |
|
base::InputPortInterface * | inputPort (std::string const &name) const |
|
base::OutputPortInterface * | outputPort (std::string const &name) const |
|
virtual bool | composeType (base::DataSourceBase::shared_ptr source, base::DataSourceBase::shared_ptr result) const |
|
virtual bool | composeTypeImpl (const PropertyBag &source, typename internal::AssignableDataSource< T >::reference_t result) const |
|
virtual base::DataSourceBase::shared_ptr | decomposeType (base::DataSourceBase::shared_ptr source) const |
|
virtual bool | decomposeTypeImpl (typename internal::AssignableDataSource< T >::const_reference_t source, PropertyBag &targetbag) const |
|
virtual base::DataSourceBase::shared_ptr | convertType (base::DataSourceBase::shared_ptr source) const |
|
virtual | ~CompositionFactory () |
|
template<typename T, bool use_ostream = false>
class RTT::types::TemplateTypeInfo< T, use_ostream >
This template class allows user types to be used in all Orocos primitives. It provides 'default' implementations for virtual functions of TypeInfo. For user defined types, this is very likely not satisfactory and the user needs to override the methods of this class in a subclass or provide specialised global functions.
- Parameters
-
T | The user class type. |
use_ostream | When set to true, the class will use operator<<(std::ostream&, T) to write out the type to a stream. When set to false, the class will use this function and write '( type name )' to a stream instead. Defaults to false. Set to true if your class T has the above mentioned function. |
- See also
- TypeInfoRepository.
-
operator<<
-
StructTypeInfo, SequenceTypeInfo
Definition at line 73 of file rtt-types-fwd.hpp.
template<typename T, bool use_ostream = false>
Installs the type info object in the global data source type info handler and adds any additional features to the type info object. This method will be called by the TypeInfoRepository, in order to register this type's factories into the TypeInfo object.
- Parameters
-
ti | A valid TypeInfo object into which new features may be installed |
- Returns
- true if this object may be deleted, false if not.
- Postcondition
- When true is returned, this instance is still valid and the caller (TypeInfoRepository) will delete it. When false is returned, the validity is undefined and the instance will not be used anymore by the caller.
Reimplemented from RTT::types::PrimitiveTypeInfo< T, use_ostream >.
Definition at line 109 of file TemplateTypeInfo.hpp.