NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration Class Referenceabstract

Base class for graph configurations. More...

Inheritance diagram for Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration:
Collaboration diagram for Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration:

Public Member Functions

abstract string GetAltName (GraphSetConfiguration owner, string postfix)
 
string GetAltName (GraphSetConfiguration owner)
 
abstract Uri GetLink (GraphSetConfiguration owner, string postfix)
 
Uri GetLink (GraphSetConfiguration owner)
 
abstract string GetTitle (NamedObject namedObject)
 

Public Attributes

string GraphName => ConfigName
 Gets the name of this graph. More...
 
IEnumerable< StreamDestinationLocations => Destinations.Destinations
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
override string FilePath => Server.FilePath
 Gets the file path in the HostSubConfiguration. More...
 
int HostId => Server.HostId
 Gets the host identifier in the HostSubConfiguration. More...
 
string ServerName => Server.ServerName
 Gets the name of the server in the HostSubConfiguration. More...
 
ServerType ServerType => Server.ServerType
 Gets the type of the server in the HostSubConfiguration. More...
 
Uri WebPath => Server.WebPath
 Gets the web path in the HostSubConfiguration. More...
 
- Public Attributes inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual string FilePath => Parent.FilePath + SubPath
 
virtual string SubPath => string.Empty
 

Protected Member Functions

 GraphBaseConfiguration (string name)
 
- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
 HostSubConfiguration (string name)
 
- Protected Member Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
 ConfigurationNode (string name)
 

Protected Attributes

WebLinkCollection Links => new WebLinkCollection(null, new List<WebLink> {new WebLink(Destinations.First().Link)})
 
- Protected Attributes inherited from Ntp.Analyzer.Config.Node.HostSubConfiguration
HostConfiguration Server => Parent as HostConfiguration
 

Properties

abstract WebLinkCollection ConfigLinks [get]
 
abstract DestinationCollection Destinations [get]
 
abstract ImageFormat Format [get]
 Gets the format to use for destinations. More...
 
abstract DateTimeKind GraphTime [get]
 
abstract int Height [get]
 Gets the height in pixels of generated graph. More...
 
abstract int Timespan [get]
 Gets the timespan for this graph. More...
 
abstract string Title [get]
 Gets the title of this graph. More...
 
abstract int Width [get]
 Gets the width in pixels of generated graph. More...
 
- Properties inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
string ConfigName [get]
 
ConfigurationNode Parent [get, set]
 
- Properties inherited from Ntp.Analyzer.Interface.IConfigurationNode
string ConfigName [get]
 
- Properties inherited from Ntp.Analyzer.Interface.IGraphBaseConfiguration
ImageFormat Format [get]
 
DateTimeKind GraphTime [get]
 
int Height [get]
 
IEnumerable< StreamDestinationLocations [get]
 
int Timespan [get]
 
string Title [get]
 
int Width [get]
 

Additional Inherited Members

- Package Functions inherited from Ntp.Analyzer.Config.Node.ConfigurationNode
virtual void Assemble ()
 

Detailed Description

Base class for graph configurations.

Definition at line 36 of file GraphBaseConfiguration.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GraphBaseConfiguration ( string  name)
inlineprotected

Definition at line 38 of file GraphBaseConfiguration.cs.

39  : base(name)
40  {
41  }

Member Function Documentation

string Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GetAltName ( GraphSetConfiguration  owner)
inline

Definition at line 92 of file GraphBaseConfiguration.cs.

93  {
94  return GetAltName(owner, null);
95  }
abstract string GetAltName(GraphSetConfiguration owner, string postfix)
abstract Uri Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GetLink ( GraphSetConfiguration  owner,
string  postfix 
)
pure virtual
Uri Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GetLink ( GraphSetConfiguration  owner)
inline

Definition at line 99 of file GraphBaseConfiguration.cs.

100  {
101  return GetLink(owner, null);
102  }
abstract Uri GetLink(GraphSetConfiguration owner, string postfix)
abstract string Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GetTitle ( NamedObject  namedObject)
pure virtual

Member Data Documentation

string Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GraphName => ConfigName

Gets the name of this graph.

The name.

Definition at line 47 of file GraphBaseConfiguration.cs.

WebLinkCollection Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Links => new WebLinkCollection(null, new List<WebLink> {new WebLink(Destinations.First().Link)})
protected

Definition at line 54 of file GraphBaseConfiguration.cs.

IEnumerable<StreamDestination> Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Locations => Destinations.Destinations

Definition at line 88 of file GraphBaseConfiguration.cs.

Property Documentation

abstract WebLinkCollection Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.ConfigLinks
get

Definition at line 51 of file GraphBaseConfiguration.cs.

abstract DestinationCollection Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Destinations
get

Definition at line 49 of file GraphBaseConfiguration.cs.

abstract ImageFormat Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Format
get

Gets the format to use for destinations.

The format.

Definition at line 84 of file GraphBaseConfiguration.cs.

abstract DateTimeKind Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.GraphTime
get

Definition at line 86 of file GraphBaseConfiguration.cs.

abstract int Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Height
get

Gets the height in pixels of generated graph.

The height.

Definition at line 78 of file GraphBaseConfiguration.cs.

abstract int Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Timespan
get

Gets the timespan for this graph.

The timespan.

Definition at line 66 of file GraphBaseConfiguration.cs.

abstract string Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Title
get

Gets the title of this graph.

The title.

Definition at line 60 of file GraphBaseConfiguration.cs.

abstract int Ntp.Analyzer.Config.Node.Graph.GraphBaseConfiguration.Width
get

Gets the width in pixels of generated graph.

The width.

Definition at line 72 of file GraphBaseConfiguration.cs.


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