The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::statistics::StatisticInstStreamNode Class Reference

In the stream node hierarchy, this class is used wherever we encounter a sparta::StatisticInstance leaf node. We make a data vector of size 1, just for our single SI, and connect them together via a SnapshotLogger. More...

#include <StreamNode.hpp>

Inheritance diagram for sparta::statistics::StatisticInstStreamNode:
Collaboration diagram for sparta::statistics::StatisticInstStreamNode:

Public Member Functions

 StatisticInstStreamNode (const std::string &name, const StatisticInstance *si)
 
 StatisticInstStreamNode (const StatisticInstStreamNode &)=delete
 
StatisticInstStreamNodeoperator= (const StatisticInstStreamNode &)=delete
 
- Public Member Functions inherited from sparta::statistics::StreamNode
 StreamNode (const StreamNode &)=delete
 
StreamNodeoperator= (const StreamNode &)=delete
 
const std::string & getName () const
 StreamNode name - similar to a TreeNode's name.
 
const std::string & getFullPath ()
 
std::vector< std::shared_ptr< StreamNode > > & getChildren ()
 Direct descendants of this node, if any.
 
const std::vector< std::shared_ptr< StreamNode > > & getChildren () const
 Direct descendants of this node, if any.
 
void setParent (StreamNode *parent)
 
StreamNodegetRoot ()
 
void initialize ()
 Streaming interface.
 
bool notifyListenersOfStreamUpdate ()
 
void pushStreamUpdateToListeners ()
 
void getBufferedStreamData (std::queue< std::vector< double > > &data_queue)
 
void setStreamController (const std::shared_ptr< StreamController > &controller)
 

Additional Inherited Members

- Protected Member Functions inherited from sparta::statistics::StreamNode
 StreamNode (const std::string &name)
 

Detailed Description

In the stream node hierarchy, this class is used wherever we encounter a sparta::StatisticInstance leaf node. We make a data vector of size 1, just for our single SI, and connect them together via a SnapshotLogger.

Definition at line 367 of file StreamNode.hpp.

Constructor & Destructor Documentation

◆ StatisticInstStreamNode()

sparta::statistics::StatisticInstStreamNode::StatisticInstStreamNode ( const std::string &  name,
const StatisticInstance si 
)
inline

Definition at line 370 of file StreamNode.hpp.


The documentation for this class was generated from the following file: