|
RTC Toolkit
0.1.0-alpha
|
#include <rtctk/componentFramework/serviceDiscovery.hpp>#include "rtctk/componentFramework/fakeRuntimeRepoAdapter.hpp"#include "rtctk/componentFramework/matrixBuffer.hpp"#include "rtctk/componentFramework/dataPointPath.hpp"#include "../../../componentFramework/services/common/src/fitsIoFunctions.hpp"#include <string>#include <exception>#include <iostream>#include <optional>#include <boost/program_options.hpp>#include <boost/optional.hpp>#include "operations.hpp"Functions | |
| template<class T > | |
| void | print_vector (std::vector< T > vec, bool endline=true) |
| template<class T > | |
| void | print_matrix (MatrixBuffer< T > mat) |
| int | GetData (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path) |
| int | Delete (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path) |
| int | DoList (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path) |
| int | SetData (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path, std::string type, std::string value) |
| int | DoRead (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path, const std::string &file) |
| int | DoWrite (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path, std::string type, const std::string &file) |
| int | GetDataWithServiceDiscovery (const elt::mal::Uri &endpoint, const DataPointPath &component_name, const DataPointPath &attribute) |
| std::unique_ptr< RepositoryIf > | GetRepository (std::string repo) |
| int | GetType (std::unique_ptr< RepositoryIf > &&rtr, const DataPointPath &path) |
| int Delete | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path | ||
| ) |
| int DoList | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path | ||
| ) |
| int DoRead | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path, | ||
| const std::string & | file | ||
| ) |
| int DoWrite | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path, | ||
| std::string | type, | ||
| const std::string & | file | ||
| ) |
| int GetData | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path | ||
| ) |
| int GetDataWithServiceDiscovery | ( | const elt::mal::Uri & | endpoint, |
| const DataPointPath & | component_name, | ||
| const DataPointPath & | attribute | ||
| ) |
| std::unique_ptr<RepositoryIf> GetRepository | ( | std::string | repo | ) |
| int GetType | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path | ||
| ) |
| void print_matrix | ( | MatrixBuffer< T > | mat | ) |
| void print_vector | ( | std::vector< T > | vec, |
| bool | endline = true |
||
| ) |
| int SetData | ( | std::unique_ptr< RepositoryIf > && | rtr, |
| const DataPointPath & | path, | ||
| std::string | type, | ||
| std::string | value | ||
| ) |