OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ControllerTimer Struct Referenceabstract

#include <controller_timer.h>

Inheritance diagram for ControllerTimer:
Collaboration diagram for ControllerTimer:

Public Member Functions

 ControllerTimer (Agent *agent, const std::string &timer_name, uint32_t timer_interval)
 
virtual ~ControllerTimer ()
 
virtual void Start (AgentXmppChannel *agent_xmpp_channel)
 
virtual bool TimerExpirationDone ()
 
virtual uint32_t GetTimerInterval () const =0
 
virtual uint32_t timer_interval ()
 
virtual void set_timer_interval (uint32_t timer_interval)
 
bool Cancel ()
 
void Fire ()
 
bool TimerExpiredCallback ()
 
const std::string & timer_name () const
 
bool running () const
 

Public Attributes

Agentagent_
 
Timercontroller_timer_
 
uint64_t last_restart_time_
 
std::string xmpp_server_
 
std::string timer_name_
 
uint32_t timer_interval_
 

Detailed Description

Definition at line 21 of file controller_timer.h.

Constructor & Destructor Documentation

ControllerTimer::ControllerTimer ( Agent agent,
const std::string &  timer_name,
uint32_t  timer_interval 
)

Definition at line 29 of file controller_timer.cc.

Here is the call graph for this function:

ControllerTimer::~ControllerTimer ( )
virtual

Definition at line 42 of file controller_timer.cc.

Here is the call graph for this function:

Member Function Documentation

bool ControllerTimer::Cancel ( )

Definition at line 53 of file controller_timer.cc.

Here is the call graph for this function:

void ControllerTimer::Fire ( )

Definition at line 49 of file controller_timer.cc.

Here is the call graph for this function:

virtual uint32_t ControllerTimer::GetTimerInterval ( ) const
pure virtual
bool ControllerTimer::running ( ) const

Definition at line 85 of file controller_timer.cc.

Here is the call graph for this function:

virtual void ControllerTimer::set_timer_interval ( uint32_t  timer_interval)
inlinevirtual

Definition at line 32 of file controller_timer.h.

Here is the call graph for this function:

void ControllerTimer::Start ( AgentXmppChannel agent_xmpp_channel)
virtual

Reimplemented in LlgrStaleTimer, EndOfRibRxTimer, EndOfRibTxTimer, EndOfConfigTimer, and ConfigCleanupTimer.

Definition at line 67 of file controller_timer.cc.

Here is the call graph for this function:

virtual uint32_t ControllerTimer::timer_interval ( )
inlinevirtual

Definition at line 29 of file controller_timer.h.

const std::string& ControllerTimer::timer_name ( ) const
inline

Definition at line 39 of file controller_timer.h.

virtual bool ControllerTimer::TimerExpirationDone ( )
inlinevirtual
bool ControllerTimer::TimerExpiredCallback ( )

Definition at line 92 of file controller_timer.cc.

Here is the call graph for this function:

Member Data Documentation

Agent* ControllerTimer::agent_

Definition at line 42 of file controller_timer.h.

Timer* ControllerTimer::controller_timer_

Definition at line 44 of file controller_timer.h.

uint64_t ControllerTimer::last_restart_time_

Definition at line 46 of file controller_timer.h.

uint32_t ControllerTimer::timer_interval_

Definition at line 49 of file controller_timer.h.

std::string ControllerTimer::timer_name_

Definition at line 48 of file controller_timer.h.

std::string ControllerTimer::xmpp_server_

Definition at line 47 of file controller_timer.h.


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