PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
PlatformNetwork Class Reference

#include <PlatformNetwork.h>

Inheritance diagram for PlatformNetwork:
PNetwork PDevice PEBLObjectBase

Public Member Functions

 PlatformNetwork ()
 
virtual ~PlatformNetwork ()
 
- Public Member Functions inherited from PNetwork
 PNetwork ()
 The Standard constructor.

 
virtual ~PNetwork ()
 The Standard destructor.

 
virtual void SetHostIP (unsigned int host)
 
virtual unsigned int GetHost ()
 
virtual void SetHostName (std::string hostname)
 
virtual std::string GetHostName ()
 
virtual void SetPort (unsigned int port)
 
virtual unsigned int GetPort ()
 
virtual bool IsOpen ()
 
virtual Variant ConvertAddress (unsigned long int address)
 
virtual void SetOpen (bool open)
 
- Public Member Functions inherited from PDevice
 PDevice ()
 The Standard constructor.
 
virtual ~PDevice ()
 The Standard destructor.
 
virtual PEBL_DEVICE_TYPE GetDeviceType ()
 
virtual int GetState (int iface) const
 
- Public Member Functions inherited from PEBLObjectBase
 PEBLObjectBase ()
 Standard Constructor.
 
 PEBLObjectBase (ComplexDataType cdt)
 Standard Constructor.
 
 PEBLObjectBase (const PEBLObjectBase &pob)
 
virtual ~PEBLObjectBase ()
 Standard Destructor.
 
virtual bool InitializeProperty (std::string name, Variant v)
 
virtual bool SetProperty (std::string name, Variant v)
 
Variant GetProperty (std::string) const
 
virtual ObjectValidationError ValidateProperty (std::string, Variant v) const
 
virtual ObjectValidationError ValidateProperty (std::string) const
 
ComplexDataType GetType ()
 
virtual std::string ObjectName () const
 
virtual std::ostream & PrintProperties (std::ostream &out)
 
virtual Variant GetPropertyList ()
 

Protected Member Functions

virtual std::ostream & SendToStream (std::ostream &out) const
 

Additional Inherited Members

- Protected Attributes inherited from PNetwork
std::string mHostName
 
unsigned int mHost
 
unsigned int mPort
 
bool mIsOpen
 
- Protected Attributes inherited from PEBLObjectBase
ComplexDataType mCDT
 
std::map< std::string, VariantmProperties
 

Detailed Description

Definition at line 7 of file validator/PlatformNetwork.h.

Constructor & Destructor Documentation

◆ PlatformNetwork()

PlatformNetwork::PlatformNetwork ( )

Definition at line 4 of file validator/PlatformNetwork.cpp.

4{}

◆ ~PlatformNetwork()

PlatformNetwork::~PlatformNetwork ( )
virtual

Definition at line 5 of file validator/PlatformNetwork.cpp.

5{}

Member Function Documentation

◆ SendToStream()

std::ostream & PlatformNetwork::SendToStream ( std::ostream &  out) const
protectedvirtual

Reimplemented from PNetwork.

Definition at line 7 of file validator/PlatformNetwork.cpp.

7 {
8 out << "PlatformNetwork (validator)";
9 return out;
10}

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