Ginan
Loading...
Searching...
No Matches
SerialStream Struct Reference
Inheritance diagram for SerialStream:
Collaboration diagram for SerialStream:

Public Member Functions

 SerialStream ()
 
 SerialStream (string path)
 
void openStream ()
 
virtual void getData ()
 
unique_ptr< std::istream > getIStream_ptr () override
 
virtual ~SerialStream ()
 
- Public Member Functions inherited from Stream
virtual bool isDead ()
 Check to see if this stream has run out of data.
 
virtual ~Stream ()=default
 

Data Fields

string path
 
int fileDescriptor = -1
 
vector< char > receivedData
 
- Data Fields inherited from Stream
string sourceString
 

Constructor & Destructor Documentation

◆ SerialStream() [1/2]

SerialStream::SerialStream ( )
inline

◆ SerialStream() [2/2]

SerialStream::SerialStream ( string path)
inline
Here is the call graph for this function:

◆ ~SerialStream()

virtual SerialStream::~SerialStream ( )
inlinevirtual

Member Function Documentation

◆ getData()

virtual void SerialStream::getData ( )
inlinevirtual

Reimplemented in TcpSocket.

Here is the caller graph for this function:

◆ getIStream_ptr()

unique_ptr< std::istream > SerialStream::getIStream_ptr ( )
inlineoverridevirtual

Implements Stream.

Here is the call graph for this function:

◆ openStream()

void SerialStream::openStream ( )
Here is the caller graph for this function:

Field Documentation

◆ fileDescriptor

int SerialStream::fileDescriptor = -1

◆ path

string SerialStream::path

◆ receivedData

vector<char> SerialStream::receivedData

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