libRoadRunner Plugin C API  1.0.0
Plugin Framework for libRoadRunner
 All Data Structures Files Functions Variables Typedefs Groups Pages
Data Structures | Functions
rrp_cpp_support.h File Reference

Plugins API CPP Support Functions. More...

#include "rrp_api.h"
#include "rrRoadRunnerData.h"

Go to the source code of this file.

Data Structures

class  Parameter< T >
 

Functions

PluginManager * castToPluginManager (RRPluginManagerHandle handle)
 Cast a handle to RoadRunner PluginManager pointer, throws if it fails. More...
 
Plugin * castToPlugin (RRPluginHandle handle)
 Cast a handle to RoadRunner Plugin pointer, throws if it fails. More...
 
Parameters * castToParameters (RRParametersHandle handle)
 Cast a handle to RoadRunner Parameters pointer, throws if it fails. More...
 
PluginParameter * castToParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner PluginParameter pointer, throws if it fails. More...
 
Parameter< bool > * castToBoolParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<bool> pointer, throws if it fails. More...
 
Parameter< int > * castToIntParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<int> pointer, throws if it fails. More...
 
Parameter< double > * castToDoubleParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<double> pointer, throws if it fails. More...
 
Parameter< string > * castToStringParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<string> pointer, throws if it fails. More...
 
Parameter< Parameters > * castToParametersParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<Parameters> pointer, throws if it fails. More...
 
rr::RoadRunnerData * castToRoadRunnerData (RRParameterHandle handle)
 Cast a handle to RoadRunnerData pointer, throws if it fails. More...
 
Parameter< RoadRunnerData * > * castToRoadRunnerDataParameter (RRParameterHandle handle)
 Cast a handle to RoadRunner Parameter<RoadRunnerData*> pointer, throws if it fails. More...
 
RRCDataPtr createRRCData (const rr::RoadRunnerData &result)
 Creates a RRData structure from rr::RoadRunnerData object. More...
 

Detailed Description

Plugins API CPP Support Functions.

Author
Totte Karlsson & Herbert M Sauro

<-----------------------------------------------------------—

This file is part of cRoadRunner. See http://code.google.com/p/roadrunnerlib for more details.

Copyright (C) 2012-2013 University of Washington, Seattle, WA, USA

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.

In plain english this means:

You CAN freely download and use this software, in whole or in part, for personal, company internal, or commercial purposes;

You CAN use the software in packages or distributions that you create.

You SHOULD include a copy of the license in any redistribution you may make;

You are NOT required include the source of software, or of any modifications you may have made to it, in any redistribution you may assemble that includes it.

YOU CANNOT:

redistribute any piece of this software without proper attribution.