nx_metadata_sdk 1.0 Metadata SDK

vehicles.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include "abstract_object.h"
6
7 namespace nx {
8 namespace vms_server_plugins {
9 namespace analytics {
10 namespace stub {
11
12 const std::string kCarObjectType = "nx.stub.car";
13 const std::string kTruckObjectType = "nx.stub.truck";
14
15 class Vehicle: public AbstractObject
16 {
17 using base_type = AbstractObject;
18 public:
19 Vehicle(const std::string& typeId, Attributes attributes);
20 virtual void update() override;
21 };
22
23 class Car: public Vehicle
24 {
25 public:
26 Car();
27 };
28
29 class Truck: public Vehicle
30 {
31 public:
32 Truck();
33 };
34
35 } // namespace stub
36 } // namespace analytics
37 } // namespace vms_server_plugins
38 } // namespace nx
nx::vms_server_plugins::analytics::stub::AbstractObject
Definition: abstract_object.h:22
nx::vms_server_plugins::analytics::stub::Car
Definition: vehicles.h:23
nx
Definition: apple_utils.h:6
nx::vms_server_plugins::analytics::stub::Vehicle
Definition: vehicles.h:15
nx::vms_server_plugins::analytics::stub::Truck
Definition: vehicles.h:29