28 namespace DeviceInformation
34 namespace AttributeReporting
52 namespace BatchProgramManagement
104 struct IUnits:
public Common::SimpleList<Units::IUnit *>
106 IUnits::size_type size()
const 108 return distance(begin(), end());
177 #if HF_BATCH_PROGRAM_SUPPORT 193 #if HF_EVENT_SCHEDULING_SUPPORT 209 #if HF_WEEKLY_SCHEDULING_SUPPORT 234 virtual uint16_t
address()
const = 0;
282 virtual void periodic(uint32_t time) = 0;
virtual Core::DeviceInformation::Server * device_info() const =0
Return a pointer to unit 0 device information service.
This file contains the common defines for the HAN-FUN library.
virtual const IUnits & units() const =0
Return the list of units registered in this device.
virtual void add(Units::IUnit *unit)=0
Add unit to devices unit lists.
virtual Units::IUnit * unit(uint8_t id) const =0
Return pointer to the unit with the given id.
Scheduling Service : Server side implementation.
This class represents the interface common to all HAN-FUN devices.
Group Table Service : Server side implementation.
Batch Program Management Interfaces::Interface : Server side implementation.
virtual Core::AttributeReporting::IServer * attribute_reporting() const =0
Return a pointer to unit 0 attribute reporting service.
virtual uint16_t address() const =0
Return the device address on the HAN-FUN network, when the device is registered, or HF_BROADCAST_ADDR...
This file contains the definition of the transport layer API for the HAN-FUN common implementation...
Scheduling Service : Server side implementation.
virtual IUnit0 * unit0() const =0
Return pointer to the unit 0 for this device.
virtual void send(Protocol::Packet &packet)=0
Send given packet into the HAN-FUN network.
HAN-FUN device Unit 0 common API.
virtual void periodic(uint32_t time)=0
Handle periodic processing.
Time Service : Server side implementation.
This class represents the interface implemented by all HAN-FUN units.
Time
This represents the type of time that is associated with a time measurement.
Attribute Reporting - Server Role.
This is the interface used by the transport layer to signal events comming in from the network...
Top-level namespace for the HAN-FUN library.