CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmlabs::ComponentSpec Class Reference

In-memory aggregate of a component's setup, triggers and custom views. More...

#include <Subscriptions.h>

Collaboration diagram for cmlabs::ComponentSpec:
[legend]

Public Member Functions

 ComponentSpec ()
 ~ComponentSpec ()

Public Attributes

ComponentSetupsetup
 The component's setup block; owned by this object.
std::list< TriggerSpec * > triggers
 The component's triggers; owned by this object (deleted in destructor).
std::list< TriggerGroupSpec * > triggerGroups
 T1.6: <triggergroup> join specs; owned here (freed in destructor).
std::list< CustomViewcustomViews
 Custom UI views registered for the component.

Detailed Description

In-memory aggregate of a component's setup, triggers and custom views.

Convenience owner object used while parsing/holding a system specification: owns its ComponentSetup and all TriggerSpecs in triggers (deleted in the destructor). Local only — never transmitted as a binary block.

Definition at line 714 of file Subscriptions.h.

Constructor & Destructor Documentation

◆ ComponentSpec()

cmlabs::ComponentSpec::ComponentSpec ( )
inline

Definition at line 716 of file Subscriptions.h.

References setup.

◆ ~ComponentSpec()

cmlabs::ComponentSpec::~ComponentSpec ( )
inline

Definition at line 720 of file Subscriptions.h.

References setup, triggerGroups, and triggers.

Member Data Documentation

◆ customViews

std::list<CustomView> cmlabs::ComponentSpec::customViews

Custom UI views registered for the component.

Definition at line 737 of file Subscriptions.h.

◆ setup

ComponentSetup* cmlabs::ComponentSpec::setup

The component's setup block; owned by this object.

Definition at line 734 of file Subscriptions.h.

Referenced by ComponentSpec(), and ~ComponentSpec().

◆ triggerGroups

std::list<TriggerGroupSpec*> cmlabs::ComponentSpec::triggerGroups

T1.6: <triggergroup> join specs; owned here (freed in destructor).

Definition at line 736 of file Subscriptions.h.

Referenced by ~ComponentSpec().

◆ triggers

std::list<TriggerSpec*> cmlabs::ComponentSpec::triggers

The component's triggers; owned by this object (deleted in destructor).

Definition at line 735 of file Subscriptions.h.

Referenced by ~ComponentSpec().


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