Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
uavcan::ServiceClientBase::CallState Class Reference

#include <service_client.hpp>

Inheritance diagram for uavcan::ServiceClientBase::CallState:
Inheritance graph
[legend]

Public Member Functions

 CallState (INode &node, ServiceClientBase &owner, ServiceCallID call_id)
 
ServiceCallID getCallID () const
 
bool hasTimedOut () const
 
bool operator== (const CallState &rhs) const
 

Static Public Member Functions

static bool hasTimedOutPredicate (const CallState &cs)
 

Private Member Functions

virtual void handleDeadline (MonotonicTime)
 
- Private Member Functions inherited from uavcan::DeadlineHandler
void generateDeadlineImmediately ()
 
MonotonicTime getDeadline () const
 
SchedulergetScheduler () const
 
bool isRunning () const
 
void startWithDeadline (MonotonicTime deadline)
 
void startWithDelay (MonotonicDuration delay)
 
void stop ()
 
 DeadlineHandler (Scheduler &scheduler)
 
virtual ~DeadlineHandler ()
 
- Private Member Functions inherited from uavcan::LinkedListNode< DeadlineHandler >
DeadlineHandlergetNextListNode () const
 
void setNextListNode (DeadlineHandler *node)
 
 LinkedListNode ()
 
 ~LinkedListNode ()
 

Private Attributes

const ServiceCallID id_
 
ServiceClientBaseowner_
 
bool timed_out_
 
- Private Attributes inherited from uavcan::DeadlineHandler
Schedulerscheduler_
 

Detailed Description

Definition at line 123 of file service_client.hpp.

Constructor & Destructor Documentation

◆ CallState()

uavcan::ServiceClientBase::CallState::CallState ( INode node,
ServiceClientBase owner,
ServiceCallID  call_id 
)
inline

Definition at line 132 of file service_client.hpp.

Member Function Documentation

◆ getCallID()

ServiceCallID uavcan::ServiceClientBase::CallState::getCallID ( ) const
inline

Definition at line 142 of file service_client.hpp.

◆ handleDeadline()

void uavcan::ServiceClientBase::CallState::handleDeadline ( MonotonicTime  )
privatevirtual

Implements uavcan::DeadlineHandler.

Definition at line 12 of file uc_service_client.cpp.

◆ hasTimedOut()

bool uavcan::ServiceClientBase::CallState::hasTimedOut ( ) const
inline

Definition at line 144 of file service_client.hpp.

◆ hasTimedOutPredicate()

static bool uavcan::ServiceClientBase::CallState::hasTimedOutPredicate ( const CallState cs)
inlinestatic

Definition at line 146 of file service_client.hpp.

◆ operator==()

bool uavcan::ServiceClientBase::CallState::operator== ( const CallState rhs) const
inline

Definition at line 148 of file service_client.hpp.

Member Data Documentation

◆ id_

const ServiceCallID uavcan::ServiceClientBase::CallState::id_
private

Definition at line 126 of file service_client.hpp.

◆ owner_

ServiceClientBase& uavcan::ServiceClientBase::CallState::owner_
private

Definition at line 125 of file service_client.hpp.

◆ timed_out_

bool uavcan::ServiceClientBase::CallState::timed_out_
private

Definition at line 127 of file service_client.hpp.


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


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:05