39 #ifndef ORO_PRIMITIVE_TYPEINFO_HPP 40 #define ORO_PRIMITIVE_TYPEINFO_HPP 43 #include "../Property.hpp" 44 #include "../Attribute.hpp" 45 #include "../Logger.hpp" 50 #include "../rtt-config.h" 69 template<
typename T,
bool use_ostream = false>
77 boost::shared_ptr<PrimitiveTypeInfo<T, use_ostream> >
mshared;
void setStreamFactory(StreamFactoryPtr sf)
void setValueFactory(ValueFactoryPtr dsf)
virtual void set(param_t t)=0
PrimitiveTypeInfo(std::string name)
virtual bool composeType(base::DataSourceBase::shared_ptr source, base::DataSourceBase::shared_ptr result) const
A container for holding references to properties.
bool installTypeInfoObject(TypeInfo *ti)
void setTypeId(TypeId tid)
virtual bool decomposeType(base::DataSourceBase::shared_ptr source, PropertyBag &targetbag) const
virtual std::ostream & write(std::ostream &os, base::DataSourceBase::shared_ptr in) const
virtual ~PrimitiveTypeInfo()
virtual const_reference_t rvalue() const =0
virtual const std::string & getTypeName() const
boost::shared_ptr< PrimitiveTypeInfo< T, use_ostream > > mshared
virtual base::DataSourceBase::shared_ptr decomposeType(base::DataSourceBase::shared_ptr source) const
virtual bool isStreamable() const
boost::intrusive_ptr< DataSource< T > > shared_ptr
boost::intrusive_ptr< AssignableDataSource< T > > shared_ptr
static shared_ptr Instance()
virtual std::istream & read(std::istream &os, base::DataSourceBase::shared_ptr out) const
TypeInfo * getTypeInfoObject() const
boost::intrusive_ptr< DataSourceBase > shared_ptr
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
boost::shared_ptr< PrimitiveTypeInfo< T, use_ostream > > getSharedPtr()