DUNE: Uniform Navigational Environment  2.5.1
Sensors::Edgetech2205::CommandLink Class Reference

Public Member Functions

 CommandLink (const Address &addr, unsigned port)
 
 ~CommandLink (void)
 
void setSocketTimeout (double value)
 
int64_t getTimeDifference (void)
 
void setPingAutoselectMode (SubsystemId subsys, uint32_t mode)
 
void setDataActive (SubsystemId subsys, unsigned channel, uint32_t mode)
 
void setPingRange (SubsystemId subsys, uint32_t range)
 
void setAGC (SubsystemId subsys, uint32_t value)
 
unsigned getPingRange (SubsystemId subsys)
 
void setPingTrigger (SubsystemId subsys, TriggerMode mode)
 
void setPingCoupling (SubsystemId subsys, SubsystemId tsrc, uint32_t tdiv, uint32_t tdel)
 
void setPing (SubsystemId subsys, uint32_t value)
 
void shutdown (void)
 
int64_t estimateTimeDifference (void)
 

Constructor & Destructor Documentation

Sensors::Edgetech2205::CommandLink::CommandLink ( const Address &  addr,
unsigned  port 
)
inline

References setSocketTimeout().

Sensors::Edgetech2205::CommandLink::~CommandLink ( void  )
inline

Member Function Documentation

int64_t Sensors::Edgetech2205::CommandLink::estimateTimeDifference ( void  )
inline
void Sensors::Edgetech2205::CommandLink::setPingCoupling ( SubsystemId  subsys,
SubsystemId  tsrc,
uint32_t  tdiv,
uint32_t  tdel 
)
inline

Set ping coupling parameters of slave systems.

Parameters
[in]subsyssubsystem identifier.
[in]tsrcid number of the master subsystem.
[in]tdivan integer divisor specifying that the slave subsystem will respond to every tdiv input from the master.
[in]tdeltrigger delay in microsecond.

References Sensors::Edgetech2205::COMMAND_TYPE_SET, Sensors::Edgetech2205::MSG_ID_PING_COUPLING_PARAMS, Sensors::Edgetech2205::Packet::set(), Sensors::Edgetech2205::Packet::setChannel(), Sensors::Edgetech2205::Packet::setCommandType(), Sensors::Edgetech2205::Packet::setMessageSize(), Sensors::Edgetech2205::Packet::setMessageType(), and Sensors::Edgetech2205::Packet::setSubsystemNumber().

Referenced by Sensors::Edgetech2205::Task::setConfig().

void Sensors::Edgetech2205::CommandLink::setSocketTimeout ( double  value)
inline

Referenced by CommandLink().

Collaboration diagram for Sensors::Edgetech2205::CommandLink:
Collaboration graph