Class SystemBase
Defined in File SystemBase.h
Inheritance Relationships
Derived Types
public csp::multiplayer::ConversationSystem
(Class ConversationSystem)public csp::systems::AnchorSystem
(Class AnchorSystem)public csp::systems::AssetSystem
(Class AssetSystem)public csp::systems::ECommerceSystem
(Class ECommerceSystem)public csp::systems::EventTicketingSystem
(Class EventTicketingSystem)public csp::systems::GraphQLSystem
(Class GraphQLSystem)public csp::systems::HotspotSequenceSystem
(Class HotspotSequenceSystem)public csp::systems::MaintenanceSystem
(Class MaintenanceSystem)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 EventBus instance in the constructor of each System.
Subclassed by csp::multiplayer::ConversationSystem, csp::systems::AnchorSystem, csp::systems::AssetSystem, csp::systems::ECommerceSystem, csp::systems::EventTicketingSystem, csp::systems::GraphQLSystem, csp::systems::HotspotSequenceSystem, csp::systems::MaintenanceSystem, 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.
-
virtual void DeregisterSystemCallback()
Deregisters the system from listening for the default event.
-
virtual void OnEvent(const std::vector<signalr::value> &EventValues)
Deserialises the event values of the system.
- Parameters
EventValues – std::vector<signalr::value> : event values to deserialise
-
void SetSystemCallback(csp::multiplayer::EventBus::ParameterisedCallbackHandler Callback)
Sets a callback for a default event.
- Parameters
Callback – csp::multiplayer::EventBus::ParameterisedCallbackHandler: Callback to receive data for the system that has been changed.
Protected Functions
Friends
- friend class csp::multiplayer::MultiplayerConnection
-
virtual ~SystemBase()