#include <cstdint>
#include <memory>
#include <string>
#include <sstream>
#include <utility>
#include <gz/common/Console.hh>
#include <gz/sim/config.hh>
#include <gz/sim/Export.hh>
#include <gz/sim/Types.hh>
Go to the source code of this file.
|
class | BaseComponent |
| Base class for all components. More...
|
|
class | Component< DataType, Identifier, Serializer > |
| A component type that wraps any data type. The intention is for this class to be used to create simple components while avoiding a lot of boilerplate code. The Identifier must be a unique type so that type aliases can be used to create new components. However the type does not need to be defined anywhere eg. More...
|
|
class | Component< NoData, Identifier, Serializer > |
| Specialization for components that don't wrap any data. This class to be used to create simple components that represent just a "tag", while avoiding a lot of boilerplate code. The Identifier must be a unique type so that type aliases can be used to create new components. However the type does not need to be defined anywhere eg. More...
|
|
class | DefaultSerializer< DataType > |
| Default serializer template to call stream operators only on types that support them. If the stream operator is not available, a warning message is printed. More...
|
|
class | DefaultSerializer< components::NoData > |
| Specialization of DefaultSerializer for NoData. More...
|
|
class | IsInStreamable< Stream, DataType > |
| Type trait that determines if a operator>> is defined on Stream and DataType , i.e, it checks if the function Stream& operator>>(Stream&, DataType&) exists. Example: More...
|
|
class | IsOutStreamable< Stream, DataType > |
| Type trait that determines if a operator<< is defined on Stream and DataType , i.e, it checks if the function Stream& operator<<(Stream&, const DataType&) exists. Example: More...
|
|
struct | IsSharedPtr< T > |
| Helper trait to determine if a type is shared_ptr or not. More...
|
|
struct | IsSharedPtr< std::shared_ptr< T > > |
| Helper trait to determine if a type is shared_ptr or not. More...
|
|
|
using | NoData = std::add_lvalue_reference< void > |
| Convenient type to be used by components that don't wrap any data. I.e. they act as tags and their presence is enough to infer something about the entity. More...
|
|