NodeInfo Class
(LogManager::NodeInfo)The NodeInfo class describes a logged node and is used to match node id, name and path. More...
| Header: | #include <NodeInfo> |
Public Variables
| NodeID | id |
| std::string | name |
| std::string | path |
| TagMap | tags |
| Utils::CDPValueType | type = Utils::eUNDEFINED |
Related Non-Members
| typedef | IDList |
| typedef | NameList |
| typedef | NodeID |
| typedef | NodeInfoList |
| IDList | ToIDList(const NodeInfoList &nodeInfoList) |
| NameList | ToNameList(const NodeInfoList &nodeInfoList) |
| TypeList | ToTypeList(const NodeInfoList &nodeInfoList) |
Detailed Description
The NodeInfo class describes a logged node and is used to match node id, name and path.
Member Variable Documentation
NodeID NodeInfo::id
This variable holds iD of the node. Will be unique over all logged nodes.
Matches the id in KeyframeData which is returned in query result.
std::string NodeInfo::name
This variable holds name of the node. Will be unique over all logged nodes.
std::string NodeInfo::path
This variable holds full path (or Routing) of the logged node. Can be changed during logging and is not guaranteed to be unique.
TagMap NodeInfo::tags
This variable holds a map of tags associated with the node. For example, the "Unit" or "Description" of the logged node.
For each tag both the value and the source of the information is stored.
Utils::CDPValueType NodeInfo::type = Utils::eUNDEFINED
This variable holds the value type of the logged node (e.g. Utils::eINT, Utils::eDOUBLE, Utils::eSTRING, etc.).
Note, the node value type can change during runtime, so even if this information is provided, it is still good to check the type of each Utils::Variant in the data when querying the log.
Related Non-Members
typedef LogManager::IDList
List of logged node IDs.
typedef LogManager::NameList
List of logged node names.
typedef LogManager::NodeID
Used to hold the id of the logged node.
typedef LogManager::NodeInfoList
List of logged nodes.
IDList LogManager::ToIDList(const NodeInfoList &nodeInfoList)
Extracts node IDs from NodeInfoList. Useful when using LogReader to query data.
NameList LogManager::ToNameList(const NodeInfoList &nodeInfoList)
Extracts node names from NodeInfoList. Useful when using LogReader to query data.
TypeList LogManager::ToTypeList(const NodeInfoList &nodeInfoList)
Extracts node types from NodeInfoList.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.