ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | Friends | List of all members
anna::ldap::Timer Class Reference

#include <Timer.hpp>

Inheritance diagram for anna::ldap::Timer:
Inheritance graph
[legend]
Collaboration diagram for anna::ldap::Timer:
Collaboration graph
[legend]

Public Member Functions

ResponsegetResponse ()
 
const ResponsegetResponse () const
 
std::string asString () const
 
- Public Member Functions inherited from anna::timex::Transaction
 Transaction ()
 
 Transaction (const Id id, const Millisecond &timeout)
 
 Transaction (const Id id, const Millisecond &timeout, void *context)
 
void * getContext ()
 
const void * getContext () const
 
void setContext (void *context)
 
- Public Member Functions inherited from anna::timex::TimeEvent
virtual ~TimeEvent ()
 
Id getId () const
 
const MillisecondgetTimeout () const
 
const TimeEventObservergetObserver () const
 
void setId (const Id id)
 
void setTimeout (const Millisecond &timeout)
 
void setObserver (TimeEventObserver *observer)
 
bool isActive () const
 
- Public Member Functions inherited from anna::timex::Meter
 Meter ()
 
 Meter (const Meter &other)
 
Millisecond setControlPoint ()
 
void setTopReference (const Millisecond &topReference)
 
void clearTopReference ()
 
Millisecond getDelay () const
 
Meteroperator= (const Millisecond &timestamp)
 
Meteroperator= (const Meter &other)
 

Friends

class ldap::TimerManager
 
class Allocator< Timer >
 

Additional Inherited Members

- Public Types inherited from anna::timex::TimeEvent
typedef anna::ptrnumber Id
 
- Protected Member Functions inherited from anna::timex::TimeEvent
 TimeEvent ()
 
 TimeEvent (const Id id, const Millisecond &timeout)
 
virtual void stop () noexcept(false)
 

Member Function Documentation

◆ asString()

std::string anna::ldap::Timer::asString ( void  ) const
virtual

Devuelve una cadena con la informacion referente a este temporizador.

Returns
Una cadena con la informacion referenta a este temporizador.

Reimplemented from anna::timex::Transaction.

◆ getResponse() [1/2]

Response* anna::ldap::Timer::getResponse ( )
inline
25 { return reinterpret_cast <Response*>(getContext()); }
void * getContext()
Definition: Transaction.hpp:66
Here is the call graph for this function:

◆ getResponse() [2/2]

const Response* anna::ldap::Timer::getResponse ( ) const
inline
26 { return reinterpret_cast <const Response*>(getContext()); }
void * getContext()
Definition: Transaction.hpp:66
Here is the call graph for this function:

Friends And Related Function Documentation

◆ Allocator< Timer >

friend class Allocator< Timer >
friend

◆ ldap::TimerManager

friend class ldap::TimerManager
friend

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