15 #ifndef DETECTORGRAPH_INCLUDE_TOPICSTATE_HPP_ 16 #define DETECTORGRAPH_INCLUDE_TOPICSTATE_HPP_ 18 #if !defined(BUILD_FEATURE_DETECTORGRAPH_CONFIG_LITE) 57 #if !defined(BUILD_FEATURE_DETECTORGRAPH_CONFIG_LITE) 70 return typeid(*this).name();
90 virtual TopicStateIdType
GetId()
const 99 template<
class TTopic>
102 static const TTopic dummy = TTopic();
103 return dummy.GetId();
113 #endif // DETECTORGRAPH_INCLUDE_TOPICSTATE_HPP_
virtual TopicStateIdType GetId() const
Returns the TopicStateId for this TopicState - to be implemented.
const char * GetName() const
Get type name of itself.
static TopicStateIdType GetId()
Convenience templated static method to retrieve the ID for a Type when an instance is not available...
Base struct for topic data types.