class InputTimeBaseNode

Overview

Time base input node which sends the system time related information into the graph as an unsigned long message. More…

#include <input_time.h>

class InputTimeBaseNode: public InputNode {
public:
    // construction

    InputTimeBaseNode(const std::string& id);
};

// direct descendants

class InputClockNode;
class InputIterationNode;

Inherited Members

public:
    // enums

    enum NodeType;

    // fields

    static const static std::map<NodeType, std::string> nodeTypeStr = {{ComputationalNode::Input, "Input"},                                                                                            {ComputationalNode::Output, "Output"},                                                                                            {ComputationalNode::Functional, "Functional"}};

    // methods

    const std::string& id() const;
    NodeType type() const;
    virtual std::string typeStr() const;
    void setVisited(bool visited);
    bool isVisited() const;
    void setDoCompute(bool doCompute);
    virtual bool doCompute() const;

    static std::pair<std::string, std::string> parseNodeAddress(
        const std::string& address,
        bool hasPort = true
    );

    void registerOutput(const std::string& id);
    OutputPort<DATA>* getSinglePort(const std::string& id);
    OutputPort<std::vector<const DATA*>>* getListPort(const std::string& id);
    InputNodePolicies::MsgPublishPolicy msgPublishPolicy();
    InputNodePolicies::MsgCachePolicy msgCachePolicy();
    void setMsgPublishPolicy(InputNodePolicies::MsgPublishPolicy msgPublishPolicy);
    void setMsgCachePolicy(InputNodePolicies::MsgCachePolicy msgCachePolicy);

Detailed Documentation

Time base input node which sends the system time related information into the graph as an unsigned long message.

Time information is updated externally either by an EventLoop or an FTILoop.