HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Core::Scheduling::Event::IClient Struct Reference

Event Scheduling Service : Client side implementation. More...

#include <event_scheduling.h>

+ Inheritance diagram for HF::Core::Scheduling::Event::IClient:
+ Collaboration diagram for HF::Core::Scheduling::Event::IClient:

Public Member Functions

 IClient ()
 Constructor.
 
virtual ~IClient ()
 Destructor.
 
virtual void activate_scheduler (const Protocol::Address &addr, bool enabled)
 Send a HAN-FUN message containing a Scheduling::ACTIVATE_SCHEDULER_CMD, to the given network address. More...
 
virtual void define_event (const Protocol::Address &addr, uint8_t id, uint8_t status, Interval &time, uint8_t pid)
 Send a HAN-FUN message containing a Scheduling::DEFINE_EVENT_CMD, to the given network address. More...
 
virtual void delete_event (const Protocol::Address &addr, uint8_t id)
 Send a HAN-FUN message containing a Scheduling::DELETE_CMD, to the given network address. More...
 
- Public Member Functions inherited from HF::Interfaces::Interface< _uid, Parent >
uint16_t uid () const
 This method returns the interface UID. More...
 

Detailed Description

Event Scheduling Service : Client side implementation.

This class provides the client side of the Event Scheduling interface.

Definition at line 202 of file event_scheduling.h.

Member Function Documentation

◆ activate_scheduler()

virtual void HF::Core::Scheduling::Event::IClient::activate_scheduler ( const Protocol::Address addr,
bool  enabled 
)
inlinevirtual

Send a HAN-FUN message containing a Scheduling::ACTIVATE_SCHEDULER_CMD, to the given network address.

Parameters
[in]addrthe network address to send the message to.
[in]enabledenable/disable scheduler.

Definition at line 219 of file event_scheduling.h.

References HF::Core::Scheduling::IClient::activate_scheduler().

220  {
221  Scheduling::IClient::activate_scheduler(addr, ITF, enabled);
222  }
void activate_scheduler(const Protocol::Address &addr, const Interface::UID itf_uid, bool enabled=true)
Send a HAN-FUN message containing a Scheduling::ACTIVATE_SCHEDULER_CMD, to the given network address...
+ Here is the call graph for this function:

◆ define_event()

virtual void HF::Core::Scheduling::Event::IClient::define_event ( const Protocol::Address addr,
uint8_t  id,
uint8_t  status,
Interval time,
uint8_t  pid 
)
virtual

Send a HAN-FUN message containing a Scheduling::DEFINE_EVENT_CMD, to the given network address.

Parameters
[in]addrthe network address to send the message to.
[in]idthe ID for the event entry.
[in]statusthe event entry status.
[in]timethe interval to set the event entry to.
[in]pidthe batch program to call on event.

◆ delete_event()

virtual void HF::Core::Scheduling::Event::IClient::delete_event ( const Protocol::Address addr,
uint8_t  id 
)
inlinevirtual

Send a HAN-FUN message containing a Scheduling::DELETE_CMD, to the given network address.

Parameters
[in]addrthe network address to send the message to.
[in]identry ID to delete.

Definition at line 272 of file event_scheduling.h.

References HF::Core::Scheduling::IClient::delete_event().

273  {
274  Scheduling::IClient::delete_event(addr, ITF, id);
275  }
void delete_event(const Protocol::Address &addr, const Interface::UID itf_uid, uint8_t id)
Send a HAN-FUN message containing a Scheduling::DELETE_CMD, to the given network address.
+ Here is the call graph for this function:

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