dependencies.cpp
Go to the documentation of this file.
00001 
00025 #include <predicate_manager/dependencies.h>
00026 
00027 
00028 using namespace predicate_manager;
00029 
00030 Dependencies::
00031 Dependencies() :
00032     nh_ (),
00033     pm_id_ ( 0 )
00034 {
00035     nh_.getParam ( "pm_id", ( int& ) pm_id_ );
00036 }
00037 
00038 
00039 Dependencies
00040 Dependencies::
00041 add ( const std::string& name )
00042 {
00043     return add ( make_pair ( pm_id_, name ) );
00044 }
00045 
00046 
00047 Dependencies
00048 Dependencies::
00049 add ( const int pm_id, const std::string& name )
00050 {
00051     return add ( make_pair ( pm_id, name ) );
00052 }
00053 
00054 
00055 Dependencies
00056 Dependencies::
00057 add ( const NameID& pred_nid )
00058 {
00059     dependency_set_.insert ( pred_nid );
00060     return *this;
00061 }


predicate_manager
Author(s): Joao Reis and Joao Messias
autogenerated on Wed Aug 26 2015 12:28:34