GAMS  1.4.0
gams::pose::ReferenceFrameArena Class Reference

#include <ReferenceFrame.h>

Public Member Functions

std::shared_ptr< ReferenceFrameIdentityfind (std::string id) const
 
void gc ()
 Old versions of frames can remain loaded in memory after they are no longer needed. More...
 
std::shared_ptr< ReferenceFrameIdentitylookup (std::string id)
 
std::shared_ptr< ReferenceFrameIdentitymake_guid ()
 

Private Attributes

std::map< std::string, std::weak_ptr< ReferenceFrameIdentity > > idents_
 

Detailed Description

Definition at line 79 of file ReferenceFrame.h.

Member Function Documentation

◆ find()

std::shared_ptr<ReferenceFrameIdentity> gams::pose::ReferenceFrameArena::find ( std::string  id) const

◆ gc()

void gams::pose::ReferenceFrameArena::gc ( )

Old versions of frames can remain loaded in memory after they are no longer needed.

Call this function to clean them out.

◆ lookup()

std::shared_ptr<ReferenceFrameIdentity> gams::pose::ReferenceFrameArena::lookup ( std::string  id)

◆ make_guid()

std::shared_ptr<ReferenceFrameIdentity> gams::pose::ReferenceFrameArena::make_guid ( )

Member Data Documentation

◆ idents_

std::map<std::string, std::weak_ptr<ReferenceFrameIdentity> > gams::pose::ReferenceFrameArena::idents_
private

Definition at line 83 of file ReferenceFrame.h.


The documentation for this class was generated from the following file: