NEOCCA bindings Specification  0.2.8
helpers.hh
Go to the documentation of this file.
00001 #ifndef neo_support_helpers_h_seen
00002 #define neo_support_helpers_h_seen
00003 #include <map>
00004 #include <string>
00005 // requires neocca.hh
00006 // requires neoports.hh
00007 
00008 namespace neo {
00009 namespace support {
00010 namespace helpers {
00011 
00012 void
00013 setParamsFromString(neo::cca::TypeMap_shared tm, std::map< std::string, std::string > & values);
00014 
00015 void 
00016 setParameters(const std::string compName, const std::string port, neo::cca::ComponentID_shared comp, neo::cca::ports::BuilderService *bs, neo::cca::Services *services, std::map< std::string, std::string > & values);
00017 
00018 int
00019 invokeGo( const std::string comp, const std::string port, neo::cca::ComponentID_shared target, neo::cca::Services *services, neo::cca::ports::BuilderService *bs);
00020 
00022 ::neo::cca::Type
00023 typeFromString( const ::std::string &typeName);
00024 
00032 void
00033 transformString(const ::std::string & key, ::neo::cca::Type dt, const ::std::string & v, ::neo::cca::TypeMap_shared tm);
00034 
00041 int
00042 putValueByStrings( ::neo::cca::TypeMap_shared t, const ::std::string & key, const ::std::string &vtype, const ::std::string & val);
00043 
00045 const std::string 
00046 typeToName( ::neo::cca::Type t);
00047 
00051 ::std::string
00052 stringType( ::neo::cca::TypeMap_shared t, const ::std::string &key);
00053 
00056 ::std::string 
00057 stringValue( ::neo::cca::TypeMap_shared t, const ::std::string &key);
00058 
00062 void
00063 dumpTypeMapStdout(::neo::cca::TypeMap_shared t);
00064 
00065 
00066 }  // end namespace helpers
00067 }  // end namespace support
00068 }  // end namespace neo
00069 #endif // neo_support_helpers_h_seen