Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
StdRobDefAll.h File Reference

Go to the source code of this file.

Functions

ROBOTRACONTEUR_COMPANION_STDROBDEF_API void RobotRaconteur::Companion::RegisterStdRobDefServiceTypes (const boost::shared_ptr< RobotRaconteurNode > &node)
 Register standard robdef service types to the specified node.
ROBOTRACONTEUR_COMPANION_STDROBDEF_API void RobotRaconteur::Companion::RegisterStdRobDefServiceTypes ()
 Register standard robdef service types to the default singleton node.

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

◆ RegisterStdRobDefServiceTypes() [1/2]

ROBOTRACONTEUR_COMPANION_STDROBDEF_API void RobotRaconteur::Companion::RegisterStdRobDefServiceTypes ( )

Register standard robdef service types to the default singleton node.

Service types must be registered to the node before they can be used in C++. When generating files directly with the ROBOTRACONTEUR_GEN_THUNK_SOURCE, the master header will contain the types that were generated, but not imported types. Since the standard types are typically imported using the AUTO_IMPORT option, they will not be included in the master header. Use this function before node setup to register the standard types.

◆ RegisterStdRobDefServiceTypes() [2/2]

ROBOTRACONTEUR_COMPANION_STDROBDEF_API void RobotRaconteur::Companion::RegisterStdRobDefServiceTypes ( const boost::shared_ptr< RobotRaconteurNode > & node)

Register standard robdef service types to the specified node.

Service types must be registered to the node before they can be used in C++. When generating files directly with the ROBOTRACONTEUR_GEN_THUNK_SOURCE, the master header will contain the types that were generated, but not imported types. Since the standard types are typically imported using the AUTO_IMPORT option, they will not be included in the master header. Use this function before node setup to register the standard types.

Parameters
nodeThe node to register service types to