OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
DOTGraphOutput Class Reference
Inheritance diagram for DOTGraphOutput:
GraphOutputInterface

Public Member Functions

 DOTGraphOutput (std::ostream &stream)
 
virtual ~DOTGraphOutput ()
 
virtual NodeInterfaceaddNode (std::string const &label, std::string const &fullPath, std::string const &type)
 
virtual NodeInterfacegetNode (std::string const &fullPath)
 
virtual void addEdge (NodeInterface &tail, NodeInterface &head, std::string const &type, std::string const &data=std::string())
 
void addEdge (DOTNode &tail, DOTNode &head, std::string const &attributes=std::string())
 
virtual void enableTreeOrganization ()
 Sets a flag indicating that we should try to organize nodes in the path tree structure.
 

Additional Inherited Members

- Static Public Member Functions inherited from GraphOutputInterface
static osvr::unique_ptr
< GraphOutputInterface
createGraphOutputInterface (std::ostream &os, std::string const &type)
 Factory method.
 

Detailed Description

Definition at line 50 of file DOTGraphOutput.h.

Constructor & Destructor Documentation

DOTGraphOutput::~DOTGraphOutput ( )
virtual

Output only the referenced nodes

Specify the nodes that should be on the same "rank" for the tree structure.

This node wasn't referenced.

Definition at line 47 of file DOTGraphOutput.cpp.

Member Function Documentation

void DOTGraphOutput::addEdge ( NodeInterface tail,
NodeInterface head,
std::string const &  type,
std::string const &  data = std::string() 
)
virtual
Todo:
not including

transform because we'd have to escape characters.

Implements GraphOutputInterface.

Definition at line 108 of file DOTGraphOutput.cpp.


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