|
|
Provides access to the armarx::objpose::ObjectPoseStorageInterface (aka the object memory).
More...
#include <RobotAPI/libraries/ArmarXObjects/ObjectPoseClient.h>
Public Member Functions | |
| void | connect (const ObjectPoseStorageInterfacePrx &objectPoseStorage) |
| Connect to the given object pose storage. More... | |
| std::optional< ObjectPose > | fetchObjectPose (const ObjectID &objectID) const |
| Fetch the pose of a single object. More... | |
| std::optional< ObjectPose > | fetchObjectPoseFromProvider (const ObjectID &objectID, const std::string &providerName) const |
| Fetch the pose of a single object and a single provider. More... | |
| ObjectPoseSeq | fetchObjectPoses () const |
| Fetch all known object poses. More... | |
| ObjectPoseMap | fetchObjectPosesAsMap () const |
| Fetch all known object poses. More... | |
| ObjectPoseSeq | fetchObjectPosesFromProvider (const std::string &providerName) const |
| Fetch object poses from a specific provider. More... | |
| const ObjectFinder & | getObjectFinder () const |
| Get the internal object finder. More... | |
| const ObjectPoseStorageInterfacePrx & | getObjectPoseStorage () const |
| Get the object pose storage's proxy. More... | |
| bool | isConnected () const |
| Indicate whether this client is connected to an object pose storage. More... | |
| ObjectPoseClient () | |
| Construct a disconnected client. More... | |
| ObjectPoseClient (const ObjectPoseStorageInterfacePrx &objectPoseStorage, const ObjectFinder &finder={}) | |
| Construct a client and connect it to the object pose storage. More... | |
Public Attributes | |
| ObjectFinder | objectFinder |
| ObjectPoseStorageInterfacePrx | objectPoseStorage |
Provides access to the armarx::objpose::ObjectPoseStorageInterface (aka the object memory).
Definition at line 17 of file ObjectPoseClient.h.
| ObjectPoseClient | ( | ) |
Construct a disconnected client.
Definition at line 10 of file ObjectPoseClient.cpp.
| ObjectPoseClient | ( | const ObjectPoseStorageInterfacePrx & | objectPoseStorage, |
| const ObjectFinder & | finder = {} |
||
| ) |
Construct a client and connect it to the object pose storage.
Definition at line 14 of file ObjectPoseClient.cpp.
Here is the call graph for this function:| void connect | ( | const ObjectPoseStorageInterfacePrx & | objectPoseStorage | ) |
Connect to the given object pose storage.
This function can be used after default-constructing the client.
| objectPoseStorage | The object pose storage. |
Definition at line 22 of file ObjectPoseClient.cpp.
Here is the caller graph for this function:| std::optional< ObjectPose > fetchObjectPose | ( | const ObjectID & | objectID | ) | const |
Fetch the pose of a single object.
This is a network call. If you need multiple object poses, use fetchObjectPoses() instead.
| objectID | The object's ID. |
Definition at line 56 of file ObjectPoseClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::optional< ObjectPose > fetchObjectPoseFromProvider | ( | const ObjectID & | objectID, |
| const std::string & | providerName | ||
| ) | const |
Fetch the pose of a single object and a single provider.
This is a network call. If you need multiple object poses, use fetchObjectPoses() instead.
| objectID | The object's ID. |
Definition at line 70 of file ObjectPoseClient.cpp.
Here is the call graph for this function:| ObjectPoseSeq fetchObjectPoses | ( | ) | const |
Fetch all known object poses.
Definition at line 34 of file ObjectPoseClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| ObjectPoseMap fetchObjectPosesAsMap | ( | ) | const |
Fetch all known object poses.
Definition at line 45 of file ObjectPoseClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| ObjectPoseSeq fetchObjectPosesFromProvider | ( | const std::string & | providerName | ) | const |
Fetch object poses from a specific provider.
| providerName | The provider's name. |
Definition at line 85 of file ObjectPoseClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| const ObjectFinder & getObjectFinder | ( | ) | const |
Get the internal object finder.
Definition at line 102 of file ObjectPoseClient.cpp.
Here is the caller graph for this function:| const ObjectPoseStorageInterfacePrx & getObjectPoseStorage | ( | ) | const |
Get the object pose storage's proxy.
Definition at line 96 of file ObjectPoseClient.cpp.
| bool isConnected | ( | ) | const |
Indicate whether this client is connected to an object pose storage.
That is, whether its proxy has been set via the constructor or connect().
If false, all fetch*() functions will return empty results.
Definition at line 28 of file ObjectPoseClient.cpp.
Here is the caller graph for this function:| ObjectFinder objectFinder |
Definition at line 107 of file ObjectPoseClient.h.
| ObjectPoseStorageInterfacePrx objectPoseStorage |
Definition at line 105 of file ObjectPoseClient.h.