Class SystemBase
Defined in File SystemBase.h
Inheritance Relationships
Derived Types
public csp::systems::AnalyticsSystem(Class AnalyticsSystem)public csp::systems::AnchorSystem(Class AnchorSystem)public csp::systems::ApplicationSettingsSystem(Class ApplicationSettingsSystem)public csp::systems::AssetSystem(Class AssetSystem)public csp::systems::ECommerceSystem(Class ECommerceSystem)public csp::systems::EventTicketingSystem(Class EventTicketingSystem)public csp::systems::ExternalServiceProxySystem(Class ExternalServiceProxySystem)public csp::systems::GraphQLSystem(Class GraphQLSystem)public csp::systems::HotspotSequenceSystem(Class HotspotSequenceSystem)public csp::systems::MaintenanceSystem(Class MaintenanceSystem)public csp::systems::MultiplayerSystem(Class MultiplayerSystem)public csp::systems::PointOfInterestSystem(Class PointOfInterestSystem)public csp::systems::QuotaSystem(Class QuotaSystem)public csp::systems::SequenceSystem(Class SequenceSystem)public csp::systems::SettingsSystem(Class SettingsSystem)public csp::systems::SpaceSystem(Class SpaceSystem)public csp::systems::UserSystem(Class UserSystem)
Class Documentation
-
class SystemBase
Base class for all Connected Spaces Platform Systems, which enforces passing of a WebClient or NetworkEventBus instance in the constructor of each System.
- Invariant
EventBusPtr can never be null. The NetworkEventBus is owned by the MultiplayerConnection and persists for it’s lifetime. It is passed to each system (which derive from SystemBase) by reference to their ctor. This ref is dereferenced before being passed to the SystemBase ctor.
- Invariant
LogSystem can never be null. The LogSystem is owned by the SystemsManager and persists for it’s lifetime. It is passed to each system (which derive from SystemBase) by reference to their ctor. This ref is dereferenced before being passed to the SystemBase ctor.
Subclassed by csp::systems::AnalyticsSystem, csp::systems::AnchorSystem, csp::systems::ApplicationSettingsSystem, csp::systems::AssetSystem, csp::systems::ECommerceSystem, csp::systems::EventTicketingSystem, csp::systems::ExternalServiceProxySystem, csp::systems::GraphQLSystem, csp::systems::HotspotSequenceSystem, csp::systems::MaintenanceSystem, csp::systems::MultiplayerSystem, csp::systems::PointOfInterestSystem, csp::systems::QuotaSystem, csp::systems::SequenceSystem, csp::systems::SettingsSystem, csp::systems::SpaceSystem, csp::systems::UserSystem
Public Functions
-
virtual ~SystemBase()
Destructor of the SystemBase base class.
-
virtual void RegisterSystemCallback()
Registers the system to listen for the default event.
Protected Functions
-
SystemBase(csp::web::WebClient *InWebClient, csp::multiplayer::NetworkEventBus *EventBus, csp::common::LogSystem *LogSystem)
-
SystemBase(csp::multiplayer::NetworkEventBus *EventBus, csp::common::LogSystem *LogSystem)
Protected Attributes
-
csp::web::WebClient *WebClient
-
csp::multiplayer::NetworkEventBus *EventBusPtr
Friends
- friend class csp::multiplayer::MultiplayerConnection