NAP
Public Attributes | List of all members
PortalComponent Class Reference

#include </opt/build/repo/nap/system_modules/napportal/src/portalcomponent.h>

Public Attributes

ResourcePtr< PortalWebSocketServermServer
 Property: "Server" the portal WebSocket server this component listens to for events. More...
 
std::vector< ResourcePtr< PortalItem > > mItems
 Property: 'Items' the portal items contained by this portal component. More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Public Member Functions inherited from Component
virtual void getDependentComponents (std::vector< rtti::TypeInfo > &components) const
 
virtual const rtti::TypeInfo getInstanceType () const =0
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 
- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Handles communication between the NAP application and a web portal.

Inheritance diagram for PortalComponent:
[legend]
Collaboration diagram for PortalComponent:
[legend]

Member Data Documentation

◆ mItems

std::vector<ResourcePtr<PortalItem> > mItems

Property: 'Items' the portal items contained by this portal component.

◆ mServer

Property: "Server" the portal WebSocket server this component listens to for events.