• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP2SQL
  • LogManager Namespace
  • 5.0.0

LogManager Namespace

Contains LogManager implementation classes. More...

Header: #include <LogManager>

Namespaces

namespace Exceptions

Classes

class ConnectionInfo
class Event
class EventQuery
class Keyframe
class KeyframeData
class LogManagerFactory
class LogReader
class NodeInfo
class TagInfo

Types

typedef EventData
typedef EventSenderTags
typedef IDList
typedef KeyframeList
typedef NameList
typedef NodeID
typedef NodeInfoList
typedef TagMap

Functions

IDList ToIDList(const NodeInfoList &nodeInfoList)
NameList ToNameList(const NodeInfoList &nodeInfoList)
bool operator!=(const Event &lhs, const Event &rhs)
bool operator!=(const EventQuery::Condition &lhs, const EventQuery::Condition &rhs)
bool operator!=(const EventQuery &lhs, const EventQuery &rhs)
bool operator!=(const Keyframe &lhs, const Keyframe &rhs)
bool operator!=(const KeyframeData &lhs, const KeyframeData &rhs)
bool operator!=(const NodeInfo &lhs, const NodeInfo &rhs)
bool operator!=(const TagInfo &lhs, const TagInfo &rhs)
std::ostream &operator<<(std::ostream &out, const Event &e)
std::ostream &operator<<(std::ostream &out, const EventQuery::MatchType &event)
std::ostream &operator<<(std::ostream &out, const EventQuery::Condition &condition)
std::ostream &operator<<(std::ostream &out, const EventQuery &queryData)
std::ostream &operator<<(std::ostream &out, const Keyframe &data)
std::ostream &operator<<(std::ostream &out, const KeyframeData &data)
std::ostream &operator<<(std::ostream &out, const NodeInfo &node)
std::ostream &operator<<(std::ostream &out, const TagInfo &node)
bool operator==(const Event &lhs, const Event &rhs)
bool operator==(const EventQuery::Condition &lhs, const EventQuery::Condition &rhs)
bool operator==(const EventQuery &lhs, const EventQuery &rhs)
bool operator==(const Keyframe &lhs, const Keyframe &rhs)
bool operator==(const KeyframeData &lhs, const KeyframeData &rhs)
bool operator==(const NodeInfo &lhs, const NodeInfo &rhs)
bool operator==(const TagInfo &lhs, const TagInfo &rhs)

Detailed Description

Contains LogManager implementation classes.

Namespaces

namespace LogManager::Exceptions

Contains exceptions LogManager classes may throw.

Classes

class ConnectionInfo

The ConnectionInfo contains parameters needed to establish a database connection. More...

class Event

The Event struct represents a single logged event. For example, CDPAlarm Set or CDPAlarm Clear. More...

class EventQuery

The EventQuery class contains the arguments for querying events from the database using LogReader. More...

class Keyframe

The Keyframe represents one row in the database or in the query result. More...

class KeyframeData

The KeyframeData represents a single logged value in some time period. More...

class LogManagerFactory

The LogManagerFactory creates readers and writers supporting CDPCompactDatastore format. More...

class LogReader

The LogReader interface is used to read data from a datastore. More...

class NodeInfo

The NodeInfo class describes a logged node and is used to match node id, name and path. More...

class TagInfo

The TagInfo class describes a tag associated with a logged node. More...

Type Documentation

typedef LogManager::EventData

Event data is a map of key-value pairs describing the event.

Unlike EventSenderTags, the event data will change during logging - it can be different for each event.

typedef LogManager::EventSenderTags

A map of event sender names to tags associated with the sender.

The event sender tags are static and will not change during logging.

typedef LogManager::IDList

List of logged node IDs.

typedef LogManager::KeyframeList

A list of Keyframe objects (rows). Can be thought of as a table.

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.

typedef LogManager::TagMap

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.

Function Documentation

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.

bool LogManager::operator!=(const Event &lhs, const Event &rhs)

Returns true if two events are not equal.

bool LogManager::operator!=(const EventQuery::Condition &lhs, const EventQuery::Condition &rhs)

Returns true if lhs and rhs are not equal.

bool LogManager::operator!=(const EventQuery &lhs, const EventQuery &rhs)

Returns true if lhs and rhs are not equal.

bool LogManager::operator!=(const Keyframe &lhs, const Keyframe &rhs)

Returns true if lhs and rhs are not equal.

bool LogManager::operator!=(const KeyframeData &lhs, const KeyframeData &rhs)

Returns true if lhs and rhs are not equal.

bool LogManager::operator!=(const NodeInfo &lhs, const NodeInfo &rhs)

Returns true if the two NodeInfo objects are not equal.

bool LogManager::operator!=(const TagInfo &lhs, const TagInfo &rhs)

Returns true if the two NodeInfo objects are not equal.

std::ostream &LogManager::operator<<(std::ostream &out, const Event &e)

Prints a string representation of the event to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const EventQuery::MatchType &event)

Prints a JSON string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const EventQuery::Condition &condition)

Prints a JSON string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const EventQuery &queryData)

Prints a JSON string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const Keyframe &data)

Prints a string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const KeyframeData &data)

Prints a JSON string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const NodeInfo &node)

Prints a JSON string representation to the output stream.

std::ostream &LogManager::operator<<(std::ostream &out, const TagInfo &node)

Prints a JSON string representation to the output stream.

bool LogManager::operator==(const Event &lhs, const Event &rhs)

Returns true if two events are equal.

bool LogManager::operator==(const EventQuery::Condition &lhs, const EventQuery::Condition &rhs)

Returns true if lhs and rhs are equal.

bool LogManager::operator==(const EventQuery &lhs, const EventQuery &rhs)

Returns true if lhs and rhs are equal.

bool LogManager::operator==(const Keyframe &lhs, const Keyframe &rhs)

Returns true if lhs and rhs are equal.

bool LogManager::operator==(const KeyframeData &lhs, const KeyframeData &rhs)

Returns true if lhs and rhs are equal.

bool LogManager::operator==(const NodeInfo &lhs, const NodeInfo &rhs)

Returns true if the two NodeInfo objects are equal.

bool LogManager::operator==(const TagInfo &lhs, const TagInfo &rhs)

Returns true if the two NodeInfo objects are equal.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top