Orocos Real-Time Toolkit
2.6.0
|
00001 #include "MemberFactory.hpp" 00002 #include "../Logger.hpp" 00003 00004 using namespace std; 00005 using namespace RTT; 00006 using namespace RTT::detail; 00007 00008 bool MemberFactory::resize(base::DataSourceBase::shared_ptr arg, int size) const { 00009 return false; 00010 } 00011 00012 vector<string> MemberFactory::getMemberNames() const 00013 { 00014 return vector<string>(); 00015 } 00016 00017 bool MemberFactory::getMember(internal::Reference* ref, DataSourceBase::shared_ptr item, const std::string& part_name) const 00018 { 00019 return false; 00020 } 00021 00022 DataSourceBase::shared_ptr MemberFactory::getMember(DataSourceBase::shared_ptr item, const std::string& part_name) const 00023 { 00037 if ( part_name.empty() ) 00038 return item; 00039 else 00040 return DataSourceBase::shared_ptr(); 00041 } 00042 00043 DataSourceBase::shared_ptr MemberFactory::getMember(DataSourceBase::shared_ptr item, DataSourceBase::shared_ptr id) const 00044 { 00058 return DataSourceBase::shared_ptr(); 00059 } 00060 00061