##

TransportTypes.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* 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.
*
*/
#ifndef GAZEBO_TRANSPORT_TRANSPORTTYPES_HH_
#define GAZEBO_TRANSPORT_TRANSPORTTYPES_HH_
#include <boost/shared_ptr.hpp>
// avoid collision from Mac OS X's ConditionalMacros.h
// see gazebo issue #1289
#ifdef __MACH__
# undef TYPE_BOOL
#endif
#include <google/protobuf/message.h>
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace transport
{
class Publisher;
class Publication;
class PublicationTransport;
class Subscriber;
class SubscriptionTransport;
class Node;
typedef boost::shared_ptr<google::protobuf::Message> MessagePtr;
typedef boost::shared_ptr<Publisher> PublisherPtr;
typedef boost::shared_ptr<Subscriber> SubscriberPtr;
typedef boost::shared_ptr<Node> NodePtr;
typedef boost::shared_ptr<Publication> PublicationPtr;
typedef boost::shared_ptr<PublicationTransport> PublicationTransportPtr;
typedef boost::shared_ptr<SubscriptionTransport> SubscriptionTransportPtr;
}
}
#endif
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
gazebo::transport::MessagePtr
boost::shared_ptr< google::protobuf::Message > MessagePtr
Definition: TransportTypes.hh:45
gazebo::transport::PublisherPtr
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:49
system.hh
gazebo::transport::SubscriberPtr
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
gazebo::transport::PublicationPtr
boost::shared_ptr< Publication > PublicationPtr
Definition: TransportTypes.hh:61
gazebo::transport::NodePtr
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
gazebo::transport::SubscriptionTransportPtr
boost::shared_ptr< SubscriptionTransport > SubscriptionTransportPtr
Definition: TransportTypes.hh:69
gazebo::transport::PublicationTransportPtr
boost::shared_ptr< PublicationTransport > PublicationTransportPtr
Definition: TransportTypes.hh:65
transport
transport
Definition: ConnectionManager.hh:35