|
void | activateObject (const std::string &objectName, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | actuateRobotJoints (const std::string &robotName, const NameValueMap &angles, const NameValueMap &velocities, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | actuateRobotJointsPos (const std::string &robotName, const NameValueMap &angles, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | actuateRobotJointsTorque (const std::string &robotName, const NameValueMap &torques, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | actuateRobotJointsVel (const std::string &robotName, const NameValueMap &velocities, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | addBox (float width, float height, float depth, float massKG, const DrawColor &color, const std::string &instanceName, const PoseBasePtr &globalPose, bool isStatic=false, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | addObject (const memoryx::ObjectClassBasePtr &objectClassBase, const std::string &instanceName, const PoseBasePtr &globalPose, bool isStatic=false, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | addObjectFromFile (const armarx::data::PackagePath &packagePath, const std::string &instanceName, const PoseBasePtr &globalPose, bool isStatic=false, const Ice::Current &c=Ice::emptyCurrent) override |
|
std::string | addRobot (const std::string &filename, const Ice::Current &c=Ice::emptyCurrent) override |
|
std::string | addRobotFromFile (const armarx::data::PackagePath &packagePath, const Ice::Current &c=Ice::emptyCurrent) override |
|
std::string | addScaledRobot (const std::string &filename, float scale, const Ice::Current &c=Ice::emptyCurrent) override |
|
std::string | addScaledRobotName (const std::string &instanceName, const std::string &filename, float scale, const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | addSnapshot (memoryx::WorkingMemorySnapshotInterfacePrx snapshotInterfacePrx) |
|
void | applyForceObject (const std::string &objectName, const Vector3BasePtr &force, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | applyForceRobotNode (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &force, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | applyTorqueObject (const std::string &objectName, const Vector3BasePtr &torque, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | applyTorqueRobotNode (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &torque, const Ice::Current &c=Ice::emptyCurrent) override |
|
PropertyDefinitionsPtr | createPropertyDefinitions () override |
|
ContactInfoSequence | getContacts (const Ice::Current &c=Ice::emptyCurrent) override |
| Returns a list of all contacts. Note that you must call updateContacts() first to enable contacts handling. More...
|
|
std::string | getDefaultName () const override |
| Retrieve default name of component. More...
|
|
DistanceInfo | getDistance (const std::string &robotName, const std::string &robotNodeName, const std::string &worldObjectName, const Ice::Current &c=Ice::emptyCurrent) override |
|
int | getFixedTimeStepMS (const Ice::Current &c=Ice::emptyCurrent) override |
|
ObjectClassInformationSequence | getObjectClassPoses (const std::string &robotName, const std::string &frameName, const std::string &className, const Ice::Current &c=Ice::emptyCurrent) override |
|
PoseBasePtr | getObjectPose (const std::string &objectName, const Ice::Current &c=Ice::emptyCurrent) override |
|
Vector3BasePtr | getRobotAngularVelocity (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
ForceTorqueDataSeq | getRobotForceTorqueSensors (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotJointAngle (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
NameValueMap | getRobotJointAngles (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotJointLimitHi (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotJointLimitLo (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
NameValueMap | getRobotJointTorques (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
NameValueMap | getRobotJointVelocities (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotJointVelocity (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
Vector3BasePtr | getRobotLinearVelocity (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotMass (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getRobotMaxTorque (const std::string &robotName, const std::string &nodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
Ice::StringSeq | getRobotNames (const Ice::Current &) override |
|
DistanceInfo | getRobotNodeDistance (const std::string &robotName, const std::string &robotNodeName1, const std::string &robotNodeName2, const Ice::Current &c=Ice::emptyCurrent) override |
|
PoseBasePtr | getRobotNodePose (const std::string &robotName, const std::string &robotNodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
PoseBasePtr | getRobotPose (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
SimulatedRobotState | getRobotState (const std::string &robotName, const Ice::Current &) override |
|
SceneVisuData | getScene (const Ice::Current &c=Ice::emptyCurrent) override |
|
float | getSimTime (const Ice::Current &c=Ice::emptyCurrent) override |
|
SimulatorInformation | getSimulatorInformation (const ::Ice::Current &=Ice::emptyCurrent) override |
|
Ice::Float | getSpeed (const Ice::Current &c=Ice::emptyCurrent) override |
|
Ice::Int | getStepTimeMS (const ::Ice::Current &=Ice::emptyCurrent) override |
|
Ice::Long | getTime (const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | hasObject (const std::string &instanceName, const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | hasRobot (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | hasRobotNode (const std::string &robotName, const std::string &robotNodeName, const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | isRunning (const Ice::Current &c=Ice::emptyCurrent) override |
|
bool | loadAgentsFromSnapshot (memoryx::WorkingMemorySnapshotInterfacePrx snapshotInterfacePrx) |
|
void | objectGrasped (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName, const Ice::Current &c=Ice::emptyCurrent) override |
| create a joint More...
|
|
void | objectReleased (const std::string &robotName, const std::string &robotNodeName, const std::string &objectName, const Ice::Current &c=Ice::emptyCurrent) override |
| remove a joint More...
|
|
void | onConnectComponent () override |
| Pure virtual hook for the subclass. More...
|
|
void | onDisconnectComponent () override |
| Hook for subclass. More...
|
|
void | onExitComponent () override |
| Hook for subclass. More...
|
|
void | onInitComponent () override |
| Pure virtual hook for the subclass. More...
|
|
void | pause (const Ice::Current &c=Ice::emptyCurrent) override |
|
void | reInitialize (const Ice::Current &c=Ice::emptyCurrent) override |
| reInitialize Re-initializes the scene. Removes all robots and objects (and, in case the scene was loaded via a MemoryX snapshot, the working memory is cleared) Then, the setup is re-loaded similar to the startup procedure. More...
|
|
void | removeObject (const std::string &instanceName, const Ice::Current &) override |
|
bool | removeRobot (const std::string &robotName, const Ice::Current &c=Ice::emptyCurrent) |
|
void | run () override |
|
void | setObjectPose (const std::string &objectName, const PoseBasePtr &globalPose, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setObjectSimulationType (const std::string &objectName, armarx::SimulationType type, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotAngularVelocity (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &vel, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotAngularVelocityRobotRootFrame (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &vel, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotLinearVelocity (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &vel, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotLinearVelocityRobotRootFrame (const std::string &robotName, const std::string &robotNodeName, const Vector3BasePtr &vel, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotMaxTorque (const std::string &robotName, const std::string &nodeName, float maxTorque, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setRobotPose (const std::string &robotName, const PoseBasePtr &globalPose, const Ice::Current &c=Ice::emptyCurrent) override |
|
void | setSpeed (Ice::Float newSpeed, const Ice::Current &c=Ice::emptyCurrent) override |
| setSpeed sets the scaling factor for the speed of passing of time e.g. More...
|
|
void | showContacts (bool enable, const std::string &layerName, const Ice::Current &c=Ice::emptyCurrent) override |
|
| Simulator () |
|
void | start (const Ice::Current &c=Ice::emptyCurrent) override |
|
void | step (const Ice::Current &c=Ice::emptyCurrent) override |
|
void | stop (const Ice::Current &c=Ice::emptyCurrent) override |
|
void | updateContacts (bool enable, const Ice::Current &c=Ice::emptyCurrent) override |
| Enables the handling of contacts. If you intend to use getContacts(), call this method with enabled = true first. More...
|
|
| ~Simulator () override |
|
virtual void | componentPropertiesUpdated (const std::set< std::string > &changedProperties) |
| Implement this function if you would like to react to changes in the properties. More...
|
|
void | forceComponentCreatedByComponentCreateFunc () |
| forces the flag to be set to true that the object instance was created by the Component::create function More...
|
|
std::vector< PropertyUserPtr > | getAdditionalPropertyUsers () const |
|
template<typename PropertyType > |
Property< PropertyType > | getProperty (const std::string &name) |
|
template<typename PropertyType > |
Property< PropertyType > | getProperty (const std::string &name) const |
|
template<class T > |
void | getProperty (std::atomic< T > &val, const std::string &name) const |
|
template<class T > |
void | getProperty (T &val, const std::string &name) const |
|
template<class ProxyType > |
ProxyType | getProxyFromProperty (const std::string &propertyName, bool addToDependencies=false, const std::string &endpoints="", bool throwOnProxyError=true) |
| Get a proxy whose name is specified by the given property. More...
|
|
template<class ProxyType > |
void | getProxyFromProperty (ProxyType &proxy, const std::string &propertyName, bool addToDependencies=false, const std::string &endpoints="", bool throwOnProxyError=true) |
|
template<class TopicProxyType > |
TopicProxyType | getTopicFromProperty (const std::string &propertyName) |
| Get a topic proxy whose name is specified by the given property. More...
|
|
template<class TopicProxyType > |
void | getTopicFromProperty (TopicProxyType &top, const std::string &propertyName) |
|
void | initializeProperties (const std::string &configName, Ice::PropertiesPtr const &properties, const std::string &configDomain) |
| initializes the properties of this component. More...
|
|
void | injectPropertyDefinitions (PropertyDefinitionsPtr &props) override |
|
void | offeringTopicFromProperty (const std::string &propertyName) |
| Offer a topic whose name is specified by the given property. More...
|
|
virtual void | preOnConnectComponent () override |
|
virtual void | preOnInitComponent () override |
|
bool | usingProxyFromProperty (const std::string &propertyName, const std::string &endpoints="") |
| Use a proxy whose name is specified by the given property. More...
|
|
void | usingTopicFromProperty (const std::string &propertyName, bool orderedPublishing=false) |
| Use a topic whose name is specified by the given property. More...
|
|
void | enableProfiler (bool enable) |
| setProfiler allows setting ManagedIceObject::profiler to a new instance (if the new instance is actually not a null pointer) More...
|
|
std::string | generateSubObjectName (const std::string &subObjectName) |
| Generates a unique name for a sub object from a general name. More...
|
|
ArmarXManagerPtr | getArmarXManager () const |
| Returns the ArmarX manager used to add and remove components. More...
|
|
ManagedIceObjectConnectivity | getConnectivity () const |
| Retrieve connectivity of the object (topcis as well as proxies) More...
|
|
IceManagerPtr | getIceManager () const |
| Returns the IceManager. More...
|
|
VariantBasePtr | getMetaInfo (const std::string &id) |
|
StringVariantBaseMap | getMetaInfoMap () const |
|
std::string | getName () const |
| Retrieve name of object. More...
|
|
Ice::ObjectAdapterPtr | getObjectAdapter () const |
| Returns object's Ice adapter. More...
|
|
ArmarXObjectSchedulerPtr | getObjectScheduler () const |
|
PeriodicTaskPtr | getPeriodicTask (const std::string &name) |
|
Profiler::ProfilerPtr | getProfiler () const |
| getProfiler returns an instance of armarx::Profiler More...
|
|
template<class ProxyTarg , class... Args> |
void | getProxy (const char *name, IceInternal::ProxyHandle< ProxyTarg > &proxy, Args &&...args) |
|
template<class ProxyType > |
ProxyType | getProxy (const std::string &name, bool addToDependencies=false, const std::string &endpoints="", bool throwOnProxyError=true) |
| Retrieves a proxy object. More...
|
|
template<class ProxyTarg , class... Args> |
void | getProxy (const std::string &name, IceInternal::ProxyHandle< ProxyTarg > &proxy, Args &&...args) |
|
template<class ProxyTarg , class... Args> |
void | getProxy (IceInternal::ProxyHandle< ProxyTarg > &proxy, const char *name, Args &&...args) |
|
template<class ProxyTarg , class... Args> |
void | getProxy (IceInternal::ProxyHandle< ProxyTarg > &proxy, const std::string &name, Args &&...args) |
| Assigns a proxy to proxy . More...
|
|
Ice::ObjectPrx | getProxy (long timeoutMs=0, bool waitForScheduler=true) const |
| Returns the proxy of this object (optionally it waits for the proxy) More...
|
|
template<class Prx > |
Prx | getProxy (long timeoutMs=0, bool waitForScheduler=true) const |
|
template<class ProxyType > |
void | getProxy (ProxyType &proxy, const char *name, bool addToDependencies=false, const std::string &endpoints="", bool throwOnProxyError=true) |
| Overload to allow using string literals as name (solve ambiguous overload). More...
|
|
template<class Prx > |
void | getProxy (Prx &prx, long timeoutMs=0, bool waitForScheduler=true) const |
|
int | getState () const |
| Retrieve current state of the ManagedIceObject. More...
|
|
template<class TopicProxyType > |
TopicProxyType | getTopic (const std::string &name) |
| Returns a proxy of the specified topic. More...
|
|
template<class TopicProxyType > |
void | getTopic (TopicProxyType &topicProxy, const std::string &name) |
| Assigns a proxy of the specified topic to topicProxy . More...
|
|
std::vector< std::string > | getUnresolvedDependencies () const |
| returns the names of all unresolved dependencies More...
|
|
| ManagedIceObject (ManagedIceObject const &other) |
|
void | offeringTopic (const std::string &name) |
| Registers a topic for retrival after initialization. More...
|
|
void | preambleGetTopic (std::string const &name) |
|
void | setMetaInfo (const std::string &id, const VariantBasePtr &value) |
| Allows to set meta information that can be queried live via Ice interface on the ArmarXManager. More...
|
|
void | startPeriodicTask (const std::string &uniqueName, std::function< void(void)> f, int periodMs, bool assureMeanInterval=false, bool forceSystemTime=true) |
|
bool | stopPeriodicTask (const std::string &name) |
|
bool | unsubscribeFromTopic (const std::string &name) |
| Unsubscribe from a topic. More...
|
|
bool | usingProxy (const std::string &name, const std::string &endpoints="") |
| Registers a proxy for retrieval after initialization and adds it to the dependency list. More...
|
|
void | usingTopic (const std::string &name, bool orderedPublishing=false) |
| Registers a proxy for subscription after initialization. More...
|
|
void | waitForObjectScheduler () |
| Waits until the ObjectScheduler could resolve all dependencies. More...
|
|
void | waitForProxy (std::string const &name, bool addToDependencies) |
|
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. More...
|
|
MessageTypeT | getEffectiveLoggingLevel () const |
|
| Logging () |
|
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
|
|
void | setTag (const LogTag &tag) |
|
void | setTag (const std::string &tagName) |
|
virtual | ~Logging () |
|
std::vector< std::string > | getComponentProxyNames () |
|
Ice::PropertiesPtr | getIceProperties () const |
| Returns the set of Ice properties. More...
|
|
template<typename PropertyType > |
Property< PropertyType > | getProperty (const std::string &name) |
| Property creation and retrieval. More...
|
|
template<typename PropertyType > |
Property< PropertyType > | getProperty (const std::string &name) const |
| Hack to allow using getProperty in const -modified methods. More...
|
|
template<class T > |
void | getProperty (std::atomic< T > &val, const std::string &name) const |
|
template<class T > |
void | getProperty (T &val, const std::string &name) const |
|
template<class T > |
std::vector< T > | getPropertyAsCSV (const std::string &name, const std::string &splitBy=",;", bool trimElements=true, bool removeEmptyElements=true) |
|
template<class ContainerT > |
void | getPropertyAsCSV (ContainerT &val, const std::string &name, const std::string &splitBy=",;", bool trimElements=true, bool removeEmptyElements=true) |
|
PropertyDefinitionsPtr | getPropertyDefinitions () |
| Returns the component's property definition container. More...
|
|
std::vector< std::string > | getSubscribedTopicNames () |
|
std::vector< std::string > | getTopicProxyNames () |
|
bool | hasProperty (const std::string &name) |
|
| PropertyUser () |
|
virtual void | setIceProperties (Ice::PropertiesPtr properties) |
| Sets the Ice properties. More...
|
|
bool | tryAddProperty (const std::string &propertyName, const std::string &value) |
|
virtual void | updateIceProperties (const std::map< std::string, std::string > &changes) |
|
void | updateProperties () |
|
void | updateProxies (IceManagerPtr) |
|
| ~PropertyUser () override |
|