Class CbStatus
Defined in File cb_status.hpp
Inheritance Relationships
Base Type
public smacc2::SmaccClientBehavior
Class Documentation
-
class CbStatus : public smacc2::SmaccClientBehavior
Sync behavior that retrieves current calendar status.
This behavior provides a snapshot of the current connection state and calendar events. Use it to check system status on state entry.
Public Functions
-
CbStatus() = default
-
virtual ~CbStatus() = default
-
void onEntry() override
-
inline ConnectionState getConnectionState() const
Get the connection state captured on entry.
-
inline bool isConnected() const
Check if connected.
-
inline std::vector<CalendarEvent> getEvents() const
Get events captured on entry.
-
inline std::vector<CalendarEvent> getActiveEvents() const
Get currently active events.
-
CbStatus() = default