Minsky
schema0::Wire Struct Reference

#include <schema0.h>

Collaboration diagram for schema0::Wire:
Collaboration graph

Public Member Functions

 Wire (int from=0, int to=0)
 

Public Attributes

int from
 ports this wire connects More...
 
int to
 
bool visible
 whether wire is visible on Canvas display coordinates More...
 
ecolab::array< float > coords
 

Detailed Description

Definition at line 48 of file schema0.h.

Constructor & Destructor Documentation

◆ Wire()

schema0::Wire::Wire ( int  from = 0,
int  to = 0 
)
inline

Definition at line 55 of file schema0.h.

55 : from(from), to(to), visible(true) {}
bool visible
whether wire is visible on Canvas display coordinates
Definition: schema0.h:52
int from
ports this wire connects
Definition: schema0.h:51

Member Data Documentation

◆ coords

ecolab::array<float> schema0::Wire::coords

Definition at line 54 of file schema0.h.

◆ from

int schema0::Wire::from

ports this wire connects

Definition at line 51 of file schema0.h.

◆ to

int schema0::Wire::to

Definition at line 51 of file schema0.h.

◆ visible

bool schema0::Wire::visible

whether wire is visible on Canvas display coordinates

Definition at line 52 of file schema0.h.


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