Open Lighting Architecture  0.9.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
ola::Device Class Reference
Inheritance diagram for ola::Device:
ola::AbstractDevice ola::plugin::artnet::ArtNetDevice ola::plugin::dmx4linux::Dmx4LinuxDevice ola::plugin::dummy::DummyDevice ola::plugin::e131::E131Device ola::plugin::espnet::EspNetDevice ola::plugin::ftdidmx::FtdiDmxDevice ola::plugin::karate::KarateDevice ola::plugin::kinet::KiNetDevice ola::plugin::milinst::MilInstDevice ola::plugin::opendmx::OpenDmxDevice ola::plugin::osc::OSCDevice ola::plugin::pathport::PathportDevice ola::plugin::renard::RenardDevice ola::plugin::sandnet::SandNetDevice ola::plugin::shownet::ShowNetDevice ola::plugin::spi::SPIDevice ola::plugin::stageprofi::StageProfiDevice ola::plugin::uartdmx::UartDmxDevice ola::plugin::usbdmx::UsbDevice ola::plugin::usbpro::UsbSerialDevice

Public Member Functions

 Device (AbstractPlugin *owner, const std::string &name)
const std::string Name () const
void SetName (const std::string &name)
AbstractPluginOwner () const
std::string UniqueId () const
virtual std::string DeviceId () const =0
 The device ID.
bool IsEnabled () const
bool Start ()
bool Stop ()
bool AllowLooping () const
bool AllowMultiPortPatching () const
bool AddPort (InputPort *port)
bool AddPort (OutputPort *port)
void InputPorts (std::vector< InputPort * > *ports) const
void OutputPorts (std::vector< OutputPort * > *ports) const
InputPortGetInputPort (unsigned int port_id) const
OutputPortGetOutputPort (unsigned int port_id) const
void DeleteAllPorts ()
virtual void Configure (ola::rpc::RpcController *controller, const std::string &request, std::string *response, ConfigureCallback *done)

Protected Member Functions

virtual bool StartHook ()
 Called during Start().
virtual void PrePortStop ()
virtual void PostPortStop ()

Additional Inherited Members

- Public Types inherited from ola::AbstractDevice
typedef BaseCallback0< void > ConfigureCallback

Member Function Documentation

virtual std::string ola::Device::DeviceId ( ) const
pure virtual
virtual bool ola::Device::StartHook ( )
inlineprotectedvirtual

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