argos::CDynamics2DGripper Class Reference

#include <dynamics2d_gripping.h>

Public Types

typedef std::list< CDynamics2DGripper * > TList
 

Public Member Functions

 CDynamics2DGripper (CDynamics2DEngine &c_engine, CGripperEquippedEntity &c_gripper_entity, cpShape *pt_gripper_shape)
 
 ~CDynamics2DGripper ()
 
bool IsGripping () const
 
bool IsLocked () const
 
CGripperEquippedEntityGetGripperEntity ()
 
cpShape * GripperShape ()
 
CDynamics2DGrippableGetGrippee ()
 
cpConstraint * GetConstraint ()
 
void CalculateAnchor (cpArbiter *pt_arb)
 
void Grip (CDynamics2DGrippable *pc_grippee)
 
void Release ()
 

Detailed Description

Definition at line 26 of file dynamics2d_gripping.h.

Member Typedef Documentation

Definition at line 30 of file dynamics2d_gripping.h.

Constructor & Destructor Documentation

argos::CDynamics2DGripper::CDynamics2DGripper ( CDynamics2DEngine c_engine,
CGripperEquippedEntity c_gripper_entity,
cpShape *  pt_gripper_shape 
)

Definition at line 19 of file dynamics2d_gripping.cpp.

argos::CDynamics2DGripper::~CDynamics2DGripper ( )

Definition at line 36 of file dynamics2d_gripping.cpp.

Member Function Documentation

void argos::CDynamics2DGripper::CalculateAnchor ( cpArbiter *  pt_arb)

Definition at line 43 of file dynamics2d_gripping.cpp.

cpConstraint* argos::CDynamics2DGripper::GetConstraint ( )
inline

Definition at line 60 of file dynamics2d_gripping.h.

CDynamics2DGrippable* argos::CDynamics2DGripper::GetGrippee ( )
inline

Definition at line 56 of file dynamics2d_gripping.h.

CGripperEquippedEntity& argos::CDynamics2DGripper::GetGripperEntity ( )
inline

Definition at line 48 of file dynamics2d_gripping.h.

void argos::CDynamics2DGripper::Grip ( CDynamics2DGrippable pc_grippee)

Definition at line 56 of file dynamics2d_gripping.cpp.

cpShape* argos::CDynamics2DGripper::GripperShape ( )
inline

Definition at line 52 of file dynamics2d_gripping.h.

bool argos::CDynamics2DGripper::IsGripping ( ) const
inline

Definition at line 40 of file dynamics2d_gripping.h.

bool argos::CDynamics2DGripper::IsLocked ( ) const
inline

Definition at line 44 of file dynamics2d_gripping.h.

void argos::CDynamics2DGripper::Release ( )

Definition at line 73 of file dynamics2d_gripping.cpp.