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

In the stream node hierarchy, this class is used wherever we encounter a sparta::Report node, which includes all subreports. This class can turn a Report node into a flattened vector of SI's, which in turn feed their data into our contiguous vector of double values, connected via SnapshotLogger's. More...

#include <StreamNode.hpp>

Inheritance diagram for sparta::statistics::ReportStreamNode:
Collaboration diagram for sparta::statistics::ReportStreamNode:

Public Member Functions

 ReportStreamNode (const std::string &name, const Report *r)
 
 ReportStreamNode (const ReportStreamNode &)=delete
 
ReportStreamNodeoperator= (const ReportStreamNode &)=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::Report node, which includes all subreports. This class can turn a Report node into a flattened vector of SI's, which in turn feed their data into our contiguous vector of double values, connected via SnapshotLogger's.

Definition at line 329 of file StreamNode.hpp.

Constructor & Destructor Documentation

◆ ReportStreamNode()

sparta::statistics::ReportStreamNode::ReportStreamNode ( const std::string &  name,
const Report *  r 
)
inline

Definition at line 332 of file StreamNode.hpp.


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