Choreonoid
1.8
|
#include <AttachmentDevice.h>
Public Member Functions | |
AttachmentDevice () | |
virtual | ~AttachmentDevice () |
virtual const char * | typeName () const override |
void | copyAttachmentDeviceStateFrom (const AttachmentDevice &other) |
virtual void | copyStateFrom (const DeviceState &other) override |
virtual DeviceState * | cloneState () const override |
virtual void | forEachActualType (std::function< bool(const std::type_info &type)> func) override |
virtual int | stateSize () const override |
virtual const double * | readState (const double *buf) override |
virtual double * | writeState (double *out_buf) const override |
virtual bool | on () const override |
virtual void | on (bool on) override |
HolderDevice * | holder () |
bool | isAttaching () const |
void | detach () |
std::string | category () const |
void | setCategory (const std::string &category) |
void | clearCategory () |
bool | readSpecifications (const Mapping *info) |
bool | writeSpecifications (Mapping *info) const |
Public Member Functions inherited from cnoid::Device | |
virtual | ~Device () |
Device * | clone () const |
Device * | clone (CloneMap &cloneMap) const |
virtual bool | copyFrom (const Device *other) |
void | setIndex (int index) |
void | setId (int id) |
void | setName (const std::string &name) |
void | setLink (Link *link) |
bool | hasStateOnly () const |
int | index () const |
int | id () const |
const std::string & | name () const |
const Link * | link () const |
Link * | link () |
const Body * | body () const |
Body * | body () |
Isometry3 & | T_local () |
const Isometry3 & | T_local () const |
const Isometry3 & | localPosition () const |
template<class Scalar , int Mode, int Options> | |
void | setLocalPosition (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
Isometry3::ConstLinearPart | R_local () const |
Isometry3::LinearPart | R_local () |
Isometry3::ConstLinearPart | localRotation () const |
template<typename Derived > | |
void | setLocalRotation (const Eigen::MatrixBase< Derived > &R) |
Isometry3::ConstTranslationPart | p_local () const |
Isometry3::TranslationPart | p_local () |
Isometry3::ConstTranslationPart | localTranslation () const |
template<typename Derived > | |
void | setLocalTranslation (const Eigen::MatrixBase< Derived > &p) |
virtual void | clearState () |
SignalProxy< void()> | sigStateChanged () |
void | notifyStateChange () |
SignalProxy< void(double time)> | sigTimeChanged () |
void | notifyTimeChange (double time) |
const Isometry3 & | T_local_org () const |
void | setLocalAttitude (const Isometry3 &Ta) |
double | cycle () const |
void | setCycle (double msec) |
Public Member Functions inherited from cnoid::DeviceState | |
virtual | ~DeviceState () |
Public Member Functions inherited from cnoid::Referenced | |
virtual | ~Referenced () |
Protected Member Functions | |
AttachmentDevice (const AttachmentDevice &org, bool copyStateOnly, CloneMap *cloneMap) | |
virtual Referenced * | doClone (CloneMap *cloneMap) const override |
Protected Member Functions inherited from cnoid::Device | |
Device () | |
Device (const Device &org, bool copyStateOnly=false) | |
void | copySpecFrom (const Device *other) |
Protected Member Functions inherited from cnoid::DeviceState | |
DeviceState () | |
DeviceState (const DeviceState &) | |
Protected Member Functions inherited from cnoid::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
int | refCount () const |
Friends | |
class | HolderDevice |
AttachmentDevice::AttachmentDevice | ( | ) |
|
virtual |
|
protected |
std::string AttachmentDevice::category | ( | ) | const |
void AttachmentDevice::clearCategory | ( | ) |
|
overridevirtual |
Implements cnoid::DeviceState.
void AttachmentDevice::copyAttachmentDeviceStateFrom | ( | const AttachmentDevice & | other | ) |
|
overridevirtual |
Implements cnoid::DeviceState.
void AttachmentDevice::detach | ( | ) |
|
overrideprotectedvirtual |
Implements cnoid::ClonableReferenced.
|
overridevirtual |
Reimplemented from cnoid::Device.
HolderDevice * AttachmentDevice::holder | ( | ) |
bool AttachmentDevice::isAttaching | ( | ) | const |
|
overridevirtual |
Reimplemented from cnoid::Device.
|
overridevirtual |
Reimplemented from cnoid::Device.
bool AttachmentDevice::readSpecifications | ( | const Mapping * | info | ) |
|
overridevirtual |
Implements cnoid::DeviceState.
void AttachmentDevice::setCategory | ( | const std::string & | category | ) |
|
overridevirtual |
Size of the double-precision floating numbers for representing the state.
Implements cnoid::DeviceState.
|
overridevirtual |
Implements cnoid::DeviceState.
bool AttachmentDevice::writeSpecifications | ( | Mapping * | info | ) | const |
|
overridevirtual |
Implements cnoid::DeviceState.
|
friend |