NAP
Public Attributes | List of all members
APIComponent Class Reference

#include <apicomponent.h>

Public Attributes

std::vector< ResourcePtr< APISignature > > mSignatures
 Property: 'Signatures' all (exact) names of API calls (ids) accepted by this 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

Receives APIEvents from the APIService. Populate the 'Signatures' property with signatures of calls you wish to receive at run-time. Only events that have a matching signature are accepted.

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

Member Data Documentation

◆ mSignatures

std::vector<ResourcePtr<APISignature> > mSignatures

Property: 'Signatures' all (exact) names of API calls (ids) accepted by this component.