openrave.org

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenRAVE::SimpleSensorSystem::BodyData Class Reference

#include <sensorsystem.h>

Inheritance diagram for OpenRAVE::SimpleSensorSystem::BodyData:
Inheritance graph
[legend]
Collaboration diagram for OpenRAVE::SimpleSensorSystem::BodyData:
Collaboration graph
[legend]

Public Member Functions

 BodyData (SensorSystemBasePtr psensorsystem, KinBodyPtr pbody, boost::shared_ptr< XMLData > initdata)
 
virtual XMLReadableConstPtr GetData () const
 
virtual KinBody::LinkPtr GetOffsetLink () const
 
virtual bool IsPresent () const
 true if the object is being updated by the system due to its presence in the real environment
 
virtual bool IsEnabled () const
 true if should update openrave body
 
virtual bool IsLocked () const
 if true, the vision system should not destroy this object once it stops being present
 
virtual bool Lock (bool bDoLock)
 set a lock on a particular body
 
virtual int GetId ()
 
virtual const std::string & GetSid ()
 
virtual const TransformGetRecentTransform ()
 
- Public Member Functions inherited from OpenRAVE::KinBody::ManageData
 ManageData (SensorSystemBasePtr psensorsystem)
 
virtual ~ManageData ()
 
virtual SensorSystemBasePtr GetSystem ()
 

Protected Member Functions

virtual void SetBody (KinBodyPtr pbody)
 

Protected Attributes

boost::shared_ptr< XMLData_initdata
 
uint64_t lastupdated
 
Transform tnew
 most recent transform that is was set
 
bool bPresent
 
bool bEnabled
 
bool bLock
 
KinBody::LinkWeakPtr _plink
 

Detailed Description

Definition at line 95 of file sensorsystem.h.

Constructor & Destructor Documentation

OpenRAVE::SimpleSensorSystem::BodyData::BodyData ( SensorSystemBasePtr  psensorsystem,
KinBodyPtr  pbody,
boost::shared_ptr< XMLData initdata 
)
inline

Definition at line 97 of file sensorsystem.h.

Member Function Documentation

virtual XMLReadableConstPtr OpenRAVE::SimpleSensorSystem::BodyData::GetData ( ) const
inlinevirtual

returns a pointer to the data used to initialize the BODY with AddKinBody. if psize is not NULL, will be filled with the size of the data in bytes This function will be used to restore bodies that were removed

Implements OpenRAVE::KinBody::ManageData.

Definition at line 102 of file sensorsystem.h.

virtual int OpenRAVE::SimpleSensorSystem::BodyData::GetId ( )
inlinevirtual

Definition at line 122 of file sensorsystem.h.

virtual KinBody::LinkPtr OpenRAVE::SimpleSensorSystem::BodyData::GetOffsetLink ( ) const
inlinevirtual

particular link that sensor system is tracking. All transformations describe this link.

Implements OpenRAVE::KinBody::ManageData.

Definition at line 105 of file sensorsystem.h.

virtual const Transform& OpenRAVE::SimpleSensorSystem::BodyData::GetRecentTransform ( )
inlinevirtual

Definition at line 128 of file sensorsystem.h.

virtual const std::string& OpenRAVE::SimpleSensorSystem::BodyData::GetSid ( )
inlinevirtual

Definition at line 125 of file sensorsystem.h.

virtual bool OpenRAVE::SimpleSensorSystem::BodyData::IsEnabled ( ) const
inlinevirtual

true if should update openrave body

Implements OpenRAVE::KinBody::ManageData.

Definition at line 112 of file sensorsystem.h.

virtual bool OpenRAVE::SimpleSensorSystem::BodyData::IsLocked ( ) const
inlinevirtual

if true, the vision system should not destroy this object once it stops being present

Implements OpenRAVE::KinBody::ManageData.

Definition at line 115 of file sensorsystem.h.

virtual bool OpenRAVE::SimpleSensorSystem::BodyData::IsPresent ( ) const
inlinevirtual

true if the object is being updated by the system due to its presence in the real environment

Implements OpenRAVE::KinBody::ManageData.

Definition at line 109 of file sensorsystem.h.

virtual bool OpenRAVE::SimpleSensorSystem::BodyData::Lock ( bool  bDoLock)
inlinevirtual

set a lock on a particular body

Implements OpenRAVE::KinBody::ManageData.

Definition at line 118 of file sensorsystem.h.

virtual void OpenRAVE::SimpleSensorSystem::BodyData::SetBody ( KinBodyPtr  pbody)
inlineprotectedvirtual

Definition at line 133 of file sensorsystem.h.

Member Data Documentation

boost::shared_ptr<XMLData> OpenRAVE::SimpleSensorSystem::BodyData::_initdata
protected

Definition at line 143 of file sensorsystem.h.

KinBody::LinkWeakPtr OpenRAVE::SimpleSensorSystem::BodyData::_plink
protected

Definition at line 151 of file sensorsystem.h.

bool OpenRAVE::SimpleSensorSystem::BodyData::bEnabled
protected

Definition at line 148 of file sensorsystem.h.

bool OpenRAVE::SimpleSensorSystem::BodyData::bLock
protected

Definition at line 149 of file sensorsystem.h.

bool OpenRAVE::SimpleSensorSystem::BodyData::bPresent
protected

Definition at line 147 of file sensorsystem.h.

uint64_t OpenRAVE::SimpleSensorSystem::BodyData::lastupdated
protected

Definition at line 144 of file sensorsystem.h.

Transform OpenRAVE::SimpleSensorSystem::BodyData::tnew
protected

most recent transform that is was set

Definition at line 145 of file sensorsystem.h.


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