Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
timelinerange.h
Go to the documentation of this file.
1 
18 #ifndef ION_PROFILE_TIMELINERANGE_H_
19 #define ION_PROFILE_TIMELINERANGE_H_
20 
21 #include <string>
22 
23 #include "base/integral_types.h"
25 #include "third_party/jsoncpp/include/json/value.h"
26 
28 class TimelineRange : public TimelineEvent {
29  public:
30  TimelineRange(const std::string& name, uint32 begin, uint32 duration,
31  const Json::Value& args)
32  : TimelineEvent(name, begin, duration, args) {}
33 
34  Type GetType() const override { return Type::kRange; }
35 };
36 
37 #endif // ION_PROFILE_TIMELINERANGE_H_
Copyright 2016 Google Inc.
Definition: timelinerange.h:28
Copyright 2016 Google Inc.
Definition: timelineevent.h:29
std::string name
Definition: printer.cc:324
Type GetType() const override
Definition: timelinerange.h:34
TimelineRange(const std::string &name, uint32 begin, uint32 duration, const Json::Value &args)
Definition: timelinerange.h:30