Orocos Real-Time Toolkit  2.9.0
MemberFactory.cpp
Go to the documentation of this file.
1 #include "MemberFactory.hpp"
2 #include "../Logger.hpp"
3 
4 using namespace std;
5 using namespace RTT;
6 using namespace RTT::detail;
7 
8 bool MemberFactory::resize(base::DataSourceBase::shared_ptr arg, int size) const {
9  return false;
10 }
11 
12  vector<string> MemberFactory::getMemberNames() const
13  {
14  return vector<string>();
15  }
16 
17 bool MemberFactory::getMember(internal::Reference* ref, DataSourceBase::shared_ptr item, const std::string& part_name) const
18 {
19  return false;
20 }
21 
22  DataSourceBase::shared_ptr MemberFactory::getMember(DataSourceBase::shared_ptr item, const std::string& part_name) const
23  {
37  if ( part_name.empty() )
38  return item;
39  else
41  }
42 
44  {
59  }
60 
61 
STL namespace.
Convenient short notation for every sub-namespace of RTT.
Object that may receive a reference to some data by means of a pointer or data source.
Definition: Reference.hpp:15
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:52