Orocos Real-Time Toolkit  2.8.3
ValueFactory.cpp
Go to the documentation of this file.
1 #include "ValueFactory.hpp"
2 #include "rtt-config.h"
3 
4 namespace RTT
5 {
6  using namespace std;
7  using namespace detail;
8  using namespace internal;
9 
10  AttributeBase* ValueFactory::buildVariable(std::string name, int ) const {
11  return this->buildVariable(name);
12  }
13 
15  return this->buildConstant(name, dsb );
16  }
17 }
STL namespace.
virtual base::AttributeBase * buildVariable(std::string name, int sizehint) const
Build a modifyable instance of this type.
virtual base::AttributeBase * buildConstant(std::string name, base::DataSourceBase::shared_ptr, int sizehint) const
Build a non modifyable instance of this type.
An attribute is a minimalistic, named placeholder for data.
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:51