Gazebo Gazebo

API Reference

3.15.1
include/gz/sim/Types.hh File Reference
#include <chrono>
#include <cstdint>
#include <functional>
#include <utility>
#include <gz/common/Time.hh>

Go to the source code of this file.

Classes

struct  UpdateInfo
 Information passed to systems on the update callback. More...
 

Namespaces

 ignition
 This library is part of the Ignition Robotics project.
 
 ignition::gazebo
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 

Typedefs

using ComponentId = int
 A unique identifier for a component instance. The uniqueness of a ComponentId is scoped to the component's type. More...
 
using ComponentKey = std::pair< ComponentTypeId, ComponentId >
 A key that uniquely identifies, at the global scope, a component instance. More...
 
using ComponentTypeId = uint64_t
 A unique identifier for a component type. A component type must be derived from components::BaseComponent and can contain plain data or something more complex like gz::math::Pose3d. More...
 
using EntityQueryCallback = std::function< void(const UpdateInfo, EntityComponentManager &)>
 typedef for query callbacks More...
 

Enumerations

enum  ComponentState { NoChange = 0, PeriodicChange = 1, OneTimeChange = 2 }
 Possible states for a component. More...
 

Variables

static const ComponentId kComponentIdInvalid = -1
 Id that indicates an invalid component. More...
 
static const ComponentTypeId kComponentTypeIdInvalid = UINT64_MAX
 Id that indicates an invalid component type. More...