Robot Raconteur Core C++ Library
Classes | Functions
Generator.h File Reference

Go to the source code of this file.

Classes

class  RobotRaconteur::Generator< Return, Param >
 Generator type for use with generator functions, with parameter and return. More...
 
class  RobotRaconteur::Generator< Return, void >
 Generator type for use with generator functions, with return. More...
 
class  RobotRaconteur::Generator< void, Param >
 Generator type for use with generator functions, with parameter. More...
 
class  RobotRaconteur::SyncGenerator< Return, Param >
 Helper class for synchronous service generators. More...
 
class  RobotRaconteur::SyncGenerator< Return, void >
 Helper class for synchronous service generators. More...
 
class  RobotRaconteur::SyncGenerator< void, Param >
 Helper class for synchronous service generators. More...
 
class  RobotRaconteur::RangeGenerator< T >
 Utility class to use a C++ range with Generator<Return,void>. More...
 

Functions

template<typename T >
boost::shared_ptr< RangeGenerator< T > > RobotRaconteur::CreateRangeGenerator (const T &range)
 Create a RangeGenerator from a range. More...
 

Detailed Description

Author
John Wason, PhD
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ CreateRangeGenerator()

template<typename T >
boost::shared_ptr<RangeGenerator<T> > RobotRaconteur::CreateRangeGenerator ( const T &  range)

Create a RangeGenerator from a range.

Template Parameters
TThe type contained in the range
Parameters
rangeThe range object to use with generator. Examples include std::vector<T> and std::list<T>
Returns
RR_SHARED_PTR<RangeGenerator<T> > The created RangeGenerator