60 public:
virtual ~Link();
67 public:
virtual void Init();
83 public:
virtual void Update();
87 public:
virtual void SetEnabled(
bool _enable)
const = 0;
319 public:
virtual void SetKinematic(
const bool &_kinematic);
345 public: std::string
GetSensorName(
unsigned int _index)
const;
350 public:
template<
typename T>
352 {
return enabledSignal.
Connect(_subscriber);}
361 public:
void FillMsg(msgs::Link &_msg);
365 public:
void ProcessMsg(
const msgs::Link &_msg);
435 private:
void PublishData();
443 private:
void SetInertialFromCollisions();
467 private:
bool enabled;
470 private: std::vector<std::string> sensors;
473 private: std::vector<JointPtr> parentJoints;
476 private: std::vector<JointPtr> childJoints;
479 private: std::vector<ModelPtr> attachedModels;
485 private: msgs::LinkData linkDataMsg;
488 private: std::vector<event::ConnectionPtr> connections;
491 private:
bool publishData;
494 private: boost::recursive_mutex *publishDataMutex;