Generate wrappers for anonymous structs within mjVisual.
PiperOrigin-RevId: 828548681 Change-Id: I07f8b407157b91ac24b38604b20826541e20e23e
This commit is contained in:
committed by
Copybara-Service
parent
c3858f267a
commit
8104235f8e
@@ -46,103 +46,7 @@ using mjVisualMap = decltype(::mjVisual::map);
|
||||
using mjVisualScale = decltype(::mjVisual::scale);
|
||||
using mjVisualRgba = decltype(::mjVisual::rgba);
|
||||
|
||||
// {{ AUTOGENNED_STRUCT_DEFINITIONS }}
|
||||
|
||||
struct MjVisualGlobal {
|
||||
MjVisualGlobal();
|
||||
explicit MjVisualGlobal(mjVisualGlobal *ptr);
|
||||
MjVisualGlobal(const MjVisualGlobal &);
|
||||
MjVisualGlobal &operator=(const MjVisualGlobal &);
|
||||
~MjVisualGlobal();
|
||||
std::unique_ptr<MjVisualGlobal> copy();
|
||||
mjVisualGlobal* get() const;
|
||||
void set(mjVisualGlobal* ptr);
|
||||
// INSERT-GENERATED-MjVisualGlobal-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualGlobal* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
|
||||
struct MjVisualQuality {
|
||||
MjVisualQuality();
|
||||
explicit MjVisualQuality(mjVisualQuality *ptr);
|
||||
MjVisualQuality(const MjVisualQuality &);
|
||||
MjVisualQuality &operator=(const MjVisualQuality &);
|
||||
~MjVisualQuality();
|
||||
std::unique_ptr<MjVisualQuality> copy();
|
||||
mjVisualQuality* get() const;
|
||||
void set(mjVisualQuality* ptr);
|
||||
// INSERT-GENERATED-MjVisualQuality-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualQuality* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
|
||||
struct MjVisualHeadlight {
|
||||
MjVisualHeadlight();
|
||||
explicit MjVisualHeadlight(mjVisualHeadlight *ptr);
|
||||
MjVisualHeadlight(const MjVisualHeadlight &);
|
||||
MjVisualHeadlight &operator=(const MjVisualHeadlight &);
|
||||
~MjVisualHeadlight();
|
||||
std::unique_ptr<MjVisualHeadlight> copy();
|
||||
mjVisualHeadlight* get() const;
|
||||
void set(mjVisualHeadlight* ptr);
|
||||
// INSERT-GENERATED-MjVisualHeadlight-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualHeadlight* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
|
||||
struct MjVisualMap {
|
||||
MjVisualMap();
|
||||
explicit MjVisualMap(mjVisualMap *ptr);
|
||||
MjVisualMap(const MjVisualMap &);
|
||||
MjVisualMap &operator=(const MjVisualMap &);
|
||||
~MjVisualMap();
|
||||
std::unique_ptr<MjVisualMap> copy();
|
||||
mjVisualMap* get() const;
|
||||
void set(mjVisualMap* ptr);
|
||||
// INSERT-GENERATED-MjVisualMap-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualMap* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
|
||||
struct MjVisualScale {
|
||||
MjVisualScale();
|
||||
explicit MjVisualScale(mjVisualScale *ptr);
|
||||
MjVisualScale(const MjVisualScale &);
|
||||
MjVisualScale &operator=(const MjVisualScale &);
|
||||
~MjVisualScale();
|
||||
std::unique_ptr<MjVisualScale> copy();
|
||||
mjVisualScale* get() const;
|
||||
void set(mjVisualScale* ptr);
|
||||
// INSERT-GENERATED-MjVisualScale-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualScale* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
|
||||
struct MjVisualRgba {
|
||||
MjVisualRgba();
|
||||
explicit MjVisualRgba(mjVisualRgba *ptr);
|
||||
MjVisualRgba(const MjVisualRgba &);
|
||||
MjVisualRgba &operator=(const MjVisualRgba &);
|
||||
~MjVisualRgba();
|
||||
std::unique_ptr<MjVisualRgba> copy();
|
||||
mjVisualRgba* get() const;
|
||||
void set(mjVisualRgba* ptr);
|
||||
// INSERT-GENERATED-MjVisualRgba-DEFINITIONS
|
||||
|
||||
private:
|
||||
mjVisualRgba* ptr_;
|
||||
bool owned_ = false;
|
||||
};
|
||||
// {{ AUTOGENNED_STRUCTS_HEADER }}
|
||||
|
||||
struct MjVisual {
|
||||
MjVisual();
|
||||
|
||||
Reference in New Issue
Block a user