|
Robot Raconteur Core C++ Library
|
Dynamic service factory base class. More...
#include <ServiceFactory.h>
Public Member Functions | |
| virtual boost::shared_ptr< ServiceFactory > | CreateServiceFactory (boost::string_ref def)=0 |
| Override to return service factory from a service definition string. | |
| virtual std::vector< boost::shared_ptr< ServiceFactory > > | CreateServiceFactories (const std::vector< std::string > &def)=0 |
| Override to return collection of service factories from a collection of service definition strings. | |
Dynamic service factory base class.
Dynamic service factories are used to automatically generate service definitions as needed. They are using with dynamic languages such as Python and MATLAB with service definitions pulled by the client.
|
pure virtual |
Override to return collection of service factories from a collection of service definition strings.
Factory should return a vector service factory implementing the provided vector of service definition string. Clients will provide related service definitions at the same time so they can be verified.
| def | The collection of service definition strings |
|
pure virtual |
Override to return service factory from a service definition string.
Factory should return a service factory implementing the provided service definition string.
| def | The service definition as a string |